We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5beb2e8 commit d78dfd9Copy full SHA for d78dfd9
clang/test/CodeGenOpenCL/amdgpu-features-readonly.cl
@@ -0,0 +1,6 @@
1
+// RUN: %clang_cc1 -triple amdgcn -target-feature +vmem-to-lds-load-insts -o /dev/null %s 2>&1 \
2
+// RUN: | FileCheck --check-prefix=READONLY %s
3
+
4
+// READONLY: warning: feature flag '+vmem-to-lds-load-insts' is ignored since the feature is read only [-Winvalid-command-line-argument]
5
6
+kernel void test() {}
0 commit comments