diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-08-10 05:51:48 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-08-10 05:51:48 +0000 |
commit | ebc39166f670961c5008b06762745a0d03cf1b39 (patch) | |
tree | c3ef0e1814ba4d311b8572cfd371db1b68b63180 /lib | |
parent | 5fa65db760b50a43a68ab7577c56cc8fa362427c (diff) | |
download | external_llvm-ebc39166f670961c5008b06762745a0d03cf1b39.zip external_llvm-ebc39166f670961c5008b06762745a0d03cf1b39.tar.gz external_llvm-ebc39166f670961c5008b06762745a0d03cf1b39.tar.bz2 |
80 col violation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78557 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/ARM/ARMBaseInstrInfo.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Target/ARM/ARMBaseInstrInfo.cpp b/lib/Target/ARM/ARMBaseInstrInfo.cpp index c179d83..2cddea9 100644 --- a/lib/Target/ARM/ARMBaseInstrInfo.cpp +++ b/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) { |