[PATCH] D89392: [GlobalISel] Fold unary opcodes in CSEMIRBuilder

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 14 07:51:18 PDT 2020


foad added a comment.

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.


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