summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-06-04 19:28:09 +0000
committerCraig Topper <craig.topper@intel.com>2018-06-04 19:28:09 +0000
commit95ed88a1a93cdc15cf02e25849a6b5a8c2be3bb8 (patch)
tree35767485dad9ea7a3588cf993ba3f4a7c1cc382c /llvm/lib
parentda661e9236bd0f23fe8ab9a4ee491702d4044657 (diff)
downloadbcm5719-llvm-95ed88a1a93cdc15cf02e25849a6b5a8c2be3bb8.tar.gz
bcm5719-llvm-95ed88a1a93cdc15cf02e25849a6b5a8c2be3bb8.zip
[X86] Avoid passing _mm_undefined* to builtin_shufflevector if we are able to pass the first input a second time.
This is more consistent with other usages of builtin_shufflevector. Later optimization passes or codegen will detect the duplicate vector and replace it with undef. Using _mm_undefined just puts a zeroinitializer that still needs to be optimized out later. llvm-svn: 333944
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud