llvm-project
c62d5f35 - [AArch64] Avoid folding sign-extend of vector extracts into ALU ops (#183522)

Commit
88 days ago
[AArch64] Avoid folding sign-extend of vector extracts into ALU ops (#183522) This breaks a tie where the `SEXT_IN_REG` in an expression like `SUB(0, SEXT_IN_REG(VECTOR_EXTRACT(..))` can fold into the `SUB` or the `VECTOR_EXTRACT`. Currently, the `SUB` is always preferred, but it's better to fold the `SEXT_IN_REG` into the `VECTOR_EXTRACT` extract, which allows for `SMOV` to be used.
Author
Parents
Loading