[flang-commits] [flang] [flang] Fix broken atan_real16 test (PR #98499)

Tarun Prabhu via flang-commits flang-commits at lists.llvm.org
Thu Jul 11 08:59:26 PDT 2024


================
@@ -6,15 +6,15 @@
 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
 
 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
----------------
tarunprabhu wrote:

Ugh! Sorry. I should have looked more closely. Fixed that and several other names.

https://github.com/llvm/llvm-project/pull/98499


More information about the flang-commits mailing list