projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b39e33f
)
Size reduction for tPUSH come from t2STMDB_UPD, not t2STMIA_UPD.
author
Jim Grosbach
<grosbach@apple.com>
Fri, 3 Dec 2010 18:31:03 +0000
(18:31 +0000)
committer
Jim Grosbach
<grosbach@apple.com>
Fri, 3 Dec 2010 18:31:03 +0000
(18:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120822
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/Thumb2SizeReduction.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/Thumb2SizeReduction.cpp
b/lib/Target/ARM/Thumb2SizeReduction.cpp
index 4e82c57dcaa6fec57f28250490e9e8278a026e37..950c95ab1cb91e743dc4a6802e2b4d1dcba60ebe 100644
(file)
--- a/
lib/Target/ARM/Thumb2SizeReduction.cpp
+++ b/
lib/Target/ARM/Thumb2SizeReduction.cpp
@@
-125,7
+125,8
@@
namespace {
{ ARM::t2LDMIA_RET,0, ARM::tPOP_RET, 0, 0, 1, 1, 1,1, 1 },
{ ARM::t2LDMIA_UPD,ARM::tLDMIA_UPD,ARM::tPOP,0, 0, 1, 1, 1,1, 1 },
// ARM::t2STM (with no basereg writeback) has no Thumb1 equivalent
- { ARM::t2STMIA_UPD,ARM::tSTMIA_UPD,ARM::tPUSH,0, 0, 1, 1, 1,1, 1 },
+ { ARM::t2STMIA_UPD,ARM::tSTMIA_UPD, 0, 0, 0, 1, 1, 1,1, 1 },
+ { ARM::t2STMDB_UPD, 0, ARM::tPUSH, 0, 0, 1, 1, 1,1, 1 },
};
class Thumb2SizeReduce : public MachineFunctionPass {