Revert "[InstCombine] Support gep nuw in icmp folds" (#118698)
[llvm-project.git] / flang / test / Lower / Intrinsics / rrspacing.f90
blob7125f6bf319b85aae4a1b936467cc22f962e1915
1 ! RUN: bbc -emit-fir -hlfir=false %s -o - | FileCheck %s
2 ! RUN: %flang_fc1 -emit-fir -flang-deprecated-no-hlfir %s -o - | FileCheck %s
4 ! CHECK-LABEL: func @_QPrrspacing_test2(
5 ! CHECK-SAME: %[[x:[^:]+]]: !fir.ref<f128>{{.*}}) -> f128
6 real*16 function rrspacing_test2(x)
7 real*16 :: x
8 rrspacing_test2 = rrspacing(x)
9 ! CHECK: %[[a1:.*]] = fir.load %[[x]] : !fir.ref<f128>
10 ! CHECK: %{{.*}} = fir.call @_FortranARRSpacing16(%[[a1]]) {{.*}}: (f128) -> f128
11 end function