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 02415d5 commit 8dd0a3dCopy full SHA for 8dd0a3d
llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
@@ -3491,7 +3491,8 @@ Instruction *InstCombinerImpl::visitAllocSite(Instruction &MI) {
3491
eraseInstFromFunction(*I);
3492
Users[i] = nullptr; // Skip examining in the next loop.
3493
continue;
3494
- } else if (auto *MTI = dyn_cast<MemTransferInst>(I)) {
+ }
3495
+ if (auto *MTI = dyn_cast<MemTransferInst>(I)) {
3496
if (KnowInitZero && isRefSet(*Removable)) {
3497
IRBuilderBase::InsertPointGuard Guard(Builder);
3498
Builder.SetInsertPoint(MTI);
0 commit comments