[llvm] [NFC][TableGen] Adopt `CodeGenInstruction::getName()` (PR #156968)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 4 15:54:22 PDT 2025
================
@@ -451,7 +450,7 @@ void AsmWriterEmitter::EmitGetMnemonic(
<< "[] = {\n";
for (unsigned i = 0, e = NumberedInstructions.size(); i != e; ++i) {
O << " " << ((OpcodeInfo[i] >> Shift) & Mask) << "U,\t// "
- << NumberedInstructions[i]->TheDef->getName() << "\n";
+ << NumberedInstructions[i]->getName() << "\n";
----------------
arsenm wrote:
```suggestion
<< NumberedInstructions[i]->getName() << '\n';
```
https://github.com/llvm/llvm-project/pull/156968
More information about the llvm-commits
mailing list