[PATCH] D112734: [SCEVExpander] Drop poison generating flags when reusing instructions

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 4 09:38:01 PDT 2021


reames added inline comments.


================
Comment at: llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp:1947
+          !programUndefinedIfPoison(I))
+        I->dropPoisonGeneratingFlags();
+
----------------
mkazantsev wrote:
> Will we drop flags if both copies had them?
What do you mean by "both copies"?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D112734



More information about the llvm-commits mailing list