summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/MipsExpandPseudo.cpp
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanak@gmail.com>2011-04-15 21:51:11 +0000
committerAkira Hatanaka <ahatanak@gmail.com>2011-04-15 21:51:11 +0000
commite24891251c9bff66912051c1cc70c6d16205230c (patch)
treeadc48ebf69d9dfa500d6f3b27c4d62353c1c045c /llvm/lib/Target/Mips/MipsExpandPseudo.cpp
parentb57edcab3b5c6cfe408e8dee1d20b1ac9c41f9c0 (diff)
downloadbcm5719-llvm-e24891251c9bff66912051c1cc70c6d16205230c.tar.gz
bcm5719-llvm-e24891251c9bff66912051c1cc70c6d16205230c.zip
Reverse unnecessary changes made in r129606 and r129608. There is no change in functionality.
llvm-svn: 129612
Diffstat (limited to 'llvm/lib/Target/Mips/MipsExpandPseudo.cpp')
-rw-r--r--llvm/lib/Target/Mips/MipsExpandPseudo.cpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/llvm/lib/Target/Mips/MipsExpandPseudo.cpp b/llvm/lib/Target/Mips/MipsExpandPseudo.cpp
index cf6105db659..4423f514798 100644
--- a/llvm/lib/Target/Mips/MipsExpandPseudo.cpp
+++ b/llvm/lib/Target/Mips/MipsExpandPseudo.cpp
@@ -1,16 +1,16 @@
-//===-- MipsExpandPseudo.cpp - Expand pseudo instructions ---------------===//
+//===-- MipsExpandPseudo.cpp - Expand pseudo instructions ----------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
-//===---------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
//
-// This pass expands pseudo instructions into target instructions after
-// register allocation but before post-RA scheduling.
+// This pass expands pseudo instructions into target instructions after register
+// allocation but before post-RA scheduling.
//
-//===---------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
#define DEBUG_TYPE "mips-expand-pseudo"
@@ -86,8 +86,7 @@ bool MipsExpandPseudo::runOnMachineBasicBlock(MachineBasicBlock& MBB) {
void MipsExpandPseudo::ExpandBuildPairF64(MachineBasicBlock& MBB,
MachineBasicBlock::iterator I) {
unsigned DstReg = I->getOperand(0).getReg();
- unsigned LoReg = I->getOperand(1).getReg();
- unsigned HiReg = I->getOperand(2).getReg();
+ unsigned LoReg = I->getOperand(1).getReg(), HiReg = I->getOperand(2).getReg();
const TargetInstrDesc& Mtc1Tdd = TII->get(Mips::MTC1);
DebugLoc dl = I->getDebugLoc();
const unsigned* SubReg =
OpenPOWER on IntegriCloud