[all-commits] [llvm/llvm-project] ea4325: [TableGen][DecoderEmitter] Improve conflicts dump ...

Sergei Barannikov via All-commits all-commits at lists.llvm.org
Sat Aug 16 23:42:47 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ea4325f174baca7d12e128db4f9f3b41a918da67
      https://github.com/llvm/llvm-project/commit/ea4325f174baca7d12e128db4f9f3b41a918da67
  Author: Sergei Barannikov <barannikov88 at gmail.com>
  Date:   2025-08-17 (Sun, 17 Aug 2025)

  Changed paths:
    M llvm/test/TableGen/FixedLenDecoderEmitter/conflict.td
    M llvm/utils/TableGen/DecoderEmitter.cpp

  Log Message:
  -----------
  [TableGen][DecoderEmitter] Improve conflicts dump (#154001)

* Print filter stack in non-reversed order.
* Print encoding name to the right of encoding bits to deal with
alignment issues.
* Use the correct bit width when printing encoding bits.

Example of old output:
```
		01000100........
		01000...........
		0100............
		................
	tADDhirr 000000000000000001000100________
	tADDrSP 000000000000000001000100_1101___
	tADDspr 0000000000000000010001001____101
```

New output:
```
    ................
    0100............
    01000...........
    01000100........
    01000100________  tADDhirr
    01000100_1101___  tADDrSP
    010001001____101  tADDspr
```



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