Skip to content

Commit 3eba000

Browse files
committed
fix build break
1 parent 7bd21a6 commit 3eba000

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clang/test/CodeGenHLSL/loops/unroll.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// 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
2+
// RUN: dxil-pc-shadermodel6.3-library -disable-llvm-passes %s -emit-llvm -o - | FileCheck %s
33

44
/*** for ***/
55
void for_count()

clang/test/SemaHLSL/Loops/unroll.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ void unroll_no_vars() {
66
}
77

88
void unroll_arg_count() {
9-
[unroll(2,4)] // expected-error {{'unroll' attribute takes one argument}}
9+
[unroll(2,4)] // expected-error {{'unroll' attribute takes no more than 1 argument}}
1010
for(int i=0; i<100; i++);
1111
}
1212

0 commit comments

Comments
 (0)