[all-commits] [llvm/llvm-project] 5bfd89: VectorUtils: mark lrint, llrint as trivially vecto...
Ramkumar Ramachandra via All-commits
all-commits at lists.llvm.org
Tue Oct 31 14:29:29 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5bfd89bda7c2d5ff167c7bcea0c8d69b0b498f08
https://github.com/llvm/llvm-project/commit/5bfd89bda7c2d5ff167c7bcea0c8d69b0b498f08
Author: Ramkumar Ramachandra <Ramkumar.Ramachandra at imgtec.com>
Date: 2023-10-31 (Tue, 31 Oct 2023)
Changed paths:
M llvm/lib/Analysis/VectorUtils.cpp
M llvm/test/Transforms/LoopVectorize/intrinsic.ll
M llvm/test/Transforms/SLPVectorizer/RISCV/fround.ll
M llvm/test/Transforms/Scalarizer/intrinsics.ll
Log Message:
-----------
VectorUtils: mark lrint, llrint as trivially vectorizable (#69945)
With the recent change 98c90a13 (ISel: introduce vector ISD::LRINT,
ISD::LLRINT; custom RISCV lowering), it is now possible for
SLPVectorizer, LoopVectorize, and Scalarizer to operate on llvm.lrint
and llvm.llrint, with vector codegen for the RISC-V target. Make a
trivial change to VectorUtils, and update the corresponding tests.
More information about the All-commits
mailing list