diff options
author | Kewen Lin <linkw@linux.ibm.com> | 2021-01-10 20:33:23 -0600 |
---|---|---|
committer | Kewen Lin <linkw@linux.ibm.com> | 2021-01-10 20:33:23 -0600 |
commit | bcb3065b2ba6efb967c3a34fc34b09726f7579d1 (patch) | |
tree | ef68cd0508a8d0dadba9dbaf4c5f6491cae453c6 /gcc/tree-vectorizer.c | |
parent | 366f86bd42939c920bdf2a37e69c66d03ea2d572 (diff) | |
download | gcc-bcb3065b2ba6efb967c3a34fc34b09726f7579d1.zip gcc-bcb3065b2ba6efb967c3a34fc34b09726f7579d1.tar.gz gcc-bcb3065b2ba6efb967c3a34fc34b09726f7579d1.tar.bz2 |
ira: Skip some pseudos in move_unallocated_pseudos
This patch is to make move_unallocated_pseudos consistent
to what we have in function find_moveable_pseudos, where we
record the original pseudo into pseudo_replaced_reg only if
validate_change succeeds with newreg. To ensure every
unallocated pseudo in move_unallocated_pseudos has expected
information, it's better to add a check and skip it if it's
unexpected. This avoids possible ICEs in future.
gcc/ChangeLog:
* ira.c (move_unallocated_pseudos): Check other_reg and skip if
it isn't set.
Diffstat (limited to 'gcc/tree-vectorizer.c')
0 files changed, 0 insertions, 0 deletions