mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Indentation fixes
llvm-svn: 194688
This commit is contained in:
parent
8bd5a97336
commit
2224968104
@ -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;
|
||||
|
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user