[clang] [HIP] Add warning for -mwavefrontsize64 on gfx10+ architectures (PR #140185)
Artem Belevich via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 14 11:12:47 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 \
----------------
Artem-B wrote:
Is `-mno-wavefrontsize64` used intentionally here?
https://github.com/llvm/llvm-project/pull/140185
More information about the cfe-commits
mailing list