[PATCH] D41908: [X86][MMX] Add support for MMX zero vector creation
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 10 09:18:46 PST 2018
RKSimon created this revision.
RKSimon added reviewers: craig.topper, zvi, spatel, kromanova, efriedma.
As mentioned on PR35869, (and came up recently on https://reviews.llvm.org/D41517) we don't create a MMX zero register via the PXOR but instead perform a spill to stack from a xmm zero register.
This patch adds support for direct MMX zero vector creation and should make it easier to add better constant vector creation in the future as well.
Repository:
rL LLVM
https://reviews.llvm.org/D41908
Files:
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86InstrInfo.cpp
lib/Target/X86/X86InstrMMX.td
test/CodeGen/X86/vector-shuffle-mmx.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41908.129285.patch
Type: text/x-patch
Size: 6870 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180110/437d84f5/attachment.bin>
More information about the llvm-commits
mailing list