[clang] 52f312c - Fix failure in cuda-external-tools.cu
Yaxun Liu via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 8 16:28:13 PST 2021
Author: Yaxun (Sam) Liu
Date: 2021-02-08T19:27:43-05:00
New Revision: 52f312c69e1049e1f3034baf7cb9d88875f45c9a
URL: https://github.com/llvm/llvm-project/commit/52f312c69e1049e1f3034baf7cb9d88875f45c9a
DIFF: https://github.com/llvm/llvm-project/commit/52f312c69e1049e1f3034baf7cb9d88875f45c9a.diff
LOG: Fix failure in cuda-external-tools.cu
-fgpu-rdc is output in different order
Added:
Modified:
clang/test/Driver/cuda-external-tools.cu
Removed:
################################################################################
diff --git a/clang/test/Driver/cuda-external-tools.cu b/clang/test/Driver/cuda-external-tools.cu
index 5da6ffe0262e..f73363508efe 100644
--- a/clang/test/Driver/cuda-external-tools.cu
+++ b/clang/test/Driver/cuda-external-tools.cu
@@ -92,10 +92,10 @@
// CHECK: "-cc1"
// ARCH64-SAME: "-triple" "nvptx64-nvidia-cuda"
// ARCH32-SAME: "-triple" "nvptx-nvidia-cuda"
-// RDC-SAME: "-fgpu-rdc"
-// CHECK-NOT: "-fgpu-rdc"
// SM20-SAME: "-target-cpu" "sm_20"
// SM35-SAME: "-target-cpu" "sm_35"
+// RDC-SAME: "-fgpu-rdc"
+// CHECK-NOT: "-fgpu-rdc"
// SM20-SAME: "-o" "[[PTXFILE:[^"]*]]"
// SM35-SAME: "-o" "[[PTXFILE:[^"]*]]"
More information about the cfe-commits
mailing list