[Mlir-commits] [mlir] [mlir] Allow trailing digit for alias in AsmPrinter (PR #127993)

Hongren Zheng llvmlistbot at llvm.org
Thu Feb 20 11:20:37 PST 2025


ZenithalHourlyRate wrote:

Added a detection logic for the printing alias with trailing digit as it.

For example, for `!name123`, the only possible way to conflict is another type with `!name` suggestion attached with 123 (`!name12` will only generate `!name12_3`). So checking for `nameCount[!name] > 123` will work

https://github.com/llvm/llvm-project/pull/127993


More information about the Mlir-commits mailing list