commit | 7c4efa6808b737b2bfc7c79872b9c16f566a7d8a | [log] [tgz] |
---|---|---|
author | Mon P Wang <wangmp@apple.com> | Thu Aug 13 05:12:13 2009 +0000 |
committer | Mon P Wang <wangmp@apple.com> | Thu Aug 13 05:12:13 2009 +0000 |
tree | 6995406b42919084dbae9759766bd52173ad2ad0 | |
parent | b808588a3a5febe931896b3779d159ba90d836f7 [diff] |
When InstCombine simplifies a load -> extract element to gep -> load, place the new load by the old load instead of by the extract element because a store could have occurred between the load and extract element. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78891 91177308-0d34-0410-b5e6-96231b3b80d8