[Mlir-commits] [mlir] [mlir] Enable setting alias on AsmState. (PR #153776)

Mehdi Amini llvmlistbot at llvm.org
Mon Aug 18 04:21:49 PDT 2025


================
@@ -560,6 +560,15 @@ class AsmState {
            FallbackAsmResourceMap *map = nullptr);
   ~AsmState();
 
+  /// Add an alias for the given attribute. The alias will be used as a
+  /// suggestion when printing. The final alias may be modified to resolve
+  /// conflicts.
----------------
joker-eph wrote:

Another thing is what is the behavior of repeated calls to the API with the same attribute and different alias names?

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


More information about the Mlir-commits mailing list