Commit 78fbca4
authored
[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)
```1 parent 91e85cc commit 78fbca4
File tree
2 files changed
+19
-5
lines changed- llvm/utils/TableGen
- Common
2 files changed
+19
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
| 323 | + | |
| 324 | + | |
323 | 325 | | |
324 | 326 | | |
325 | 327 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| |||
1302 | 1304 | | |
1303 | 1305 | | |
1304 | 1306 | | |
| 1307 | + | |
| 1308 | + | |
| 1309 | + | |
| 1310 | + | |
| 1311 | + | |
| 1312 | + | |
| 1313 | + | |
1305 | 1314 | | |
1306 | | - | |
1307 | | - | |
1308 | | - | |
| 1315 | + | |
| 1316 | + | |
| 1317 | + | |
| 1318 | + | |
| 1319 | + | |
| 1320 | + | |
1309 | 1321 | | |
1310 | | - | |
| 1322 | + | |
1311 | 1323 | | |
1312 | 1324 | | |
1313 | 1325 | | |
1314 | 1326 | | |
1315 | 1327 | | |
1316 | | - | |
| 1328 | + | |
1317 | 1329 | | |
1318 | 1330 | | |
1319 | 1331 | | |
| |||
0 commit comments