[PATCH] D136478: [LegalizeDAG][X86] Expand vector S/USHLSAT instead of unrolling.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 21 11:28:21 PDT 2022
craig.topper created this revision.
craig.topper added reviewers: spatel, RKSimon.
Herald added subscribers: StephenFan, pengfei, hiraditya.
Herald added a project: All.
craig.topper requested review of this revision.
Herald added a project: LLVM.
Not entirely sure if this is generaly good given X86's poor variable
shuffle support in earlier SSE versions.
These are very undertested intrinsics. I can improve that, but wanted
to get feedback if this generally made sense or if we needed a way
to limit to cases that have good variable shift support.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D136478
Files:
llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
llvm/test/CodeGen/X86/sshl_sat_vec.ll
llvm/test/CodeGen/X86/ushl_sat_vec.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136478.469704.patch
Type: text/x-patch
Size: 10545 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221021/b6c5b0b4/attachment.bin>
More information about the llvm-commits
mailing list