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 8bc614a commit f0d05cdCopy full SHA for f0d05cd
clang/test/CodeGenHLSL/convergence/global_array.hlsl
@@ -6,9 +6,15 @@
6
7
// CHECK: [[loop_entry]]:
8
// CHECK: [[loop_token:%.*]] = call token @llvm.experimental.convergence.loop() [ "convergencectrl"(token [[entry_token]]) ]
9
-// CHECK: call void {{.*}} [ "convergencectrl"(token [[loop_token]]) ]
+// CHECK: call spir_func void {{.*}} [ "convergencectrl"(token [[loop_token]]) ]
10
// CHECK: br i1 {{%.*}} label {{%.*}} label %[[loop_entry]]
11
-RWBuffer<float> e[2];
+
12
+struct S {
13
+ int i;
14
+ S() { i = 10; }
15
+};
16
17
+static S s[2];
18
19
[numthreads(4,1,1)]
20
void main() {
0 commit comments