[all-commits] [llvm/llvm-project] fc0b67: [RISCV] Add cost model tests for llvm.vector.{inse...
Luke Lau via All-commits
all-commits at lists.llvm.org
Wed Feb 14 20:18:36 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fc0b67e1d79d1f199687f8f06d619984d9520230
https://github.com/llvm/llvm-project/commit/fc0b67e1d79d1f199687f8f06d619984d9520230
Author: Luke Lau <luke at igalia.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
A llvm/test/Analysis/CostModel/RISCV/rvv-vectorextract.ll
A llvm/test/Analysis/CostModel/RISCV/rvv-vectorinsert.ll
Log Message:
-----------
[RISCV] Add cost model tests for llvm.vector.{insert,extract}. NFC
For llvm.vector.extract, this tests combinations of inserting at a zero and
non-zero index, and extracting from a fixed or scalable vector.
For llvm.vector.insert, this tests the same combinations as extracts but with
an additional configuration for an undef vector. This is because we can use a
subregister insert if the index is 0 and the vector is undef, which should be
free.
More information about the All-commits
mailing list