[flang-commits] [flang] [flang] Fix broken atan_real16 test (PR #98499)
via flang-commits
flang-commits at lists.llvm.org
Thu Jul 11 08:50:13 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-flang-fir-hlfir
Author: Tarun Prabhu (tarunprabhu)
<details>
<summary>Changes</summary>
The names in the `end function` were incorrect. Those have been removed.
---
Full diff: https://github.com/llvm/llvm-project/pull/98499.diff
1 Files Affected:
- (modified) flang/test/Lower/Intrinsics/atan_real16.f90 (+2-2)
``````````diff
diff --git a/flang/test/Lower/Intrinsics/atan_real16.f90 b/flang/test/Lower/Intrinsics/atan_real16.f90
index 3ae037307c32b..292091463b01d 100644
--- a/flang/test/Lower/Intrinsics/atan_real16.f90
+++ b/flang/test/Lower/Intrinsics/atan_real16.f90
@@ -6,7 +6,7 @@
function test_real16(x)
real(16) :: x, test_real16
test_real16 = atan(x)
-end function real16
+end function test_real16
! CHECK-LABEL: @_QPtest_real16
! CHECK: fir.call @_FortranAAtanF128({{.*}}){{.*}}: (f128) -> f128
@@ -14,7 +14,7 @@ end function real16
function test_real16_2(y, x)
real(16) :: y, x, test_real16
test_real16 = atan(y, x)
-end function real16_2
+end function test_real16_2
! CHECK-LABEL: @_QPtest_real16
! CHECK: fir.call @_FortranAAtan2F128({{.*}}){{.*}}: (f128, f128) -> f128
``````````
</details>
https://github.com/llvm/llvm-project/pull/98499
More information about the flang-commits
mailing list