summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/pointer-vector.ll
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2017-02-05 18:33:14 +0000
committerCraig Topper <craig.topper@gmail.com>2017-02-05 18:33:14 +0000
commit6a35a81fc52a4751e2d14fad0ff364cd7fdbe6dc (patch)
treef1bc3b51312a2345eb8407a4c2b5364b42d0bb8e /llvm/test/CodeGen/X86/pointer-vector.ll
parent76ca8c2b347d6b2792ab31763c38cdb3b8b6532b (diff)
downloadbcm5719-llvm-6a35a81fc52a4751e2d14fad0ff364cd7fdbe6dc.tar.gz
bcm5719-llvm-6a35a81fc52a4751e2d14fad0ff364cd7fdbe6dc.zip
[X86] In LowerTRUNCATE, create an ISD::VECTOR_SHUFFLE instead of explicitly creating a PSHUFB. This will be lowered by regular shuffle lowering to a PSHUFB later.
Similar was already done for several other shuffles in this function. The test changes are because the old code used explicity zeroing for elements that could have been undef. While I was here I also changed other shuffle vectors in the same function to use the same input twice instead of creating UNDEF nodes. getVectorShuffle can create the UNDEF for us. llvm-svn: 294130
Diffstat (limited to 'llvm/test/CodeGen/X86/pointer-vector.ll')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud