diff options
author | Luke Lau <luke@igalia.com> | 2024-02-26 19:33:44 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-26 19:33:44 +0800 |
commit | b4b490496ab8994fee41005471d075812bdb3a65 (patch) | |
tree | 40418d5d2551061e5dbd61515672989389c48214 /llvm/lib/CodeGen/CodeGen.cpp | |
parent | bb87c914fec6526fbda81991ce0d35e60040ab9f (diff) | |
download | llvm-b4b490496ab8994fee41005471d075812bdb3a65.zip llvm-b4b490496ab8994fee41005471d075812bdb3a65.tar.gz llvm-b4b490496ab8994fee41005471d075812bdb3a65.tar.bz2 |
[RISCV] Fix insert_subvector with fixed vector type creating invalid node (#82975)
If the vector type is a fixed vector type, we convert it to a container
scalable vector type to compute its reg class. But we need to keep the
old
fixed type so we create a result node with the same type.
This code path is currently dead so I haven't been able to create a test
case
for it. But I have an upcoming patch for insert_subvector lowering that
will
exercise this.
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions