[clang] cab893a - [Clang][Driver][HIP] Do not specify explicit target cpu in host compilation run line (#126488)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 10 02:24:17 PST 2025
Author: Aniket Lal
Date: 2025-02-10T10:24:13Z
New Revision: cab893ab8ebdcf63cfc63666009122d9c0e31bdf
URL: https://github.com/llvm/llvm-project/commit/cab893ab8ebdcf63cfc63666009122d9c0e31bdf
DIFF: https://github.com/llvm/llvm-project/commit/cab893ab8ebdcf63cfc63666009122d9c0e31bdf.diff
LOG: [Clang][Driver][HIP] Do not specify explicit target cpu in host compilation run line (#126488)
This PR fixes the post merge check fails from PR
https://github.com/llvm/llvm-project/pull/125646
Co-authored-by: anikelal <anikelal at amd.com>
Added:
Modified:
clang/test/Driver/dep-file-flag-with-multiple-offload-archs.hip
Removed:
################################################################################
diff --git a/clang/test/Driver/dep-file-flag-with-multiple-offload-archs.hip b/clang/test/Driver/dep-file-flag-with-multiple-offload-archs.hip
index d26faf7242f915..79a52f0bc89812 100644
--- a/clang/test/Driver/dep-file-flag-with-multiple-offload-archs.hip
+++ b/clang/test/Driver/dep-file-flag-with-multiple-offload-archs.hip
@@ -8,6 +8,6 @@
// CHECK-NOT: {{.*}}clang{{.*}}"-target-cpu" "gfx1101"{{.*}}"-dependency-file" "tmp.d"
// CHECK: {{.*}}lld{{.*}}"-plugin-opt=mcpu=gfx1101"
// CHECK: {{.*}}clang-offload-bundler
-// CHECK: {{.*}}clang{{.*}}"-target-cpu" "x86-64"{{.*}}"-dependency-file" "tmp.d"
+// CHECK: {{.*}}clang{{.*}}"-target-cpu"{{.*}}"-dependency-file" "tmp.d"
void main(){}
More information about the cfe-commits
mailing list