[PATCH] D69809: Wrong debug info generated at -O2 (-O0 is correct)

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 4 10:00:30 PST 2019


lebedev.ri added inline comments.


================
Comment at: llvm/lib/Transforms/InstCombine/InstructionCombining.cpp:3225
+
       eraseInstFromFunction(*I);
       ++NumDeadInst;
----------------
What about other users of `eraseInstFromFunction()`?
Should this go into that function?


Repository:
  rL LLVM

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

https://reviews.llvm.org/D69809





More information about the llvm-commits mailing list