[PATCH] D102038: [AArch64][GlobalISel] Create a new minimal combiner pass just for -O0.

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 7 11:33:21 PDT 2021


aemerson updated this revision to Diff 343726.
aemerson added a comment.

Remove CSE from the combiner, this saves an additional 10% of the runtime in the pass, with no effect on code size.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102038

Files:
  llvm/include/llvm/Target/GlobalISel/Combine.td
  llvm/lib/Target/AArch64/AArch64.h
  llvm/lib/Target/AArch64/AArch64Combine.td
  llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
  llvm/lib/Target/AArch64/CMakeLists.txt
  llvm/lib/Target/AArch64/GISel/AArch64O0PreLegalizerCombiner.cpp
  llvm/lib/Target/AArch64/GISel/AArch64PreLegalizerCombiner.cpp
  llvm/test/CodeGen/AArch64/GlobalISel/gisel-commandline-option.ll
  llvm/test/CodeGen/AArch64/O0-pipeline.ll
  llvm/test/CodeGen/AArch64/combine-loads.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102038.343726.patch
Type: text/x-patch
Size: 17203 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210507/d689110e/attachment.bin>


More information about the llvm-commits mailing list