Skip to content

Commit bae239a

Browse files
author
Soumi Manna
committed
Fix lit failures due to merge conflicts
Signed-off-by: Soumi Manna <[email protected]>
1 parent c0d1eb7 commit bae239a

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

clang/test/CodeGenSYCL/disable_loop_pipelining.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ int main() {
3030
}
3131

3232
// CHECK: define dso_local spir_kernel void @"{{.*}}test_kernel1"() #0 !kernel_arg_buffer_location ![[NUM4:[0-9]+]] !disable_loop_pipelining ![[NUM5:[0-9]+]]
33-
// CHECK: define {{.*}}spir_kernel void @"{{.*}}test_kernel2"() #0 !kernel_arg_buffer_location ![[NUM4]]
33+
// CHECK: define dso_local spir_kernel void @"{{.*}}test_kernel2"() #0 !kernel_arg_buffer_location ![[NUM4]]
3434
// CHECK: define dso_local spir_kernel void @"{{.*}}test_kernel3"() #0 !kernel_arg_buffer_location ![[NUM4]] !disable_loop_pipelining ![[NUM5]]
3535
// CHECK: ![[NUM4]] = !{}
3636
// CHECK: ![[NUM5]] = !{i32 1}

clang/test/Misc/pragma-attribute-supported-attributes-list.test

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@
152152
// CHECK-NEXT: ReturnsTwice (SubjectMatchRule_function)
153153
// CHECK-NEXT: SYCLDevice (SubjectMatchRule_function)
154154
// CHECK-NEXT: SYCLDeviceIndirectlyCallable (SubjectMatchRule_function)
155+
// CHECK-NEXT: SYCLIntelFPGADisableLoopPipelining (SubjectMatchRule_function)
156+
// CHECK-NEXT: SYCLIntelFPGAInitiationInterval (SubjectMatchRule_function)
155157
// CHECK-NEXT: SYCLIntelKernelArgsRestrict (SubjectMatchRule_function)
156158
// CHECK-NEXT: SYCLIntelLoopFuse (SubjectMatchRule_function)
157159
// CHECK-NEXT: SYCLIntelMaxGlobalWorkDim (SubjectMatchRule_function)

clang/test/SemaSYCL/initiation_interval.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
[[intel::initiation_interval(-1)]] void func1() {} // expected-error{{'initiation_interval' attribute requires a positive integral compile time constant expression}}
1111

12-
[[intel::initiation_interval(0, 1)]] void func2() {} // expected-error{{'initiation_interval' attribute takes one argument}}
12+
[[intel::initiation_interval(0, 1)]] void func2() {} // expected-error{{'initiation_interval' attribute takes no more than 1 argument}}
1313

1414
// Tests for Intel FPGA initiation_interval function attribute duplication.
1515
// No diagnostic is emitted because the arguments match. Duplicate attribute is silently ignored.

clang/test/SemaSYCL/intel-fpga-loops.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ sycl::queue deviceQueue;
88
void foo() {
99
// expected-error@+1 {{'ivdep' attribute cannot be applied to a declaration}}
1010
[[intel::ivdep]] int a[10];
11-
// expected-error@+1 {{'initiation_interval' attribute cannot be applied to a declaration}}
11+
// expected-error@+1 {{'initiation_interval' attribute only applies to 'for', 'while', 'do' statements, and functions}}
1212
[[intel::initiation_interval(2)]] int c[10];
1313
// expected-error@+1 {{'max_concurrency' attribute cannot be applied to a declaration}}
1414
[[intel::max_concurrency(2)]] int d[10];
15-
// expected-error@+1 {{'disable_loop_pipelining' attribute cannot be applied to a declaration}}
15+
// expected-error@+1 {{'disable_loop_pipelining' attribute only applies to 'for', 'while', 'do' statements, and functions}}
1616
[[intel::disable_loop_pipelining]] int g[10];
1717
// expected-error@+1 {{'loop_coalesce' attribute cannot be applied to a declaration}}
1818
[[intel::loop_coalesce(2)]] int h[10];

0 commit comments

Comments
 (0)