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 dfa5dfe commit 6546c09Copy full SHA for 6546c09
llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
@@ -1706,7 +1706,8 @@ void SPIRVEmitIntrinsics::replacePointerOperandWithPtrCast(
1706
return;
1707
} else if (isTodoType(Pointer)) {
1708
eraseTodoType(Pointer);
1709
- if (!isa<CallInst>(Pointer) && !isa<GetElementPtrInst>(Pointer) && !isa<AllocaInst>(Pointer)) {
+ if (!isa<CallInst>(Pointer) && !isa<GetElementPtrInst>(Pointer) &&
1710
+ !isa<AllocaInst>(Pointer)) {
1711
// If this wouldn't be the first spv_ptrcast but existing type info is
1712
// uncomplete, update spv_assign_ptr_type arguments.
1713
if (CallInst *AssignCI = GR->findAssignPtrTypeInstr(Pointer)) {
0 commit comments