[flang-commits] [flang] [mlir] [mlir] add option to print SSA IDs using `NameLoc`s as prefixes (PR #119996)

Jacques Pienaar via flang-commits flang-commits at lists.llvm.org
Tue Dec 17 06:52:05 PST 2024


================
@@ -1398,6 +1398,24 @@ $ tree /tmp/pipeline_output
 │   │   ├── 1_1_pass4.mlir
 ```
 
+*   `mlir-use-nameloc-as-prefix`
+    * If your source IR has named locations (`loc("named_location")"`) then passing this flag will use those
+      names (`named_location`) to prefix the corresponding SSA identifiers:
----------------
jpienaar wrote:

Nit: newline after and ```mlir to ensure highlighting triggers.

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


More information about the flang-commits mailing list