[PATCH] D68286: [gicombiner] Add the boring boilerplate for the declarative combiner

Daniel Sanders via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 1 11:42:58 PDT 2019


dsanders created this revision.
dsanders added a reviewer: volkan.
Herald added subscribers: s.egerton, Petar.Avramovic, simoncook, hiraditya, mgorny.
Herald added a project: LLVM.

This is the first of a series of patches extracted from a much bigger WIP
patch. It merely establishes the tblgen pass and the way empty combiner
helpers are declared and integrated into a combiner info.

The tablegen pass takes a -combiners option to select the combiner helper
that will be generated. This can be given multiple values to generate
multiple combiner helpers at once. Doing so helps to minimize parsing
overhead.

The reason for creating a GlobalISel subdirectory in utils/TableGen is that
there will be quite a lot of non-pass files (~15) by the time the patch
series is done.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D68286

Files:
  llvm/include/llvm/Target/GlobalISel/Combine.td
  llvm/lib/Target/AArch64/AArch64.td
  llvm/lib/Target/AArch64/AArch64Combine.td
  llvm/lib/Target/AArch64/AArch64PreLegalizerCombiner.cpp
  llvm/lib/Target/AArch64/CMakeLists.txt
  llvm/utils/TableGen/CMakeLists.txt
  llvm/utils/TableGen/GlobalISel/CMakeLists.txt
  llvm/utils/TableGen/GlobalISel/GICombinerEmitter.cpp
  llvm/utils/TableGen/TableGen.cpp
  llvm/utils/TableGen/TableGenBackends.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68286.222663.patch
Type: text/x-patch
Size: 18442 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191001/16d879c7/attachment.bin>


More information about the llvm-commits mailing list