commit | c6654ec498698919ae8388c53fe91d0366ac24c7 | [log] [tgz] |
---|---|---|
author | Mon P Wang <wangmp@apple.com> | Mon Feb 01 19:03:18 2010 +0000 |
committer | Mon P Wang <wangmp@apple.com> | Mon Feb 01 19:03:18 2010 +0000 |
tree | c3608b4f5d1cf0405958b6e73288a8c83a750884 | |
parent | a00ef1122c6364c7f54a1c428654fea5d9097e56 [diff] |
Fixed a couple of optimization with EXTRACT_VECTOR_ELT that assumes the result type is the same as the element type of the vector. EXTRACT_VECTOR_ELT can be used to extended the width of an integer type. This fixes a bug for Generic/vector-casts.ll on a ppc750. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94990 91177308-0d34-0410-b5e6-96231b3b80d8