rtl: directly handle MEM in gen_highpart [PR102125]
authorRichard Earnshaw <rearnsha@arm.com>
Thu, 9 Sep 2021 09:56:01 +0000 (10:56 +0100)
committerRichard Earnshaw <rearnsha@arm.com>
Mon, 13 Sep 2021 10:26:47 +0000 (11:26 +0100)
commit408e8b906632f215f6652b8851bba612cde07c25
tree81192ff3c414005b02b317432a5409fcfe80a852
parentc012297c9d5dfb177adf1423bdd05e5f4b87e5ec
rtl: directly handle MEM in gen_highpart [PR102125]

gen_lowpart_general handles forming a lowpart of a MEM by using
adjust_address to rework and validate a new version of the MEM.
Do the same for gen_highpart rather than calling simplify_gen_subreg
for this case.

gcc/ChangeLog:

PR target/102125
* emit-rtl.c (gen_highpart): Use adjust_address to handle
MEM rather than calling simplify_gen_subreg.
gcc/emit-rtl.c