diff options
author | Craig Topper <craig.topper@sifive.com> | 2021-04-21 20:15:39 -0700 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2021-04-21 20:24:23 -0700 |
commit | f6d8cf7798440f303d5a273999e6647cbe795ac6 (patch) | |
tree | 202f97326d81ad95eaca3584927aae04ebd23ece /llvm/lib/CodeGen/MachineFunctionSplitter.cpp | |
parent | 77ca2a689368e3a27a72b432ab93c9c352d73073 (diff) | |
download | llvm-f6d8cf7798440f303d5a273999e6647cbe795ac6.zip llvm-f6d8cf7798440f303d5a273999e6647cbe795ac6.tar.gz llvm-f6d8cf7798440f303d5a273999e6647cbe795ac6.tar.bz2 |
[RISCV] Teach lowerSPLAT_VECTOR_PARTS to detect cases where Hi is sign extended from Lo.
This recognizes the case when Hi is (sra Lo, 31). We can use
SPLAT_VECTOR_I64 rather than splatting the high bits and
combining them in the vector register.
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunctionSplitter.cpp')
0 files changed, 0 insertions, 0 deletions