[LegalizeVectorOps][X86][RISCV] Expand vector S/USHLSAT instead of unrolling.
authorCraig Topper <craig.topper@sifive.com>
Thu, 27 Oct 2022 15:52:05 +0000 (08:52 -0700)
committerCraig Topper <craig.topper@sifive.com>
Thu, 27 Oct 2022 16:09:36 +0000 (09:09 -0700)
commit00d93def778afa7fd117e615e4f6fb7645e25f49
tree7d652bdf8c737aefb34dfc64f1ae7f7ba0b06806
parent4e10b2bee71a45ffbf07fcce00d24ddf51867a0c
[LegalizeVectorOps][X86][RISCV] Expand vector S/USHLSAT instead of unrolling.

Reviewed By: RKSimon

Differential Revision: https://reviews.llvm.org/D136478
llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
llvm/test/CodeGen/RISCV/rvv/sshl_sat_vec.ll
llvm/test/CodeGen/RISCV/rvv/ushl_sat_vec.ll
llvm/test/CodeGen/X86/sshl_sat_vec.ll
llvm/test/CodeGen/X86/ushl_sat_vec.ll