[PATCH] D136476: llvm-reduce: Add flag reduction pass
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 21 11:36:13 PDT 2022
arsenm added a comment.
In D136476#3875461 <https://reviews.llvm.org/D136476#3875461>, @regehr wrote:
> LGTM.
>
> we should do whatever reduces the amount of undefined behavior. so, for example, nsw is one that we definitely to eliminate because this makes code more defined and hence (in general) easier to understand.
My idea of simpler to understand is codegens to fewer instructions. Things that introduce undefined behavior are more likely to enable optimizations and different lowerings that reduce instructions emitted
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136476/new/
https://reviews.llvm.org/D136476
More information about the llvm-commits
mailing list