[PATCH] D132022: [SCEVExpander] Recompute poison-generating flags on hoisting. PR57187

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 12 02:35:12 PDT 2022


nikic accepted this revision.
nikic added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp:2024
+        // Because we may potentially introduce a new use of OrigIV that didn't
+        // exist before at this point, its posion flags need readjustment.
         const SCEV *TruncExpr =
----------------
posion -> poison


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

https://reviews.llvm.org/D132022



More information about the llvm-commits mailing list