diff options
author | Jan Voung <jvoung@chromium.org> | 2012-10-03 11:54:07 -0700 |
---|---|---|
committer | Jan Voung <jvoung@chromium.org> | 2012-10-03 11:54:07 -0700 |
commit | 8213d6e4486acc251dc28e91dda01ce090121f06 (patch) | |
tree | 8b2de8f235d0dcb3159e3085f39e131ae1b8da17 /lib/Target/ARM/ARMLoadStoreOptimizer.cpp | |
parent | b3423dd295c69f78bd731f1ad65ad90ce3efa36f (diff) |
Remove a localmod that may have disabled an ARMLoadStore
optimization more often than necessary. The upstream fix was
merged in a while back.
BUG= http://code.google.com/p/nativeclient/issues/detail?id=2575
TEST= pnacl/test.sh test-arm-sbtc toolchain_tests && spec translator test on arm for gcc and eon.
Review URL: https://codereview.chromium.org/11051017
Diffstat (limited to 'lib/Target/ARM/ARMLoadStoreOptimizer.cpp')
-rw-r--r-- | lib/Target/ARM/ARMLoadStoreOptimizer.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/Target/ARM/ARMLoadStoreOptimizer.cpp b/lib/Target/ARM/ARMLoadStoreOptimizer.cpp index 96bac06d34..0c1b344e0d 100644 --- a/lib/Target/ARM/ARMLoadStoreOptimizer.cpp +++ b/lib/Target/ARM/ARMLoadStoreOptimizer.cpp @@ -544,12 +544,6 @@ static bool isMatchingDecrement(MachineInstr *MI, unsigned Base, break; } - // @LOCALMOD-BEGIN - // BUG= http://code.google.com/p/nativeclient/issues/detail?id=2575 - if (MI->hasOptionalDef()) - return false; - // @LOCALMOD-END - // Make sure the offset fits in 8 bits. if (Bytes == 0 || (Limit && Bytes >= Limit)) return false; @@ -583,12 +577,6 @@ static bool isMatchingIncrement(MachineInstr *MI, unsigned Base, break; } - // @LOCALMOD-BEGIN - // BUG= http://code.google.com/p/nativeclient/issues/detail?id=2575 - if (MI->hasOptionalDef()) - return false; - // @LOCALMOD-END - if (Bytes == 0 || (Limit && Bytes >= Limit)) // Make sure the offset fits in 8 bits. return false; |