Skip to content

[Clang][Driver][HIP] Do not specify explicit target cpu in host compilation run line #126488

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

lalaniket8
Copy link
Contributor

This PR fixes the post merge check fails from PR #125646

@lalaniket8 lalaniket8 requested a review from vikramRH February 10, 2025 09:21
@llvmbot llvmbot added clang Clang issues not falling into any other category clang:driver 'clang' and 'clang++' user-facing binaries. Not 'clang-cl' labels Feb 10, 2025
@llvmbot
Copy link
Member

llvmbot commented Feb 10, 2025

@llvm/pr-subscribers-clang

@llvm/pr-subscribers-clang-driver

Author: Aniket Lal (lalaniket8)

Changes

This PR fixes the post merge check fails from PR #125646


Full diff: https://github.com/llvm/llvm-project/pull/126488.diff

1 Files Affected:

  • (modified) clang/test/Driver/dep-file-flag-with-multiple-offload-archs.hip (+1-1)
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(){}

Copy link
Collaborator

@DavidSpickett DavidSpickett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just looking at this on Linaro's bots, thanks for the fix!

@DavidSpickett DavidSpickett merged commit cab893a into main Feb 10, 2025
11 checks passed
@DavidSpickett DavidSpickett deleted the users/lalaniket8/clang-hip-driver-dependency-file-flag branch February 10, 2025 10:24
Icohedron pushed a commit to Icohedron/llvm-project that referenced this pull request Feb 11, 2025
…lation run line (llvm#126488)

This PR fixes the post merge check fails from PR
llvm#125646

Co-authored-by: anikelal <[email protected]>
searlmc1 pushed a commit to ROCm/llvm-project that referenced this pull request Feb 25, 2025
…lation run line (llvm#126488)

This PR fixes the post merge check fails from PR
llvm#125646

Co-authored-by: anikelal <[email protected]>
jrbyrnes pushed a commit to jrbyrnes/llvm-project that referenced this pull request May 27, 2025
…lation run line (llvm#126488)

This PR fixes the post merge check fails from PR
llvm#125646

Co-authored-by: anikelal <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clang:driver 'clang' and 'clang++' user-facing binaries. Not 'clang-cl' clang Clang issues not falling into any other category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants