commit | a63585a8f5fab55a4cd412eec632a98392b640ea | [log] [tgz] |
---|---|---|
author | Robert Lougher <rob.lougher@gmail.com> | Tue Feb 11 15:42:46 2014 +0000 |
committer | Robert Lougher <rob.lougher@gmail.com> | Tue Feb 11 15:42:46 2014 +0000 |
tree | d834d3c267a85f7ccf4556a08fb08e4cf475f7bc | |
parent | 79ced8c5fa4e88394a9c4577537af4044d7a29f9 [diff] |
Teach the DAGCombiner how to fold concat_vector nodes when the input is two BUILD_VECTOR nodes, e.g.: (concat_vectors (BUILD_VECTOR a1, a2, a3, a4), (BUILD_VECTOR b1, b2, b3, b4)) -> (BUILD_VECTOR a1, a2, a3, a4, b1, b2, b3, b4) This fixes an issue with AVX, where a sequence was not recognized as a 256-bit vbroadcast due to the concat_vectors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201158 91177308-0d34-0410-b5e6-96231b3b80d8