[PATCH] D111846: [LV] Drop NUW/NSW flags from scalarized instructions that need predication

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 18 04:23:04 PDT 2021


lebedev.ri added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:3072
+  if (Replicate && !Replicate->isPredicated() && !State.Instance &&
+      State.VF.isVector() && isa<OverflowingBinaryOperator>(Cloned) &&
+      Legal->blockNeedsPredication(Instr->getParent())) {
----------------
What about `exact` on division?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D111846



More information about the llvm-commits mailing list