[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:24:54 PDT 2020


spatel updated this revision to Diff 263411.
spatel retitled this revision from "[CGP] include funnel shift intrinsic when sinking splatted operands" to "[x86][CGP] enable target hook to sink funnel shift intrinsic's splatted shift amount".
spatel edited the summary of this revision.
spatel added a comment.

Patch completely revised:
Don't build on the broken CGP code for shifts. Enable the TLI hook for shouldSinkOperands() instead, and limit this transform to splats of the funnel shift amount operand only.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79718/new/

https://reviews.llvm.org/D79718

Files:
  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.263411.patch
Type: text/x-patch
Size: 14491 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200512/93bfad2a/attachment.bin>


More information about the llvm-commits mailing list