[PATCH] D115457: [AArch64] Convert sra(X, elt_size(X)-1) to cmlt(X, 0)
Alexandros Lamprineas via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 14 01:51:38 PST 2021
labrinea added inline comments.
================
Comment at: llvm/lib/Target/AArch64/AArch64InstrInfo.td:4815
defm CMLE : SIMDCmpTwoScalarD< 1, 0b01001, "cmle", AArch64cmlez>;
defm CMLT : SIMDCmpTwoScalarD< 0, 0b01010, "cmlt", AArch64cmltz>;
defm FCMEQ : SIMDFPCmpTwoScalar<0, 1, 0b01101, "fcmeq", AArch64fcmeqz>;
----------------
dmgreen wrote:
> There is a v1i64 CMLT here if you want to add the pattern for that too. v1 types usually matter less but it may be good to have it for consistency.
There is no `1D` variant if that's what you meant. According to ArmARM the encoding (size = 11 , Q = 0) is reserved.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115457/new/
https://reviews.llvm.org/D115457
More information about the llvm-commits
mailing list