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 e7ad07f commit 9603433Copy full SHA for 9603433
llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
@@ -3661,8 +3661,7 @@ Instruction *InstCombinerImpl::visitUnconditionalBranchInst(BranchInst &BI) {
3661
3662
auto GetLastSinkableStore = [](BasicBlock::iterator BBI) {
3663
auto IsNoopInstrForStoreMerging = [](BasicBlock::iterator BBI) {
3664
- return BBI->isDebugOrPseudoInst() ||
3665
- (isa<BitCastInst>(BBI) && BBI->getType()->isPointerTy());
+ return BBI->isDebugOrPseudoInst();
3666
};
3667
3668
BasicBlock::iterator FirstInstr = BBI->getParent()->begin();
0 commit comments