diff options
author | Robert Lougher <rob.lougher@gmail.com> | 2014-02-11 15:42:46 +0000 |
---|---|---|
committer | Robert Lougher <rob.lougher@gmail.com> | 2014-02-11 15:42:46 +0000 |
commit | 7d9084ffa13aabb4e3f7f6bd8d8263dce982421e (patch) | |
tree | a4320aa05e50955bfda075310488e9800abff5a8 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 2228cd3f070da33be9e8ae456858ac5f2bd59679 (diff) | |
download | llvm-7d9084ffa13aabb4e3f7f6bd8d8263dce982421e.zip llvm-7d9084ffa13aabb4e3f7f6bd8d8263dce982421e.tar.gz llvm-7d9084ffa13aabb4e3f7f6bd8d8263dce982421e.tar.bz2 |
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.
llvm-svn: 201158
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions