[PATCH] D106041: [SimpleLoopUnswitch] Re-fix introduction of UB when hoisted condition may be undef or poison

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 6 06:27:20 PDT 2021


xbolva00 added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp:2249
 
+      if (InsertFreeze) {
+        auto Cond = SI->getCondition();
----------------
Consider new helper function


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106041



More information about the llvm-commits mailing list