[all-commits] [llvm/llvm-project] 6523ff: [ValueTypes] Add MVTs for v256i16 and v256f16
Fraser Cormack via All-commits
all-commits at lists.llvm.org
Tue May 4 10:14:01 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6523ff6d4759b2bca7a0c056e31e4bb76caf7324
https://github.com/llvm/llvm-project/commit/6523ff6d4759b2bca7a0c056e31e4bb76caf7324
Author: Fraser Cormack <fraser at codeplay.com>
Date: 2021-05-04 (Tue, 04 May 2021)
Changed paths:
M llvm/include/llvm/CodeGen/ValueTypes.td
M llvm/include/llvm/Support/MachineValueType.h
M llvm/lib/CodeGen/ValueTypes.cpp
A llvm/test/CodeGen/RISCV/rvv/interleave-crash.ll
Log Message:
-----------
[ValueTypes] Add MVTs for v256i16 and v256f16
This patch adds the two MVTs to fix a legalizer crash when using vector
shuffles of <256 x i16> and <128 x i16> on RISC-V. The legalizer can't
promote the operand of `v256i32 = any_extend_vector_inreg v128i16`.
Reviewed By: craig.topper, RKSimon
Differential Revision: https://reviews.llvm.org/D101769
More information about the All-commits
mailing list