[flang-commits] [flang] Make Flang dialect assembly formats strict properties compatible (PR #226602)

Mehdi Amini via flang-commits flang-commits at lists.llvm.org
Fri Oct 2 00:08:09 PDT 2026


================
@@ -4,16 +4,16 @@
 ! CHECK-LABEL: func @_QQmain
 use ieee_arithmetic
 ! CHECK-DAG: %[[V_X:[0-9]+]] = fir.alloca f128 <{bindc_name = "x", uniq_name = "_QFEx"}>
-! CHECK-DAG: %[[X_DECL:[0-9]+]]:2 = hlfir.declare %[[V_X]] {uniq_name = "_QFEx"}
+! CHECK-DAG: %[[X_DECL:[0-9]+]]:2 = hlfir.declare %[[V_X]] uniq_name("_QFEx")
 ! CHECK-DAG: %[[V_Y:[0-9]+]] = fir.alloca f128 <{bindc_name = "y", uniq_name = "_QFEy"}>
-! CHECK-DAG: %[[Y_DECL:[0-9]+]]:2 = hlfir.declare %[[V_Y]] {uniq_name = "_QFEy"}
+! CHECK-DAG: %[[Y_DECL:[0-9]+]]:2 = hlfir.declare %[[V_Y]] uniq_name("_QFEy")
 ! CHECK-DAG: %[[V_Z:[0-9]+]] = fir.alloca f128 <{bindc_name = "z", uniq_name = "_QFEz"}>
-! CHECK-DAG: %[[Z_DECL:[0-9]+]]:2 = hlfir.declare %[[V_Z]] {uniq_name = "_QFEz"}
+! CHECK-DAG: %[[Z_DECL:[0-9]+]]:2 = hlfir.declare %[[V_Z]] uniq_name("_QFEz")
 real(16) :: x, y, z
 
 x = -17.0
 
-! CHECK:     %[[V_NEG_INF:[0-9]+]]:2 = hlfir.declare %{{.*}} {{{.*}}uniq_name = "_QQro._QMieee_arithmeticTieee_class_type.{{[0-9]+}}"}
+! CHECK:     %[[V_NEG_INF:[0-9]+]]:2 = hlfir.declare %{{.*}} {{{.*}}uniq_name("_QQro._QMieee_arithmeticTieee_class_type.{{[0-9]+}}")}
----------------
joker-eph wrote:

I asked my agent to diagnose:

> - **Why CI passed:** Both Linux and Windows test-result artifacts explicitly mark this test skipped: `Missing required feature(s): flang-supports-f128-math`

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


More information about the flang-commits mailing list