https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66012
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Happens on aarch64 also: test: adrp x0, l add x1, x0, :lo12:l ldr x1, [x1, 8] ldr w0, [x0, #:lo12:l] orr x0, x0, x1, lsl 32 ret
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66012
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Happens on aarch64 also: test: adrp x0, l add x1, x0, :lo12:l ldr x1, [x1, 8] ldr w0, [x0, #:lo12:l] orr x0, x0, x1, lsl 32 ret