diff options
author | Tom de Vries <tdevries@suse.de> | 2019-01-03 15:08:06 +0000 |
---|---|---|
committer | Tom de Vries <vries@gcc.gnu.org> | 2019-01-03 15:08:06 +0000 |
commit | 5f57c8f347352a8c9fd8cfbf253a545f272850d6 (patch) | |
tree | b5d8d9aae6325d56c3c3d2d910eef6e71f319cd3 /gcc/tree-ssa-phiopt.c | |
parent | ed72c2e3b39a30ece53f0896c594160c6aa53330 (diff) | |
download | gcc-5f57c8f347352a8c9fd8cfbf253a545f272850d6.zip gcc-5f57c8f347352a8c9fd8cfbf253a545f272850d6.tar.gz gcc-5f57c8f347352a8c9fd8cfbf253a545f272850d6.tar.bz2 |
[nvptx] Eliminate changed local var in nvptx_goacc_validate_dims
The TARGET_GOACC_VALIDATE_DIMS hook requires an implementation to return a bool
indicating whether the dims parameter has changed.
Factor nvptx_goacc_validate_dims_1 out of nvptx_goacc_validate_dims, and
calculate the return value in nvptx_goacc_validate_dims.
2019-01-03 Tom de Vries <tdevries@suse.de>
* config/nvptx/nvptx.c (nvptx_goacc_validate_dims_1): New function,
factored out of ...
(nvptx_goacc_validate_dims): ... here.
From-SVN: r267555
Diffstat (limited to 'gcc/tree-ssa-phiopt.c')
0 files changed, 0 insertions, 0 deletions