author | Jonathan Roelofs <jonathan@codesourcery.com> | |
Wed, 21 Jan 2015 22:39:43 +0000 (22:39 +0000) | ||
committer | Jonathan Roelofs <jonathan@codesourcery.com> | |
Wed, 21 Jan 2015 22:39:43 +0000 (22:39 +0000) | ||
commit | cab5680f6c75867afa51dddc8dc8f4e3188e4d37 | |
tree | d95be1c7707d5aae6f20b2a6adc29f7af282698a | tree | snapshot (tar.xz tar.gz zip) |
parent | 448c4942e75e109692919e1a1a10ad8b2f0e3ae0 | commit | diff |
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/trunk@226711 91177308-0d34-0410-b5e6-96231b3b80d8
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/trunk@226711 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMLoadStoreOptimizer.cpp | diff | blob | history | |
test/CodeGen/ARM/2015-01-21-thumbv4t-ldstr-opt.ll | [new file with mode: 0644] | blob |