[Bug target/115969] [15 regression] ICE when building clang-16.0.6 on arm64 (output_operand: invalid expression as operand)
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jul 18 03:03:14 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115969
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #6)
> The problem is here:
> ```
> /* Return TRUE if OP is a valid vector addressing mode. */
>
> bool
> aarch64_simd_mem_operand_p (rtx op)
> {
> return MEM_P (op) && (GET_CODE (XEXP (op, 0)) == POST_INC
> || REG_P (XEXP (op, 0)));
> }
> ```
>
> It does not check the mem address to be correct..
Maybe that should use aarch64_classify_address ...
This has been latent since aarch64 backend was added too.
More information about the Gcc-bugs
mailing list