diff options
author | Luke Lau <luke@igalia.com> | 2024-11-25 18:28:46 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-25 11:28:46 +0100 |
commit | 15fadeb2aa8b9f27a5a45f15832e73ef79cfe407 (patch) | |
tree | 0fd293af191cd133e6151c0817c2fd0e09dadf7a /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | f81f47e3ff29598fdf58cde94ccf2c7d4be53df5 (diff) | |
download | llvm-15fadeb2aa8b9f27a5a45f15832e73ef79cfe407.zip llvm-15fadeb2aa8b9f27a5a45f15832e73ef79cfe407.tar.gz llvm-15fadeb2aa8b9f27a5a45f15832e73ef79cfe407.tar.bz2 |
[RISCV] Add cost for @llvm.experimental.vp.splat (#117313)
This is split off from #115274. There doesn't seem to be an easy way to
share this with getShuffleCost since that requires passing in a real
insert_element operand to get it to recognise it's a scalar splat.
For i1 vectors we can't currently lower them so it returns an invalid
cost.
---------
Co-authored-by: Shih-Po Hung <shihpo.hung@sifive.com>
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions