[Mlir-commits] [flang] [mlir] [mlir][AsmParser] Disambiguate location attributes from trailing loc (PR #180668)
Jacques Pienaar
llvmlistbot at llvm.org
Fri Mar 20 00:57:03 PDT 2026
================
@@ -11,7 +11,7 @@ module attributes {dlti.dl_spec = #dlti.dl_spec<>} {
#di_compile_unit = #llvm.di_compile_unit<id = distinct[0]<>, sourceLanguage = DW_LANG_Fortran95, file = #di_file, producer = "Flang", isOptimized = false, emissionKind = Full>
#di_subprogram = #llvm.di_subprogram<compileUnit = #di_compile_unit, scope = #di_file, name = "test_codegen", file = #di_file, subprogramFlags = Definition>
#di_local_variable = #llvm.di_local_variable<scope = #di_subprogram, name = "test", file = #di_file, line = 1, arg = 1, alignInBits = 0, type = #llvm.di_basic_type<tag = DW_TAG_base_type, name = "integer", sizeInBits = 32, encoding = DW_ATE_signed>>
-#loc1 = loc(fused<#di_local_variable>["test.f90":1:1])
+#loc1 = #loc(fused<#di_local_variable>["test.f90":1:1])
----------------
jpienaar wrote:
Its unfortunate that aliases all have to be changed, that seems like most of the changes here. Is there ambiguity in the alias case?
https://github.com/llvm/llvm-project/pull/180668
More information about the Mlir-commits
mailing list