aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Signposts.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2021-02-24 10:06:43 -0800
committerCraig Topper <craig.topper@sifive.com>2021-02-24 10:17:00 -0800
commit086670d367869e62a3c5dffe3cd9bed04a5898c2 (patch)
treea952b23f9b1d8bf00d40fa2a843f0d93159cedf3 /llvm/lib/Support/Signposts.cpp
parent2a5aa81739d31959600978c0f11332823010a754 (diff)
downloadllvm-086670d367869e62a3c5dffe3cd9bed04a5898c2.zip
llvm-086670d367869e62a3c5dffe3cd9bed04a5898c2.tar.gz
llvm-086670d367869e62a3c5dffe3cd9bed04a5898c2.tar.bz2
[RISCV] Support fixed vector extract element. Use VL=1 for scalable vector extract element.
I've changed to use VL=1 for slidedown and shifts to avoid extra element processing that we don't need. The i64 fixed vector handling on i32 isn't great if the vector type isn't legal due to an ordering issue in type legalization. If the vector type isn't legal, we fall back to default legalization which will bitcast the vector to vXi32 and use two independent extracts. Doing better will require handling several different cases by manually inserting insert_subvector/extract_subvector to adjust the type to a legal vector before emitting custom nodes. Reviewed By: frasercrmck Differential Revision: https://reviews.llvm.org/D97319
Diffstat (limited to 'llvm/lib/Support/Signposts.cpp')
0 files changed, 0 insertions, 0 deletions