[all-commits] [llvm/llvm-project] 7e9cee: [TableGen][GlobalISel] Allow duplicate RendererFns
Jay Foad via All-commits
all-commits at lists.llvm.org
Fri Feb 12 07:05:59 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7e9ceed9a2e1c040de5216a56d0aec55a9b93680
https://github.com/llvm/llvm-project/commit/7e9ceed9a2e1c040de5216a56d0aec55a9b93680
Author: Jay Foad <jay.foad at amd.com>
Date: 2021-02-12 (Fri, 12 Feb 2021)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUGISel.td
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
M llvm/test/TableGen/GlobalISelEmitter.td
M llvm/utils/TableGen/GlobalISelEmitter.cpp
Log Message:
-----------
[TableGen][GlobalISel] Allow duplicate RendererFns
Allow different GICustomOperandRenderers to use the same RendererFn.
This avoids the need for targets to define a bunch of identical C++
renderer functions with different names.
Without this fix TableGen would have emitted code that tried to define
the GICR enumeration with duplicate enumerators.
Differential Revision: https://reviews.llvm.org/D96587
More information about the All-commits
mailing list