[PATCH] D29015: [SimpleLoopUnswitch] Fix introduction of UB when hoisted condition may be undef or poison

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 25 22:16:36 PST 2020


jdoerfert added a comment.

Thx for the patch!



================
Comment at: llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp:186
+                                                  BasicBlock &NormalSucc,
+                                                  bool insertFreeze) {
   IRBuilder<> IRB(&BB);
----------------
Nit: `InsertFreze`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D29015





More information about the llvm-commits mailing list