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 7bd21a6 commit 3eba000Copy full SHA for 3eba000
clang/test/CodeGenHLSL/loops/unroll.hlsl
@@ -1,5 +1,5 @@
1
// RUN: %clang_cc1 -std=hlsl2021 -finclude-default-header -x hlsl -triple \
2
-// RUN: dxil-pc-shadermodel6.3-library -O3 %s -emit-llvm -o - | FileCheck %s
+// RUN: dxil-pc-shadermodel6.3-library -disable-llvm-passes %s -emit-llvm -o - | FileCheck %s
3
4
/*** for ***/
5
void for_count()
clang/test/SemaHLSL/Loops/unroll.hlsl
@@ -6,7 +6,7 @@ void unroll_no_vars() {
6
}
7
8
void unroll_arg_count() {
9
- [unroll(2,4)] // expected-error {{'unroll' attribute takes one argument}}
+ [unroll(2,4)] // expected-error {{'unroll' attribute takes no more than 1 argument}}
10
for(int i=0; i<100; i++);
11
12
0 commit comments