diff options
author | Craig Topper <craig.topper@sifive.com> | 2023-04-12 20:13:02 -0700 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2023-04-12 20:44:36 -0700 |
commit | 44d46c4b3c1401c708b557e4d88d92b9bbfceb19 (patch) | |
tree | 1dd84cf56daee28fe258a55a3326353020b1b142 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 4bf9ca5eec24a4379fc7021c0aa1e810e32c50a6 (diff) | |
download | llvm-44d46c4b3c1401c708b557e4d88d92b9bbfceb19.zip llvm-44d46c4b3c1401c708b557e4d88d92b9bbfceb19.tar.gz llvm-44d46c4b3c1401c708b557e4d88d92b9bbfceb19.tar.bz2 |
[TableGen] Store CodeGenInstruction reference in EmitNodeMatcherCommon. NFC
Instead of storing a string containing the instruction name, store a
reference to the instruction. We can use that reference to print the
instruction name when we emit the table.
The only slightly annoying part is that we have to find the
CodeGenInstruction for IMPLICIT_DEF. GlobalISel is doing
a similar thing.
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions