From 29a651af8a4b522daf1f9102c93e4c8ecc2ef3c2 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Thu, 14 Nov 2013 10:08:50 +0000 Subject: [PATCH] Indentation fixes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194688 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/R600/AMDGPUAsmPrinter.cpp | 2 +- lib/Target/R600/SIInstrInfo.cpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/Target/R600/AMDGPUAsmPrinter.cpp b/lib/Target/R600/AMDGPUAsmPrinter.cpp index 30577909e80..67bdba28787 100644 --- a/lib/Target/R600/AMDGPUAsmPrinter.cpp +++ b/lib/Target/R600/AMDGPUAsmPrinter.cpp @@ -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; diff --git a/lib/Target/R600/SIInstrInfo.cpp b/lib/Target/R600/SIInstrInfo.cpp index 8eb707d7380..b5203a8c4fe 100644 --- a/lib/Target/R600/SIInstrInfo.cpp +++ b/lib/Target/R600/SIInstrInfo.cpp @@ -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)); -- 2.34.1