[flang-commits] [flang] 5d1c70d - [flang] Fix polymorphic-temp.f90 tests

Valentin Clement via flang-commits flang-commits at lists.llvm.org
Thu Feb 9 11:31:07 PST 2023


Author: Valentin Clement
Date: 2023-02-09T20:30:49+01:00
New Revision: 5d1c70d6b5683fdcc9a232be1d31ef0872cb5969

URL: https://github.com/llvm/llvm-project/commit/5d1c70d6b5683fdcc9a232be1d31ef0872cb5969
DIFF: https://github.com/llvm/llvm-project/commit/5d1c70d6b5683fdcc9a232be1d31ef0872cb5969.diff

LOG: [flang] Fix polymorphic-temp.f90 tests

Added: 
    

Modified: 
    flang/test/Lower/polymorphic-temp.f90

Removed: 
    


################################################################################
diff  --git a/flang/test/Lower/polymorphic-temp.f90 b/flang/test/Lower/polymorphic-temp.f90
index 7858c9563fc1..12cf6c856622 100644
--- a/flang/test/Lower/polymorphic-temp.f90
+++ b/flang/test/Lower/polymorphic-temp.f90
@@ -129,7 +129,7 @@ subroutine test_temp_from_intrinsic_cshift(a, shift)
     class(p1), intent(in) :: a(20)
     integer :: shift
 
-    call check_pack(cshift(a, shift))
+    call check(cshift(a, shift))
   end subroutine
 
 ! CHECK-LABEL: func.func @_QMpoly_tmpPtest_temp_from_intrinsic_cshift(
@@ -150,7 +150,7 @@ subroutine test_temp_from_intrinsic_eoshift(a, shift, b)
     class(p1), intent(in) :: b
     integer :: shift
 
-    call check_pack(eoshift(a, shift, b))
+    call check(eoshift(a, shift, b))
   end subroutine
 
 ! CHECK-LABEL: func.func @_QMpoly_tmpPtest_temp_from_intrinsic_eoshift(


        


More information about the flang-commits mailing list