We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 820970c commit 0740653Copy full SHA for 0740653
llvm/lib/SYCLLowerIR/ESIMD/LowerESIMD.cpp
@@ -1577,7 +1577,7 @@ static void translateESIMDIntrinsicCall(CallInst &CI) {
1577
NewInst = Builder.CreateStore(
1578
NewCI,
1579
Builder.CreateBitCast(CastInstruction->getPointerOperand(),
1580
- llvm::PointerType::getUnqual(CI.getContext())));
+ llvm::PointerType::getUnqual(NewCI->getContext())));
1581
} else {
1582
NewInst = addCastInstIfNeeded(&CI, NewCI);
1583
}
0 commit comments