Commit 4ed1ff7e by Tobias Burnus

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.
parent 54cb3baa
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) ...@@ -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:
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment