OSDN Git Service

Fix merges of non-zero vector stores
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 11 Jun 2015 16:03:52 +0000 (16:03 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 11 Jun 2015 16:03:52 +0000 (16:03 +0000)
commit564ff6478c3eb44c8d80e275d4da57691f715e29
treeaf9fe40287508928f3bb2aacec3989a66f8b6288
parentf0e3a9c174138ed77f0e5280b5fa735e9b6d5202
Fix merges of non-zero vector stores

Now actually stores the non-zero constant instead of 0.
I somehow forgot to include this part of r238108.

The test change was just an independent instruction order swap,
so just add another check line to satisfy CHECK-NEXT.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239539 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/R600/merge-stores.ll
test/CodeGen/X86/2012-11-28-merge-store-alias.ll