commit | 854572da4c6d76251648160a02d813894a6fdf5f | [log] [tgz] |
---|---|---|
author | Simon Pilgrim <llvm-dev@redking.me.uk> | Tue Sep 06 16:42:05 2016 +0000 |
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | Tue Sep 06 16:42:05 2016 +0000 |
tree | e71b83f49aa4f35db0aed349e26e6ced22f3ed32 | |
parent | 6050b768b6d03212aad1bcf4c801c9f7fe5195bc [diff] |
[SelectionDAG] Simplify extract_subvector( insert_subvector ( Vec, In, Idx ), Idx ) -> In If we are extracting a subvector that has just been inserted then we should just use the original inserted subvector. This has come up in certain several x86 shuffle lowering cases where we are crossing 128-bit lanes. Differential Revision: https://reviews.llvm.org/D24254 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@280715 91177308-0d34-0410-b5e6-96231b3b80d8