]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r267704:
authordim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 24 Jun 2014 06:12:11 +0000 (06:12 +0000)
committerdim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 24 Jun 2014 06:12:11 +0000 (06:12 +0000)
commitce4f76d8b6e828ab26c22cdefebe3ce556d92a40
tree98be8a02a9e13d19de0d112aad7ad8a105fbef26
parentf431503491f420a78739f97cde4f62326d6ff073
MFC r267704:

Pull in r211435 from upstream llvm trunk (by Benjamin Kramer):

  Legalizer: Add support for splitting insert_subvectors.

  We handle this by spilling the whole thing to the stack and doing the
  insertion as a store.

  PR19492. This happens in real code because the vectorizer creates
  v2i128 when AVX is enabled.

This fixes a "fatal error: error in backend: Do not know how to split
the result of this operator!" message encountered during compilation of
the net-p2p/libtorrent-rasterbar port.

Reported by: Evgeniy <iron@mail.ua>

MFC r267705:

Add the llvm patch for r267704.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267813 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
contrib/llvm/patches/patch-r267704-llvm-r211435-fix-avx-backend.diff [new file with mode: 0644]