diff options
author | Andrew Pinski <quic_apinski@quicinc.com> | 2024-09-19 16:32:50 -0700 |
---|---|---|
committer | Andrew Pinski <quic_apinski@quicinc.com> | 2024-09-20 05:02:37 +0000 |
commit | b2f4daa81b959ad27d161ae5219887a82ffe8069 (patch) | |
tree | e2ed9b431bb51eeb438b5a6d176fe5e6f79e458c /gcc/diagnostic-format-json.cc | |
parent | 284c03ec79ec206786673500b7813bd9f28b0075 (diff) | |
download | gcc-b2f4daa81b959ad27d161ae5219887a82ffe8069.zip gcc-b2f4daa81b959ad27d161ae5219887a82ffe8069.tar.gz gcc-b2f4daa81b959ad27d161ae5219887a82ffe8069.tar.bz2 |
Remove PHI_RESULT_PTR and change some PHI_RESULT to be gimple_phi_result [PR116643]
There was only a few uses PHI_RESULT_PTR so lets remove it and use gimple_phi_result_ptr
or gimple_phi_result directly instead.
Since I was modifying ssa-iterators.h for the use of PHI_RESULT_PTR, change the use
of PHI_RESULT there to be gimple_phi_result instead.
This also removes one extra indirection that was done for PHI_RESULT so stage2 building
should be slightly faster.
Bootstrapped and tested on x86_64-linux-gnu.
PR middle-end/116643
gcc/ChangeLog:
* ssa-iterators.h (single_phi_def): Use gimple_phi_result
instead of PHI_RESULT.
(op_iter_init_phidef): Use gimple_phi_result/gimple_phi_result_ptr
instead of PHI_RESULT/PHI_RESULT_PTR.
* tree-ssa-operands.h (PHI_RESULT_PTR): Remove.
(PHI_RESULT): Use gimple_phi_result directly.
(SET_PHI_RESULT): Use gimple_phi_result_ptr directly.
Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
Diffstat (limited to 'gcc/diagnostic-format-json.cc')
0 files changed, 0 insertions, 0 deletions