[all-commits] [llvm/llvm-project] 91feb1: ISel/AArch64: custom lower vector ISD::[L]LRINT (#...

Ramkumar Ramachandra via All-commits all-commits at lists.llvm.org
Fri May 10 12:51:41 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 91feb130d5cd3cafce94bbaf7ad67d1542623a75
      https://github.com/llvm/llvm-project/commit/91feb130d5cd3cafce94bbaf7ad67d1542623a75
  Author: Ramkumar Ramachandra <r at artagnon.com>
  Date:   2024-05-10 (Fri, 10 May 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.h
    A llvm/test/CodeGen/AArch64/sve-fixed-vector-llrint.ll
    A llvm/test/CodeGen/AArch64/sve-fixed-vector-lrint.ll
    A llvm/test/CodeGen/AArch64/sve-llrint.ll
    A llvm/test/CodeGen/AArch64/sve-lrint.ll
    M llvm/test/CodeGen/AArch64/vector-llrint.ll
    M llvm/test/CodeGen/AArch64/vector-lrint.ll

  Log Message:
  -----------
  ISel/AArch64: custom lower vector ISD::[L]LRINT (#89035)

Since 98c90a1 (ISel: introduce vector ISD::LRINT, ISD::LLRINT; custom
RISCV lowering), ISD::LRINT and ISD::LLRINT now have vector variants,
that are custom lowered on RISCV, and scalarized on all other targets.
Since 2302e4c (Reland "VectorUtils: mark xrint as trivially
vectorizable"), lrint and llrint are trivially vectorizable, so all the
vectorizers in-tree will produce vector variants when possible. Add a
custom lowering for AArch64 to custom-lower the vector variants natively
using a combination of frintx, fcvte, and fcvtzs.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list