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