@@ -353,11 +353,6 @@ void zoo() {
353353  //  expected-error@+1{{duplicate Intel FPGA loop attribute 'loop_count'}}
354354  [[intel::loop_count (2 )]] for  (int  i = 0 ; i != 10 ; ++i)
355355      a[i] = 0 ;
356- 
357-   [[intel::fpga_pipeline (1 )]]
358-   //  expected-error@+1{{duplicate Intel FPGA loop attribute 'fpga_pipeline'}}
359-   [[intel::fpga_pipeline (1 )]] for  (int  i = 0 ; i != 10 ; ++i)
360-     a[i] = 0 ;
361356}
362357
363358//  Test for Intel FPGA loop attributes compatibility
@@ -376,22 +371,10 @@ void loop_attrs_compatibility() {
376371  //  expected-note@+1 {{conflicting attribute is here}}
377372  [[intel::speculated_iterations (0 )]] [[intel::fpga_pipeline]] for  (int  i = 0 ; i != 10 ; ++i)
378373    a[i] = 0 ;
379-   //  expected-error@+4 {{'max_concurrency' and 'disable_loop_pipelining' attributes are not compatible}}
380-   //  expected-note@+1 {{conflicting attribute is here}}
381-   [[intel::disable_loop_pipelining]] //  expected-warning {{attribute 'intel::disable_loop_pipelining' is deprecated}} \
382-                                      // expected-note {{did you mean to use 'intel::fpga_pipeline' instead?}} 
383-   [[intel::max_concurrency (0 )]] for  (int  i = 0 ; i != 10 ; ++i)
384-     a[i] = 0 ;
385374  //  expected-error@+2 {{'fpga_pipeline' and 'initiation_interval' attributes are not compatible}}
386375  //  expected-note@+1 {{conflicting attribute is here}}
387376  [[intel::initiation_interval (10 )]] [[intel::fpga_pipeline]] for  (int  i = 0 ; i != 10 ; ++i)
388377    a[i] = 0 ;
389-   //  expected-error@+4 {{'ivdep' and 'disable_loop_pipelining' attributes are not compatible}}
390-   //  expected-note@+1 {{conflicting attribute is here}}
391-   [[intel::disable_loop_pipelining]] //  expected-warning {{attribute 'intel::disable_loop_pipelining' is deprecated}} \
392-                                      // expected-note {{did you mean to use 'intel::fpga_pipeline' instead?}} 
393-   [[intel::ivdep]] for  (int  i = 0 ; i != 10 ; ++i)
394-     a[i] = 0 ;
395378
396379  //  no diagnostics are expected
397380  [[intel::fpga_pipeline]] [[intel::loop_coalesce]] for  (int  i = 0 ; i != 10 ; ++i)
@@ -417,21 +400,11 @@ void loop_attrs_compatibility() {
417400  [[intel::max_concurrency (2 )]] [[intel::fpga_pipeline (1 )]] for  (int  i = 0 ; i != 10 ; ++i)
418401    a[i] = 0 ;
419402
420-   //  expected-error@+2 {{'fpga_pipeline' and 'initiation_interval' attributes are not compatible}}
421-   //  expected-note@+1 {{conflicting attribute is here}}
422-   [[intel::initiation_interval (2 )]] [[intel::fpga_pipeline (1 )]] for  (int  i = 0 ; i != 10 ; ++i)
423-     a[i] = 0 ;
424- 
425403  //  expected-error@+2 {{'fpga_pipeline' and 'max_interleaving' attributes are not compatible}}
426404  //  expected-note@+1 {{conflicting attribute is here}}
427405  [[intel::max_interleaving (2 )]] [[intel::fpga_pipeline]] for  (int  i = 0 ; i != 10 ; ++i)
428406    a[i] = 0 ;
429407
430-   //  expected-error@+2 {{'fpga_pipeline' and 'speculated_iterations' attributes are not compatible}}
431-   //  expected-note@+1 {{conflicting attribute is here}}
432-   [[intel::speculated_iterations (0 )]] [[intel::fpga_pipeline]] for  (int  i = 0 ; i != 10 ; ++i)
433-     a[i] = 0 ;
434- 
435408  //  expected-error@+2 {{'fpga_pipeline' and 'ivdep' attributes are not compatible}}
436409  //  expected-note@+1 {{conflicting attribute is here}}
437410  [[intel::ivdep]] [[intel::fpga_pipeline]] for  (int  i = 0 ; i != 10 ; ++i)
0 commit comments