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)
commit7df850924d07849d313a90d79ff52e1e5ae55c68
treea5d51e9cfb943240e7b9dd00769f0b0e419537da
parentcaa7df49a96c05009e8a64058b6eb765ecc711b7
Teach InstCombine to optimize extract of a value from a vector add operation with a constant zero.

llvm-svn: 172576
llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
llvm/test/Transforms/InstCombine/vec_extract_elt.ll