[PATCH] D79718: [x86][CGP] enable target hook to sink funnel shift intrinsic's splatted shift amount
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 12 06:57:18 PDT 2020
spatel updated this revision to Diff 263417.
spatel added a comment.
Patch updated:
I accidentally left off the header file comment diffs. I think those updates still make sense because we're expanding the usage of the existing TLI hook to include funnel shifts. Not sure yet if we can remove that isVectorShiftByScalarCheap() hook entirely since it is used in another spot in CGP.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D79718/new/
https://reviews.llvm.org/D79718
Files:
llvm/include/llvm/CodeGen/TargetLowering.h
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/lib/Target/X86/X86ISelLowering.h
llvm/test/CodeGen/X86/vector-fshl-128.ll
llvm/test/Transforms/CodeGenPrepare/X86/x86-shuffle-sink.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79718.263417.patch
Type: text/x-patch
Size: 15833 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200512/ed2af783/attachment.bin>
More information about the llvm-commits
mailing list