summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-08-10 05:51:48 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-08-10 05:51:48 +0000
commit55c014a9f38c707e23dfaae72d4e618bdd2523a8 (patch)
tree6b7c4a5ea40a8bd5330c33e0f5a968cf41bcbd4b /llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
parentf5b73869f25870aae6d0cb9164b21570255c99c7 (diff)
downloadbcm5719-llvm-55c014a9f38c707e23dfaae72d4e618bdd2523a8.tar.gz
bcm5719-llvm-55c014a9f38c707e23dfaae72d4e618bdd2523a8.zip
80 col violation.
llvm-svn: 78557
Diffstat (limited to 'llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp b/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
index c179d8334df..2cddea92d5c 100644
--- a/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
+++ b/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
@@ -796,13 +796,14 @@ ARMBaseInstrInfo::foldMemoryOperandImpl(MachineFunction &MF,
bool
ARMBaseInstrInfo::canFoldMemoryOperand(const MachineInstr *MI,
- const SmallVectorImpl<unsigned> &Ops) const {
+ const SmallVectorImpl<unsigned> &Ops) const {
if (Ops.size() != 1) return false;
unsigned Opc = MI->getOpcode();
if (Opc == ARM::MOVr || Opc == ARM::t2MOVr) {
// If it is updating CPSR, then it cannot be folded.
- return MI->getOperand(4).getReg() != ARM::CPSR ||MI->getOperand(4).isDead();
+ return MI->getOperand(4).getReg() != ARM::CPSR ||
+ MI->getOperand(4).isDead();
} else if (Opc == ARM::FCPYS || Opc == ARM::FCPYD) {
return true;
} else if (Opc == ARM::VMOVD || Opc == ARM::VMOVQ) {
OpenPOWER on IntegriCloud