[all-commits] [llvm/llvm-project] 78fbca: [NFC][InstrInfoEmitter] Include location of inst d...

Rahul Joshi via All-commits all-commits at lists.llvm.org
Thu Sep 4 15:07:01 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 78fbca4a33350571fa409c938722daa84a011e0a
      https://github.com/llvm/llvm-project/commit/78fbca4a33350571fa409c938722daa84a011e0a
  Author: Rahul Joshi <rjoshi at nvidia.com>
  Date:   2025-09-04 (Thu, 04 Sep 2025)

  Changed paths:
    M llvm/utils/TableGen/Common/CodeGenInstruction.h
    M llvm/utils/TableGen/InstrInfoEmitter.cpp

  Log Message:
  -----------
  [NFC][InstrInfoEmitter] Include location of inst definition in comment (#156927)

Print the source location of the instruction definition in comment next
to the enum value for each instruction. To make this more readable,
change formatting of the instruction enums to be better aligned.

Example output:

```
    VLD4qWB_register_Asm_8                 = 573, // (ARMInstrNEON.td:8849)
    VMOVD0                                 = 574, // (ARMInstrNEON.td:6337)
    VMOVDcc                                = 575, // (ARMInstrVFP.td:2466)
    VMOVHcc                                = 576, // (ARMInstrVFP.td:2474)
    VMOVQ0                                 = 577, // (ARMInstrNEON.td:6341)
```



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list