Skip to content

Commit b6ecd94

Browse files
committed
[NFC] Update intel-fpga-loops after 0ff95c9 (#19271)
As in title. Original patch by [email protected]
1 parent 0ecf518 commit b6ecd94

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ void foo() {
3535
// Test for deprecated spelling of Intel FPGA loop attributes
3636
void foo_deprecated() {
3737
int a[10];
38-
// expected-warning@+1 {{unknown attribute 'ivdep' ignored}}
38+
// expected-warning@+1 {{unknown attribute 'intelfpga::ivdep' ignored}}
3939
[[intelfpga::ivdep(2)]] for (int i = 0; i != 10; ++i)
4040
a[i] = 0;
4141

42-
// expected-warning@+1 {{unknown attribute 'ii' ignored}}
42+
// expected-warning@+1 {{unknown attribute 'intelfpga::ii' ignored}}
4343
[[intelfpga::ii(2)]] for (int i = 0; i != 10; ++i)
4444
a[i] = 0;
4545

@@ -48,23 +48,23 @@ void foo_deprecated() {
4848
[[intel::ii(2)]] for (int i = 0; i != 10; ++i)
4949
a[i] = 0;
5050

51-
// expected-warning@+1 {{unknown attribute 'max_concurrency' ignored}}
51+
// expected-warning@+1 {{unknown attribute 'intelfpga::max_concurrency' ignored}}
5252
[[intelfpga::max_concurrency(4)]] for (int i = 0; i != 10; ++i)
5353
a[i] = 0;
5454

55-
// expected-warning@+1 {{unknown attribute 'max_interleaving' ignored}}
55+
// expected-warning@+1 {{unknown attribute 'intelfpga::max_interleaving' ignored}}
5656
[[intelfpga::max_interleaving(2)]] for (int i = 0; i != 10; ++i)
5757
a[i] = 0;
5858

59-
// expected-warning@+1 {{unknown attribute 'disable_loop_pipelining' ignored}}
59+
// expected-warning@+1 {{unknown attribute 'intelfpga::disable_loop_pipelining' ignored}}
6060
[[intelfpga::disable_loop_pipelining]] for (int i = 0; i != 10; ++i)
6161
a[i] = 0;
6262

63-
// expected-warning@+1 {{unknown attribute 'loop_coalesce' ignored}}
63+
// expected-warning@+1 {{unknown attribute 'intelfpga::loop_coalesce' ignored}}
6464
[[intelfpga::loop_coalesce(2)]] for (int i = 0; i != 10; ++i)
6565
a[i] = 0;
6666

67-
// expected-warning@+1 {{unknown attribute 'speculated_iterations' ignored}}
67+
// expected-warning@+1 {{unknown attribute 'intelfpga::speculated_iterations' ignored}}
6868
[[intelfpga::speculated_iterations(6)]] for (int i = 0; i != 10; ++i)
6969
a[i] = 0;
7070
}

0 commit comments

Comments
 (0)