[flang-commits] [flang] 58280c0 - [flang][cuda] Update test after #116882

Valentin Clement via flang-commits flang-commits at lists.llvm.org
Tue Nov 19 17:11:40 PST 2024


Author: Valentin Clement
Date: 2024-11-19T17:11:27-08:00
New Revision: 58280c0e97ee8f843db0fc2719c7e599831d6626

URL: https://github.com/llvm/llvm-project/commit/58280c0e97ee8f843db0fc2719c7e599831d6626
DIFF: https://github.com/llvm/llvm-project/commit/58280c0e97ee8f843db0fc2719c7e599831d6626.diff

LOG: [flang][cuda] Update test after #116882

Added: 
    

Modified: 
    flang/test/Fir/CUDA/cuda-implicit-device-global.f90

Removed: 
    


################################################################################
diff  --git a/flang/test/Fir/CUDA/cuda-implicit-device-global.f90 b/flang/test/Fir/CUDA/cuda-implicit-device-global.f90
index 83df4a08c3ff11..772e2696171a63 100644
--- a/flang/test/Fir/CUDA/cuda-implicit-device-global.f90
+++ b/flang/test/Fir/CUDA/cuda-implicit-device-global.f90
@@ -101,7 +101,7 @@ // Test that global used in device function are flagged with the correct
 
 // CHECK: fir.global linkonce @_QQclX5465737420504153534544 {data_attr = #cuf.cuda<constant>} constant : !fir.char<1,11>
 
-// CHECK-LABEL: gpu.module @cuda_device_mod [#nvvm.target]
+// CHECK-LABEL: gpu.module @cuda_device_mod
 // CHECK: fir.global linkonce @_QQclX5465737420504153534544 {data_attr = #cuf.cuda<constant>} constant
 
 // -----
@@ -142,5 +142,5 @@ // Test that global used in device function are flagged with the correct
 
 // CHECK: fir.global linkonce @_QQclX5465737420504153534544 {data_attr = #cuf.cuda<constant>} constant : !fir.char<1,11>
 
-// CHECK-LABEL: gpu.module @cuda_device_mod [#nvvm.target]
+// CHECK-LABEL: gpu.module @cuda_device_mod 
 // CHECK: fir.global linkonce @_QQclX5465737420504153534544 {data_attr = #cuf.cuda<constant>} constant


        


More information about the flang-commits mailing list