diff options
author | Craig Topper <craig.topper@sifive.com> | 2021-04-11 09:40:13 -0700 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2021-04-11 10:00:38 -0700 |
commit | 48d69edadef1e4155106b183cd7219a1086454fe (patch) | |
tree | e58be6b9e741eec45fbb8ee35dcf1315475f5ce8 /llvm/lib/Transforms/Utils/Local.cpp | |
parent | 91248e2db93a896a374098703567b0b1c8b1ad86 (diff) | |
download | llvm-48d69edadef1e4155106b183cd7219a1086454fe.zip llvm-48d69edadef1e4155106b183cd7219a1086454fe.tar.gz llvm-48d69edadef1e4155106b183cd7219a1086454fe.tar.bz2 |
[RISCV] Add i8 and i16 srli and srai tests to Zbb/Zbp test files. NFC
These require the input to be zero or sign extended. If we have
sext.b, sext.h or zext.h instructions we can use them. Otherwise
we need to use a pair of shifts to accomplish the zero/sign extend
and the final shift.
We don't currently use zext.h when it is available.
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions