Skip to content

Commit b36d9cb

Browse files
committed
Add support for OpenCLLIB::Ldexp in reverse translation.
1 parent b080c0e commit b36d9cb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/SPIRV/SPIRVReader.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5655,7 +5655,9 @@ Instruction *SPIRVToLLVM::transLLVMFromExtInst(SPIRVExtInst *BC, Type *RetTy,
56555655
break;
56565656
// Hypot = 32,
56575657
// Ilogb = 33,
5658-
// Ldexp = 34,
5658+
case OpenCLLIB::Ldexp:
5659+
ID = Intrinsic::ldexp;
5660+
break;
56595661
// Lgamma = 35,
56605662
// Lgamma_r = 36,
56615663
case OpenCLLIB::Log:

0 commit comments

Comments
 (0)