[flang-commits] [flang] [FIRToMemRef] copy ACC Variable Name attribute (PR #187724)
Razvan Lupusoru via flang-commits
flang-commits at lists.llvm.org
Fri Mar 20 09:12:55 PDT 2026
================
@@ -83,15 +84,34 @@ func.func @peep_declare() {
return
}
-
// check that attributes are copied when they exist
-// CHECK-LABEL: func.func @no_peep_declare
-// CHECK: memref.alloca() {bindc_name = "x", uniq_name = "y"} : memref<i32>
-// CHECK-NOT: memref.store %c1_i32, %alloca[] : memref<i32>
-func.func @no_peep_declare() {
+// CHECK-LABEL: func.func @perserve_declare
----------------
razvanlupusoru wrote:
perserve -> preserve
https://github.com/llvm/llvm-project/pull/187724
More information about the flang-commits
mailing list