From 52f312c69e1049e1f3034baf7cb9d88875f45c9a Mon Sep 17 00:00:00 2001 From: "Yaxun (Sam) Liu" Date: Mon, 8 Feb 2021 19:27:17 -0500 Subject: [PATCH] Fix failure in cuda-external-tools.cu -fgpu-rdc is output in different order --- clang/test/Driver/cuda-external-tools.cu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/test/Driver/cuda-external-tools.cu b/clang/test/Driver/cuda-external-tools.cu index 5da6ffe..f733635 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:[^"]*]]" -- 2.7.4