[all-commits] [llvm/llvm-project] 87af9e: [RISCV] Use experimental.vp.splat to splat specifi...
Yeting Kuo via All-commits
all-commits at lists.llvm.org
Wed Jul 31 18:38:03 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 87af9ee870ad7ca93abced0b09459c3760dec891
https://github.com/llvm/llvm-project/commit/87af9ee870ad7ca93abced0b09459c3760dec891
Author: Yeting Kuo <46629943+yetingk at users.noreply.github.com>
Date: 2024-08-01 (Thu, 01 Aug 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVCodeGenPrepare.cpp
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-strided-vpload.ll
M llvm/test/CodeGen/RISCV/rvv/strided-vpload.ll
Log Message:
-----------
[RISCV] Use experimental.vp.splat to splat specific vector length elements. (#101329)
Previously, llvm IR is hard to create a scalable vector splat with a
specific vector length, so we use riscv.vmv.v.x and riscv.vmv.v.f to do
this work. But the two rvv intrinsics needs strict type constraint which
can not support fixed vector types and illegal vector types. Using
vp.splat could preserve old functionality and also generate more
optimized code for vector types and illegal vectors.
This patch also fixes crash for getEVT not serving ptr types.
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