[PATCH] D26169: [Reassociate] Skip reassociation for IV if its def instruction contains NSW/NUW flags to enable better IndVar and LSR

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 8 20:07:10 PST 2016


mehdi_amini added a comment.

What about having two modes for reassociate: one where we don't do any transformation that drop nsw/nuw flag, and another where it is permitted. Depending on the position in the pipeline we allow or not to drop the flags.


Repository:
  rL LLVM

https://reviews.llvm.org/D26169





More information about the llvm-commits mailing list