From 0630e7a6a475b03e1ea1a04de82d495acc839373 Mon Sep 17 00:00:00 2001 From: Michael Liao Date: Fri, 31 May 2019 15:29:55 +0000 Subject: [PATCH] Revise test case due to the change from CUDA 10+. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@362232 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Driver/offloading-interoperability.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Driver/offloading-interoperability.c b/test/Driver/offloading-interoperability.c index 75d2ce9239..9c80d91d1d 100644 --- a/test/Driver/offloading-interoperability.c +++ b/test/Driver/offloading-interoperability.c @@ -11,7 +11,7 @@ // NO-OPENMP-FLAGS-FOR-CUDA-DEVICE: clang{{.*}}" "-cc1" "-triple" "nvptx64-nvidia-cuda" // NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NOT: -fopenmp // NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: ptxas" "-m64" -// NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: fatbinary" "--cuda" "-64" +// NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: fatbinary"{{( "--cuda")?}} "-64" // NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: clang{{.*}}" "-cc1" "-triple" "powerpc64le-unknown-linux-gnu" // NO-OPENMP-FLAGS-FOR-CUDA-DEVICE: -fopenmp // NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: {{ld(.exe)?"}} {{.*}}"-m" "elf64lppc" -- 2.40.0