Skip to content

Commit 89b1ea8

Browse files
committed
Add support for reverse-translating OpenCLLIB::Ldexp.
1 parent 72e1663 commit 89b1ea8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/SPIRV/SPIRVReader.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5655,6 +5655,9 @@ Instruction *SPIRVToLLVM::transLLVMFromExtInst(SPIRVExtInst *BC, Type *RetTy,
56555655
break;
56565656
// Hypot = 32,
56575657
// Ilogb = 33,
5658+
case OpenCLLIB::Ldexp:
5659+
ID = Intrinsic::ldexp;
5660+
break;
56585661
// Ldexp = 34,
56595662
// Lgamma = 35,
56605663
// Lgamma_r = 36,

0 commit comments

Comments
 (0)