[PATCH] D89392: [GlobalISel] Fold unary opcodes in CSEMIRBuilder
Dominik Montada via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 14 07:53:19 PDT 2020
gargaroff added a comment.
In D89392#2330160 <https://reviews.llvm.org/D89392#2330160>, @foad wrote:
> In D89392#2330153 <https://reviews.llvm.org/D89392#2330153>, @gargaroff wrote:
>
>> Is there anything I need to do to use the CSEMIRBuilder?
>
> I think it's enabled by default for some passes, unless you override TargetPassConfig::isGISelCSEEnabled to return false, and enabled in the combiner only if you pass some CSEInfo into combineMachineInstrs, which no in-tree targets do.
Understood, thanks. I'll try to test this tomorrow and will report back.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D89392/new/
https://reviews.llvm.org/D89392
More information about the llvm-commits
mailing list