]> granicus.if.org Git - llvm/commit
Merging r226711:
authorHans Wennborg <hans@hanshq.net>
Fri, 23 Jan 2015 17:47:22 +0000 (17:47 +0000)
committerHans Wennborg <hans@hanshq.net>
Fri, 23 Jan 2015 17:47:22 +0000 (17:47 +0000)
commit913134bde6c29a8e2fdbb5e17e904bbc5c4abcc5
tree73bc210ea8b3b9d571d4158dbe24ae3cf66bf749
parent4f7a137d6124f56313b4359d9c584651523d7236
Merging r226711:
------------------------------------------------------------------------
r226711 | jroelofs | 2015-01-21 14:39:43 -0800 (Wed, 21 Jan 2015) | 8 lines

Fix load-store optimizer on thumbv4t

Thumbv4t does not have lo->lo copies other than MOVS,
and that can't be predicated. So emit MOVS when needed
and bail if there's a predicate.

http://reviews.llvm.org/D6592

------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_36@226918 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMLoadStoreOptimizer.cpp
test/CodeGen/ARM/2015-01-21-thumbv4t-ldstr-opt.ll [new file with mode: 0644]