aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/Local.cpp
diff options
context:
space:
mode:
authorZakk Chen <zakk.chen@sifive.com>2022-04-25 08:44:55 -0700
committerZakk Chen <zakk.chen@sifive.com>2022-04-25 09:18:41 -0700
commitffe03ff75c26d598ce71d19c5eacf528f63a670b (patch)
tree363701c82315311264e9e892010edb75ee20be28 /llvm/lib/Transforms/Utils/Local.cpp
parente8305c0b8f492272446d517e67d451f390d35dbe (diff)
downloadllvm-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