[PATCH] D72037: TableGen/GlobalISel: Handle default operands that are used

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 31 10:02:57 PST 2019


arsenm created this revision.
arsenm added reviewers: dsanders, simon_tatham, paquette.
Herald added subscribers: Petar.Avramovic, dexonsmith, steven_wu, hiraditya, tpr, rovka, wdng, mehdi_amini.
Herald added a project: LLVM.

Copy the logic from the existing handling in the DAG matcher emittter.

      

This will enable some AMDGPU pattern cleanups without breaking
GlobalISel tests, and eventually handle importing more patterns.

      

The test is a bit annoying since the sections seem to randomly sort
themselves if anything else is added in the future.


https://reviews.llvm.org/D72037

Files:
  llvm/test/TableGen/DefaultOpsGlobalISel.td
  llvm/utils/TableGen/GlobalISelEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72037.235720.patch
Type: text/x-patch
Size: 10711 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191231/f01bec0a/attachment.bin>


More information about the llvm-commits mailing list