[clang] 734213d - Fix test hip-device-compile.hip

Yaxun Liu via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 10 06:14:20 PDT 2021


Author: Yaxun (Sam) Liu
Date: 2021-06-10T09:13:27-04:00
New Revision: 734213d7b51f9ea22a9d122c0646ca5b69f88ac8

URL: https://github.com/llvm/llvm-project/commit/734213d7b51f9ea22a9d122c0646ca5b69f88ac8
DIFF: https://github.com/llvm/llvm-project/commit/734213d7b51f9ea22a9d122c0646ca5b69f88ac8.diff

LOG: Fix test hip-device-compile.hip

Add stricter check for 'ld'.

Added: 
    

Modified: 
    clang/test/Driver/hip-device-compile.hip

Removed: 
    


################################################################################
diff  --git a/clang/test/Driver/hip-device-compile.hip b/clang/test/Driver/hip-device-compile.hip
index 8711a1fadfc1..bc7baeb6ce4a 100644
--- a/clang/test/Driver/hip-device-compile.hip
+++ b/clang/test/Driver/hip-device-compile.hip
@@ -79,7 +79,7 @@
 // BCBUN: {{".*clang-offload-bundler"}}{{.*}}"-outputs=a.bc"
 // LLBUN: {{".*clang-offload-bundler"}}{{.*}}"-outputs=a.ll"
 // ASMBUN: {{".*clang-offload-bundler"}}{{.*}}"-outputs=a.s"
-// CHECK-NOT: {{".*ld.*"}}
+// CHECK-NOT: {{".*ld.*"}}{{.*}}"-o"
 
 // If neither -emit-llvm nor -S is used in device only compilation,
 // the output should be bundled except --no-gpu-bundle-output is


        


More information about the cfe-commits mailing list