[PATCH] D117050: [GISel] Extend code emitter to emit #undef symbol
Kai Nacke via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 11 13:17:23 PST 2022
Kai created this revision.
Kai added reviewers: dsanders, fhahn, paquette, aemerson.
Herald added subscribers: foad, frasercrmck, kerbowa, luismarques, apazos, sameer.abuasal, pengfei, s.egerton, Jim, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, atanasyan, edward-jones, zzheng, jrtc27, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, kbarton, hiraditya, nhaehnle, jvesely, sdardis, arsenm.
Kai requested review of this revision.
Herald added subscribers: llvm-commits, MaskRay.
Herald added a project: LLVM.
Code snippets produced by TableGen are protected by a macro symbol.
Usually, this symbol is undefined on the top of the snippet.
The exception is the GlobalISel emitter.
This change adds the #undef to the emitter, and remove the #undefs from the targets.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D117050
Files:
llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
llvm/lib/Target/ARM/ARMInstructionSelector.cpp
llvm/lib/Target/M68k/GISel/M68kInstructionSelector.cpp
llvm/lib/Target/Mips/MipsInstructionSelector.cpp
llvm/lib/Target/PowerPC/GISel/PPCInstructionSelector.cpp
llvm/lib/Target/RISCV/RISCVInstructionSelector.cpp
llvm/lib/Target/X86/X86InstructionSelector.cpp
llvm/test/TableGen/GlobalISelEmitter.td
llvm/utils/TableGen/GlobalISelEmitter.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117050.399052.patch
Type: text/x-patch
Size: 13810 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220111/b94d569e/attachment.bin>
More information about the llvm-commits
mailing list