[PATCH] D136476: llvm-reduce: Add flag reduction pass

John Regehr via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 21 11:27:11 PDT 2022


regehr accepted this revision.
regehr added a comment.
This revision is now accepted and ready to land.

LGTM.

there's a simple test that we can apply to determine whether we add or remove any given flag: 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.


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

https://reviews.llvm.org/D136476



More information about the llvm-commits mailing list