aboutsummaryrefslogtreecommitdiff
path: root/flang/test/Lower/stop-statement.f90
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2024-04-04 12:25:33 -0700
committerVitaly Buka <vitalybuka@google.com>2024-04-04 12:25:33 -0700
commitf9cedbe1ccc6e45a1440a537be2e9f39d629738e (patch)
tree4d172cf3d21b3d16f218600b76ead9d14175e74c /flang/test/Lower/stop-statement.f90
parent37fdee1f17f627c8eeb1fb9ec51d13bbc830bf92 (diff)
parent9a0ae081047d7088cdecfa86a8c90b721485e418 (diff)
downloadllvm-users/vitalybuka/spr/main.nfchwasan-cleanup-opt-opt-test.zip
llvm-users/vitalybuka/spr/main.nfchwasan-cleanup-opt-opt-test.tar.gz
llvm-users/vitalybuka/spr/main.nfchwasan-cleanup-opt-opt-test.tar.bz2
[𝘀𝗽𝗿] changes introduced through rebaseusers/vitalybuka/spr/main.nfchwasan-cleanup-opt-opt-test
Created using spr 1.3.4 [skip ci]
Diffstat (limited to 'flang/test/Lower/stop-statement.f90')
-rw-r--r--flang/test/Lower/stop-statement.f904
1 files changed, 2 insertions, 2 deletions
diff --git a/flang/test/Lower/stop-statement.f90 b/flang/test/Lower/stop-statement.f90
index bc94a7e..cf0665c 100644
--- a/flang/test/Lower/stop-statement.f90
+++ b/flang/test/Lower/stop-statement.f90
@@ -21,10 +21,10 @@ end subroutine
! CHECK-LABEL: stop_error
subroutine stop_error()
error stop
- ! CHECK-DAG: %[[c0:.*]] = arith.constant 0 : i32
+ ! CHECK-DAG: %[[c_1:.*]] = arith.constant 1 : i32
! CHECK-DAG: %[[true:.*]] = arith.constant true
! CHECK-DAG: %[[false:.*]] = arith.constant false
- ! CHECK: fir.call @_Fortran{{.*}}StopStatement(%[[c0]], %[[true]], %[[false]])
+ ! CHECK: fir.call @_Fortran{{.*}}StopStatement(%[[c_1]], %[[true]], %[[false]])
! CHECK-NEXT: fir.unreachable
end subroutine