https://llvm.org/bugs/show_bug.cgi?id=30428
Matti Niemenmaa <matti.niemenmaa+llvmb...@iki.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #6 from Matti Niemenmaa <matti.niemenmaa+llvmb...@iki.fi> --- Turns out this was already dealt with as part of Bug 28620, which has a fix in trunk that currently requires explicit activation due to it causing other regressions: opt -cvp-dont-process-adds=false -correlated-propagation infers the nsw/nuw flags nicely. But only for adds — it doesn't do anything for sub instructions. Currently this doesn't matter, since that would anyway be undone by the fact that 'sub nuw Y, 1' is canonicalized into 'add Y, -1', but dealing with that seems like a separate issue so I'm marking this as a duplicate. *** This bug has been marked as a duplicate of bug 28620 *** -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs