[omp] Move NE_EXPR handling to omp_adjust_for_condition
authorMartin Jambor <mjambor@suse.cz>
Thu, 21 Feb 2019 11:00:47 +0000 (12:00 +0100)
committerMartin Jambor <jamborm@gcc.gnu.org>
Thu, 21 Feb 2019 11:00:47 +0000 (12:00 +0100)
commit031c5c8b6034cc0aced853adf7a66f1eed019549
tree6cbac7f13f7b1c073387e8bc78b3d7ffa656567f
parent0864e3fcb6ffbb47de637600fa5f632aa1700ed3
[omp] Move NE_EXPR handling to omp_adjust_for_condition

2019-02-21  Martin Jambor  <mjambor@suse.cz>

PR hsa/89302
* omp-general.c (omp_extract_for_data): Removed a duplicate call
to omp_adjust_for_condition, moved NE_EXPR code_cond processing...
(omp_adjust_for_condition): ...here.  Added necessary parameters.
* omp-general.h (omp_adjust_for_condition): Updated declaration.
* omp-grid.c (grid_attempt_target_gridification): Adjust to pass
proper values to new parameters of omp_adjust_for_condition.

From-SVN: r269066
gcc/ChangeLog
gcc/omp-general.c
gcc/omp-general.h
gcc/omp-grid.c