[PATCH] D47407: [LoopInstSimplify] Re-implement the core logic of loop-instsimplify to be both simpler and substantially more efficient.

Alina Sbirlea via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 29 13:10:26 PDT 2018


asbirlea added inline comments.


================
Comment at: llvm/lib/Transforms/Utils/Local.cpp:448
+    assert(I.use_empty() && "Instructions with uses are not dead.");
+
+    // Don't lose the debug info while deleting the instructions.
----------------
assert for isInstructionTriviallyDead too?


Repository:
  rL LLVM

https://reviews.llvm.org/D47407





More information about the llvm-commits mailing list