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 c73367e commit fdfad43Copy full SHA for fdfad43
IGC/VectorCompiler/lib/GenXCodeGen/GenXPromoteArray.cpp
@@ -507,7 +507,10 @@ static bool CheckAllocaUsesInternal(Instruction *I) {
507
// Not a candidate.
508
return false;
509
} else if (PtrToIntInst *PTI = dyn_cast<PtrToIntInst>(*use_it)) {
510
- return CheckPtrToIntCandidate(PTI);
+ if (CheckPtrToIntCandidate(PTI))
511
+ continue;
512
+ // Not a candidate.
513
+ return false;
514
} else if (IntrinsicInst *intr = dyn_cast<IntrinsicInst>(*use_it)) {
515
auto IID = GenXIntrinsic::getAnyIntrinsicID(intr);
516
if (IID == llvm::Intrinsic::lifetime_start ||
0 commit comments