Skip to content

Commit fd5e83e

Browse files
Another test tweak
1 parent ede5171 commit fd5e83e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

flang/test/Lower/select-case-statement.f90

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,8 +426,11 @@ subroutine snested(str)
426426
if (present(str)) then
427427
! CHECK: fir.call @_FortranATrim
428428
select case (trim(str))
429+
! == 'a'
429430
! CHECK-O0: fir.call @_FortranACharacterCompareScalar1
430431
! CHECK-O0-NEXT: arith.cmpi eq, {{.*}}, %c0_i32 : i32
432+
! CHECK-O1: fir.do_loop {{.*}} -> (i8) {
433+
! CHECK-O1: arith.cmpi eq, %{{[0-9]+}}, %c{{[0-9]+}}_i8 : i8
431434
case ('a')
432435
! CHECK-DAG: fir.store %c10_i32 to {{.*}} : !fir.ref<i32>
433436
num = 10

0 commit comments

Comments
 (0)