HSA: omp-grid.c – access proper clause code
* omp-grid.c (grid_eliminate_combined_simd_part): Use OMP_CLAUSE_CODE to access the omp clause code.
This commit is contained in:
parent
54cb3baa82
commit
4ed1ff7ecb
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2020-04-08 Tobias Burnus <tobias@codesourcery.com>
|
||||
|
||||
* omp-grid.c (grid_eliminate_combined_simd_part): Use
|
||||
OMP_CLAUSE_CODE to access the omp clause code.
|
||||
|
||||
2020-04-07 Jeff Law <law@redhat.com>
|
||||
|
||||
PR rtl-optimization/92264
|
||||
|
|
|
@ -1065,7 +1065,7 @@ grid_eliminate_combined_simd_part (gomp_for *parloop)
|
|||
while (*pc)
|
||||
{
|
||||
tree c = *pc;
|
||||
switch (TREE_CODE (c))
|
||||
switch (OMP_CLAUSE_CODE (c))
|
||||
{
|
||||
case OMP_CLAUSE_LINEAR:
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue