[PATCH] Use broadcasts to optimize overall size when loading constant splat vectors (x86-64 with AVX or AVX2)
Sanjay Patel
spatel at rotateright.com
Thu Sep 18 12:36:58 PDT 2014
Use patterns (thanks, Elena!) instead of code to handle just the cases we want to optimize for size.
With this patch, the actual code changed is only in the 2 'if' statements that guard the generation of the VBROADCAST node.
http://reviews.llvm.org/D5347
Files:
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86InstrSSE.td
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5347.13843.patch
Type: text/x-patch
Size: 3550 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140918/557fa55d/attachment.bin>
More information about the llvm-commits
mailing list