Indentation fixes
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 14 Nov 2013 10:08:50 +0000 (10:08 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 14 Nov 2013 10:08:50 +0000 (10:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194688 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/R600/AMDGPUAsmPrinter.cpp
lib/Target/R600/SIInstrInfo.cpp

index 30577909e80c07c44dabe98e54eedf837a555ee8..67bdba28787a41a8c1510d676d2f42a25ba6e5e4 100644 (file)
@@ -183,7 +183,7 @@ void AMDGPUAsmPrinter::EmitProgramInfoSI(MachineFunction &MF) {
 
       unsigned numOperands = MI.getNumOperands();
       for (unsigned op_idx = 0; op_idx < numOperands; op_idx++) {
-        MachineOperand & MO = MI.getOperand(op_idx);
+        MachineOperand &MO = MI.getOperand(op_idx);
         unsigned maxUsed;
         unsigned width = 0;
         bool isSGPR = false;
index 8eb707d7380f636a03fc920c61a6aad1d0393bdd..b5203a8c4feb98a1e2a2bb94d389884f56e3e973 100644 (file)
@@ -172,7 +172,6 @@ SIInstrInfo::copyPhysReg(MachineBasicBlock &MBB,
 }
 
 unsigned SIInstrInfo::commuteOpcode(unsigned Opcode) const {
-
   int NewOpc;
 
   // Try to map original to commuted opcode
@@ -419,7 +418,7 @@ void SIInstrInfo::legalizeOpWithMove(MachineInstr *MI, unsigned OpIdx) const {
   if (MO.isReg()) {
     Opcode = AMDGPU::COPY;
   } else if (RI.isSGPRClass(RC)) {
-      Opcode = AMDGPU::S_MOV_B32;
+    Opcode = AMDGPU::S_MOV_B32;
   }
 
   unsigned Reg = MRI.createVirtualRegister(RI.getRegClass(RCID));