summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2013-11-14 10:08:50 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2013-11-14 10:08:50 +0000
commit29a651af8a4b522daf1f9102c93e4c8ecc2ef3c2 (patch)
tree9110369e3191c8a995c13a4b33e7beb65e1c05a4 /lib
parent54f009f5a427c640266d223826eed851a8a340c3 (diff)
downloadllvm-29a651af8a4b522daf1f9102c93e4c8ecc2ef3c2.tar.gz
llvm-29a651af8a4b522daf1f9102c93e4c8ecc2ef3c2.tar.bz2
llvm-29a651af8a4b522daf1f9102c93e4c8ecc2ef3c2.tar.xz
Indentation fixes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194688 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/R600/AMDGPUAsmPrinter.cpp2
-rw-r--r--lib/Target/R600/SIInstrInfo.cpp3
2 files changed, 2 insertions, 3 deletions
diff --git a/lib/Target/R600/AMDGPUAsmPrinter.cpp b/lib/Target/R600/AMDGPUAsmPrinter.cpp
index 30577909e8..67bdba2878 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 8eb707d738..b5203a8c4f 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));