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
@ -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>
|
2020-04-07 Jeff Law <law@redhat.com>
|
||||||
|
|
||||||
PR rtl-optimization/92264
|
PR rtl-optimization/92264
|
||||||
|
@ -1065,7 +1065,7 @@ grid_eliminate_combined_simd_part (gomp_for *parloop)
|
|||||||
while (*pc)
|
while (*pc)
|
||||||
{
|
{
|
||||||
tree c = *pc;
|
tree c = *pc;
|
||||||
switch (TREE_CODE (c))
|
switch (OMP_CLAUSE_CODE (c))
|
||||||
{
|
{
|
||||||
case OMP_CLAUSE_LINEAR:
|
case OMP_CLAUSE_LINEAR:
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user