[x86] Fix wrong shuffle mask in test 'combine-vec-shuffle-3.ll'. No functional change.
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Sat, 19 Jul 2014 07:52:58 +0000 (07:52 +0000)
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Sat, 19 Jul 2014 07:52:58 +0000 (07:52 +0000)
commit5bc21c3b57273921600b86d5ce45569b642871ad
treeb64f48e5b500dfd64d51793f052e522dc1ec9c08
parent07adbf3a870ab0ca8eb11534940aed2bf64af695
[x86] Fix wrong shuffle mask in test 'combine-vec-shuffle-3.ll'. No functional change.

Function @test3c should check that the DAGCombiner is able to fold a pair of
shuffles into a new shuffle with a permute mask of <6,7,2,3>. However, one of
the shuffles in @test3c had a wrong permute mask; this prevented the DAGCombiner
from folding the shuffles into the expected result.
Now that the shuffle mask is fixed, the backend correctly folds the two shuffles
in function @test3c into a single movhlps instruction.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213451 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/X86/combine-vec-shuffle-3.ll