[PATCH] D61680: [X86] Avoid SFB - Fix inconsistent codegen with/without debug info

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 8 09:41:24 PDT 2019


aprantl added inline comments.


================
Comment at: llvm/lib/Target/X86/X86AvoidStoreForwardingBlocks.cpp:410
+  auto PrevInstrIt = skipDebugInstructionsBackward(
+      --MachineBasicBlock::instr_iterator(StoreInst), MBB->instr_begin());
+  if (PrevInstrIt.getNodePtr() == LoadInst)
----------------
std::prev ?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61680/new/

https://reviews.llvm.org/D61680





More information about the llvm-commits mailing list