[PATCH] D46203: [InstCombine] Widen guards with conditions between

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 2 19:19:19 PDT 2018


mkazantsev added inline comments.


================
Comment at: lib/Transforms/InstCombine/InstCombineCalls.cpp:3651
+        MoveI = MoveI->getNextNode();
+        Temp->moveBefore(II);
+      }
----------------
We should assert that Temp is guaranteed to transfer execution to its successor, otherwise it might be illegal.


Repository:
  rL LLVM

https://reviews.llvm.org/D46203





More information about the llvm-commits mailing list