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

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 2 01:28:12 PDT 2021


mkazantsev added inline comments.


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


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