[PATCH] D68426: [gicombiner] Hoist pure C++ combine into the tablegen definition

Daniel Sanders via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 3 14:44:25 PDT 2019


dsanders created this revision.
dsanders added reviewers: bogner, volkan.
Herald added subscribers: Petar.Avramovic, hiraditya, kristof.beyls.
Herald added a project: LLVM.

This is just moving the existing C++ code around and will be NFC w.r.t
AArch64. Renamed 'CombineBr' to something more descriptive
('ElideByByInvertingCond') at the same time.

The remaining combines in AArch64PreLegalizeCombiner require features that
aren't implemented at this point and will be hoisted as they are added.

Depends on D68424 <https://reviews.llvm.org/D68424>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D68426

Files:
  llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
  llvm/include/llvm/TableGen/Error.h
  llvm/include/llvm/Target/GlobalISel/Combine.td
  llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
  llvm/lib/TableGen/Error.cpp
  llvm/lib/Target/AArch64/AArch64Combine.td
  llvm/lib/Target/AArch64/AArch64PreLegalizerCombiner.cpp
  llvm/utils/TableGen/GICombinerEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68426.223099.patch
Type: text/x-patch
Size: 20335 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191003/e79b418f/attachment.bin>


More information about the llvm-commits mailing list