diff options
author | Zakk Chen <zakk.chen@sifive.com> | 2022-04-25 08:44:55 -0700 |
---|---|---|
committer | Zakk Chen <zakk.chen@sifive.com> | 2022-04-25 09:18:41 -0700 |
commit | ffe03ff75c26d598ce71d19c5eacf528f63a670b (patch) | |
tree | 363701c82315311264e9e892010edb75ee20be28 /llvm/lib/Transforms/Utils/Local.cpp | |
parent | e8305c0b8f492272446d517e67d451f390d35dbe (diff) | |
download | llvm-ffe03ff75c26d598ce71d19c5eacf528f63a670b.zip llvm-ffe03ff75c26d598ce71d19c5eacf528f63a670b.tar.gz llvm-ffe03ff75c26d598ce71d19c5eacf528f63a670b.tar.bz2 |
[RISCV] Fix incorrect policy implement for unmasked vslidedown and vslideup.
vslideup works by leaving elements 0<i<OFFSET undisturbed.
so it need the destination operand as input for correctness
regardless of policy. Add a operand to indicate policy.
We also add policy operand for unmaksed vslidedown to keep the interface consistent with vslideup
because vslidedown have only undisturbed at 0<i<vstart but user have no way to control of vstart.
Reviewed By: rogfer01, craig.topper
Differential Revision: https://reviews.llvm.org/D124186
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions