[llvm-commits] CVS: llvm/lib/Target/SparcV8/SparcV8InstrInfo.cpp

Chris Lattner lattner at cs.uiuc.edu
Fri Feb 3 23:48:57 PST 2006



Changes in directory llvm/lib/Target/SparcV8:

SparcV8InstrInfo.cpp updated: 1.11 -> 1.12
---
Log message:

fix a bug in my last checkin


---
Diffs of the changes:  (+2 -2)

 SparcV8InstrInfo.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/lib/Target/SparcV8/SparcV8InstrInfo.cpp
diff -u llvm/lib/Target/SparcV8/SparcV8InstrInfo.cpp:1.11 llvm/lib/Target/SparcV8/SparcV8InstrInfo.cpp:1.12
--- llvm/lib/Target/SparcV8/SparcV8InstrInfo.cpp:1.11	Sat Feb  4 00:58:46 2006
+++ llvm/lib/Target/SparcV8/SparcV8InstrInfo.cpp	Sat Feb  4 01:48:46 2006
@@ -40,12 +40,12 @@
       DstReg = MI.getOperand(0).getReg();
       SrcReg = MI.getOperand(2).getReg();
       return true;
-    } else if (MI.getOperand (2).getReg() == V8::G0) {
+    } else if (MI.getOperand(2).getReg() == V8::G0) {
       DstReg = MI.getOperand(0).getReg();
       SrcReg = MI.getOperand(1).getReg();
       return true;
     }
-  } else if (MI.getOpcode() == V8::ORri || MI.getOpcode() == V8::ADDri &&
+  } else if ((MI.getOpcode() == V8::ORri || MI.getOpcode() == V8::ADDri) &&
              isZeroImm(MI.getOperand(2)) && MI.getOperand(1).isRegister()) {
     DstReg = MI.getOperand(0).getReg();
     SrcReg = MI.getOperand(1).getReg();






More information about the llvm-commits mailing list