commit | 84387ea5f547f3b63dc701fdcac163b8dc797e5d | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Tue Mar 13 22:00:52 2012 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Tue Mar 13 22:00:52 2012 +0000 |
tree | 7fc52ddec9ad9ce460ffd89810267a170527c274 | |
parent | f210b68b41704cb602feffa4ebb334220abda407 [diff] |
DAG combine incorrectly optimize (i32 vextract (v4i16 load $addr), c) to (i16 load $addr+c*sizeof(i16)) and replace uses of (i32 vextract) with the i16 load. It should issue an extload instead: (i32 extload $addr+c*sizeof(i16)). rdar://11035895 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152675 91177308-0d34-0410-b5e6-96231b3b80d8