From 89ebd35daabee5bd5b6baab7230072316ee252b6 Mon Sep 17 00:00:00 2001 From: Mehdi Amini Date: Wed, 8 Dec 2021 04:30:43 +0000 Subject: [PATCH] Fix flang tests after MLIR changes on the handling of declarative assembly --- flang/test/Fir/array-value-copy.fir | 8 ++++---- flang/test/Fir/fir-ops.fir | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/flang/test/Fir/array-value-copy.fir b/flang/test/Fir/array-value-copy.fir index 3bbac3a..191b5d9 100644 --- a/flang/test/Fir/array-value-copy.fir +++ b/flang/test/Fir/array-value-copy.fir @@ -130,7 +130,7 @@ func @conversion_with_temporary(%arr0 : !fir.ref>) { // CHECK: fir.store %[[LOAD0]] to %[[COOR1]] : !fir.ref // CHECK: } // Free temporary array. -// CHECK: fir.freemem %[[TEMP]] : !fir.heap> +// CHECK: fir.freemem %[[TEMP]] : > // ----- @@ -211,7 +211,7 @@ func @conversion_with_temporary_multidim(%0: !fir.ref>) { // CHECK: %[[LOAD0:.*]] = fir.load %[[COOR0]] : !fir.ref // CHECK: %[[COOR1:.*]] = fir.array_coor %[[ARR0]](%{{.*}}) %{{.*}}, %{{.*}} : (!fir.ref>, !fir.shape<2>, index, index) -> !fir.ref // CHECK: fir.store %[[LOAD0]] to %[[COOR1]] : !fir.ref -// CHECK: fir.freemem %[[TEMP]] : !fir.heap> +// CHECK: fir.freemem %[[TEMP]] : > // ----- @@ -309,7 +309,7 @@ func private @user_defined_assignment(!fir.ref, !fir.ref) // CHECK: fir.store %[[LOAD0]] to %[[COOR1]] : !fir.ref // CHECK: } // Free the temporary array. -// CHECK: fir.freemem %[[TEMP]] : !fir.heap> +// CHECK: fir.freemem %[[TEMP]] : > // CHECK: return // CHECK: } @@ -424,7 +424,7 @@ func @conversion_with_temporary_boxed_array(%arr0 : !fir.box> // CHECK: fir.store %[[LOAD0]] to %[[COOR1]] : !fir.ref // CHECK: } // Free temporary array. -// CHECK: fir.freemem %[[TEMP]] : !fir.heap> +// CHECK: fir.freemem %[[TEMP]] : > // ----- diff --git a/flang/test/Fir/fir-ops.fir b/flang/test/Fir/fir-ops.fir index 631200f..4c407c6 100644 --- a/flang/test/Fir/fir-ops.fir +++ b/flang/test/Fir/fir-ops.fir @@ -121,7 +121,7 @@ func @instructions() { %31 = fir.no_reassoc %29 : i64 // CHECK: fir.call @user_i64([[VAL_35]]) : (i64) -> () -// CHECK: fir.freemem [[VAL_5]] : !fir.heap> +// CHECK: fir.freemem [[VAL_5]] : > // CHECK: [[VAL_36:%.*]] = fir.call @get_func() : () -> (() -> ()) // CHECK: fir.call [[VAL_36]]() : () -> () // CHECK: [[VAL_37:%.*]] = fir.address_of(@it1) : !fir.ref<() -> !fir.int<4>> -- 2.7.4