[all-commits] [llvm/llvm-project] 5e1d81: LegalizeIntegerTypes: implement PromoteIntRes for ...

Ramkumar Ramachandra via All-commits all-commits at lists.llvm.org
Thu Nov 2 08:54:10 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5e1d81ac680482eef401f944bccb6cf03bc7115f
      https://github.com/llvm/llvm-project/commit/5e1d81ac680482eef401f944bccb6cf03bc7115f
  Author: Ramkumar Ramachandra <Ramkumar.Ramachandra at imgtec.com>
  Date:   2023-11-02 (Thu, 02 Nov 2023)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
    A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-llrint.ll
    A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-lrint.ll

  Log Message:
  -----------
  LegalizeIntegerTypes: implement PromoteIntRes for xrint (#71055)

Recently, 98c90a1 (ISel: introduce vector ISD::LRINT, ISD::LLRINT;
custom RISCV lowering) introduced vector variants of llvm.lrint,
llvm.llrint, and bundled several tests along with the code change.
However, it forgot to test lrint and llrint on fixed vectors on RISC-V,
and it turns out that that fixed-vectors-lrint.ll requires
PromoteIntRes_XRINT to be implemented. Implement it, and add tests for
fixed-vector lrint, llrint.




More information about the All-commits mailing list