rs6000: Fix rs6000_emit_le_vsx_store (PR98549)
authorSegher Boessenkool <segher@kernel.crashing.org>
Tue, 19 Jan 2021 23:43:56 +0000 (23:43 +0000)
committerSegher Boessenkool <segher@kernel.crashing.org>
Wed, 20 Jan 2021 19:00:22 +0000 (19:00 +0000)
commitf8c677776617ab91826af1d950b00d853eaff622
tree06992df7007f3ff6f87669ca6a1f3803d87df017
parent27c792895bd809115c1f70672835b7fdff74d318
rs6000: Fix rs6000_emit_le_vsx_store (PR98549)

One of the advantages of LRA is that you can create new pseudos from it
just fine.  The code in rs6000_emit_le_vsx_store was not aware of this.
This patch changes that, in the process fixing PR98549 (where it is
shown that we do call rs6000_emit_le_vsx_store during LRA, which we
used to assert can not happen).

2021-01-20  Segher Boessenkool  <segher@kernel.crashing.org>

* config/rs6000/rs6000.c (rs6000_emit_le_vsx_store): Change assert.
Adjust comment.  Simplify code.
gcc/config/rs6000/rs6000.c