[X86] Fix missed selection of non-temporal store of zero vector.
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Fri, 17 Oct 2014 17:27:06 +0000 (17:27 +0000)
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Fri, 17 Oct 2014 17:27:06 +0000 (17:27 +0000)
commit5512b50db5c3db496ca8390850595c6ffdfff73d
tree2c523cdf1f4a4fe92ede3baa8eb2cbf80063cf40
parent7023b851872f637a45d1698e5a8881aa46b21de5
[X86] Fix missed selection of non-temporal store of zero vector.

When the input to a store instruction was a zero vector, the backend
always selected a normal vector store regardless of the non-temporal
hint. This is fixed by this patch.

This fixes PR19370.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220054 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrSSE.td
test/CodeGen/X86/nontemporal-2.ll [new file with mode: 0644]