]> granicus.if.org Git - llvm/commit
[X86] Add test cases for missed opportunities to use pack instructions for 512->256...
authorCraig Topper <craig.topper@intel.com>
Wed, 7 Aug 2019 20:54:46 +0000 (20:54 +0000)
committerCraig Topper <craig.topper@intel.com>
Wed, 7 Aug 2019 20:54:46 +0000 (20:54 +0000)
commitf5b21a68e43aa99685d9c34f70b6c5bc041720fa
tree274ce2cdd8f38eeda48fa1fa5e0156e37194bc98
parent888f17efa6b75ef63379336397329a09df0da30d
[X86] Add test cases for missed opportunities to use pack instructions for 512->256 truncates with prefer-vector-width=256

If the 512-bit vectors are going to be split anyway, then we are
better off using pack to implicitly concatenate the 256 bit pieces.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368207 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/X86/min-legal-vector-width.ll