diff options
author | Andrew Pinski <apinski@marvell.com> | 2021-12-18 11:52:37 +0000 |
---|---|---|
committer | Andrew Pinski <apinski@marvell.com> | 2021-12-19 07:16:22 +0000 |
commit | d957d250942b130142c62afa1a67146b655b91d7 (patch) | |
tree | 48fe6116ff1755fb5a68ff2fdeea9375b6a2cad4 /gcc/cp/constraint.cc | |
parent | ca8c0408bef4b07613148c106e957a6ec48eeaf8 (diff) | |
download | gcc-d957d250942b130142c62afa1a67146b655b91d7.zip gcc-d957d250942b130142c62afa1a67146b655b91d7.tar.gz gcc-d957d250942b130142c62afa1a67146b655b91d7.tar.bz2 |
Improve location for new statements in match-and-simplify phiopt
Before match-and-simplify was used in phiot, the location of the
new stamtents were all of that of the conditional, this adds that
back as I did not realize gimple_simplify didn't do that for you.
OK? Bootstrapped and tested on x86_64 with no regressions.
gcc/ChangeLog:
* tree-ssa-phiopt.c (gimple_simplify_phiopt): Annotate the
new sequence with the location of the conditional statement.
Diffstat (limited to 'gcc/cp/constraint.cc')
0 files changed, 0 insertions, 0 deletions