[PATCH] D33758: [globalisel][tablegen] Partially fix compile-time regressions by converting matcher to state-machine(s)

Daniel Sanders via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 29 07:55:26 PDT 2017


dsanders updated this revision to Diff 104652.
dsanders marked 9 inline comments as done.
dsanders added a comment.

Merged GIM_RecordInsn, GIM_PushInsnOpDef, GIM_PopInsn to a single kind of node: GIM_RecordInsn
Bundled the matcher state into one object. AvailableFeatures isn't part of this because it doesn't quite fit.
Bundled the helper tables into one object.

Fixed several nits.

TODO: Rebase to ToT.


https://reviews.llvm.org/D33758

Files:
  include/llvm/CodeGen/GlobalISel/InstructionSelector.h
  include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h
  include/llvm/CodeGen/GlobalISel/Utils.h
  lib/CodeGen/GlobalISel/InstructionSelector.cpp
  lib/CodeGen/GlobalISel/Utils.cpp
  lib/Target/AArch64/AArch64InstrInfo.td
  lib/Target/AArch64/AArch64InstructionSelector.cpp
  lib/Target/ARM/ARMInstructionSelector.cpp
  lib/Target/X86/X86InstructionSelector.cpp
  test/CodeGen/AArch64/GlobalISel/select-bitcast.mir
  test/CodeGen/AArch64/GlobalISel/select-trunc.mir
  test/TableGen/GlobalISelEmitter.td
  utils/TableGen/CodeGenRegisters.cpp
  utils/TableGen/CodeGenRegisters.h
  utils/TableGen/GlobalISelEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33758.104652.patch
Type: text/x-patch
Size: 121222 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170629/027ac0ca/attachment-0001.bin>


More information about the llvm-commits mailing list