Teach InstCombine to optimize extract of a value from a vector add operation with...
authorNadav Rotem <nrotem@apple.com>
Tue, 15 Jan 2013 23:43:14 +0000 (23:43 +0000)
committerNadav Rotem <nrotem@apple.com>
Tue, 15 Jan 2013 23:43:14 +0000 (23:43 +0000)
commit83d585383345b84ae4a9590e97135f95ae39406b
treeede090ffa5262d09f5d33c13af870704eacf283e
parent9ccb76998f741a7d3f0f217392a783dfb99c6e87
Teach InstCombine to optimize extract of a value from a vector add operation with a constant zero.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172576 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineVectorOps.cpp
test/Transforms/InstCombine/vec_extract_elt.ll