[PATCH] D142803: [LogicCombine 1/?] Implement a general way to simplify logical operations.

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 27 11:15:59 PST 2023


aeubanks added a comment.

In D142803#4156050 <https://reviews.llvm.org/D142803#4156050>, @xbolva00 wrote:

> In D142803#4156027 <https://reviews.llvm.org/D142803#4156027>, @aeubanks wrote:
>
>> with this patch, would it possible to remove some similar optimizations from instcombine, those being subsumed by this?
>
> AggressiveInstCombine runs only with -O3, no?
>
> Removing instcombine folds would regress performance with lower levels. This leads me to the question how ofter this fires in llvm test suite / SPEC / clang bootstrap? Is it worth it?

Ah yes you're right. Might be worth considering running it under -O2 as well?


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

https://reviews.llvm.org/D142803



More information about the llvm-commits mailing list