[clang] [HIP] Add warning for -mwavefrontsize64 on gfx10+ architectures (PR #140185)
Yaxun Liu via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 17 05:43:30 PDT 2025
================
@@ -67,6 +67,12 @@
// DUP-NOT: "-target-feature" "{{.*}}wavefrontsize64"
// DUP: {{.*}}lld{{.*}} "-plugin-opt=-mattr=+cumode"
+// RUN: %clang -### --target=x86_64-linux-gnu -fgpu-rdc -nogpulib \
+// RUN: -nogpuinc --offload-arch=gfx1010 --no-offload-new-driver %s \
+// RUN: -mno-wavefrontsize64 -mwavefrontsize64 2>&1 \
----------------
yxsamliu wrote:
yes
https://github.com/llvm/llvm-project/pull/140185
More information about the cfe-commits
mailing list