aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/ARM/ARMLoadStoreOptimizer.cpp')
-rw-r--r--lib/Target/ARM/ARMLoadStoreOptimizer.cpp12
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;