diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2012-12-21 20:12:02 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2012-12-21 20:12:02 +0000 |
commit | 09ef8425e999852de8dd0ecedd9a18cfb5e53cf6 (patch) | |
tree | f9983a01aa7edf7e9b199ec21c4ba4caf8630ab1 /llvm/lib/Target/R600/SILowerControlFlow.cpp | |
parent | 41398026e774385c12f29daac23231c2f4d57b71 (diff) | |
download | llvm-09ef8425e999852de8dd0ecedd9a18cfb5e53cf6.zip llvm-09ef8425e999852de8dd0ecedd9a18cfb5e53cf6.tar.gz llvm-09ef8425e999852de8dd0ecedd9a18cfb5e53cf6.tar.bz2 |
R600: Coding style - remove empty spaces from the beginning of functions
No functionality change.
llvm-svn: 170923
Diffstat (limited to 'llvm/lib/Target/R600/SILowerControlFlow.cpp')
-rw-r--r-- | llvm/lib/Target/R600/SILowerControlFlow.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/llvm/lib/Target/R600/SILowerControlFlow.cpp b/llvm/lib/Target/R600/SILowerControlFlow.cpp index 507cb54..3fbe653 100644 --- a/llvm/lib/Target/R600/SILowerControlFlow.cpp +++ b/llvm/lib/Target/R600/SILowerControlFlow.cpp @@ -101,7 +101,6 @@ FunctionPass *llvm::createSILowerControlFlowPass(TargetMachine &tm) { } void SILowerControlFlowPass::Skip(MachineInstr &From, MachineOperand &To) { - unsigned NumInstr = 0; for (MachineBasicBlock *MBB = *From.getParent()->succ_begin(); @@ -126,7 +125,6 @@ void SILowerControlFlowPass::Skip(MachineInstr &From, MachineOperand &To) { } void SILowerControlFlowPass::If(MachineInstr &MI) { - MachineBasicBlock &MBB = *MI.getParent(); DebugLoc DL = MI.getDebugLoc(); unsigned Reg = MI.getOperand(0).getReg(); @@ -145,7 +143,6 @@ void SILowerControlFlowPass::If(MachineInstr &MI) { } void SILowerControlFlowPass::Else(MachineInstr &MI) { - MachineBasicBlock &MBB = *MI.getParent(); DebugLoc DL = MI.getDebugLoc(); unsigned Dst = MI.getOperand(0).getReg(); @@ -164,7 +161,6 @@ void SILowerControlFlowPass::Else(MachineInstr &MI) { } void SILowerControlFlowPass::Break(MachineInstr &MI) { - MachineBasicBlock &MBB = *MI.getParent(); DebugLoc DL = MI.getDebugLoc(); @@ -179,7 +175,6 @@ void SILowerControlFlowPass::Break(MachineInstr &MI) { } void SILowerControlFlowPass::IfBreak(MachineInstr &MI) { - MachineBasicBlock &MBB = *MI.getParent(); DebugLoc DL = MI.getDebugLoc(); @@ -195,7 +190,6 @@ void SILowerControlFlowPass::IfBreak(MachineInstr &MI) { } void SILowerControlFlowPass::ElseBreak(MachineInstr &MI) { - MachineBasicBlock &MBB = *MI.getParent(); DebugLoc DL = MI.getDebugLoc(); @@ -211,7 +205,6 @@ void SILowerControlFlowPass::ElseBreak(MachineInstr &MI) { } void SILowerControlFlowPass::Loop(MachineInstr &MI) { - MachineBasicBlock &MBB = *MI.getParent(); DebugLoc DL = MI.getDebugLoc(); unsigned Src = MI.getOperand(0).getReg(); @@ -228,7 +221,6 @@ void SILowerControlFlowPass::Loop(MachineInstr &MI) { } void SILowerControlFlowPass::EndCf(MachineInstr &MI) { - MachineBasicBlock &MBB = *MI.getParent(); DebugLoc DL = MI.getDebugLoc(); unsigned Reg = MI.getOperand(0).getReg(); @@ -242,7 +234,6 @@ void SILowerControlFlowPass::EndCf(MachineInstr &MI) { } void SILowerControlFlowPass::Branch(MachineInstr &MI) { - MachineBasicBlock *Next = MI.getParent()->getNextNode(); MachineBasicBlock *Target = MI.getOperand(0).getMBB(); if (Target == Next) @@ -252,7 +243,6 @@ void SILowerControlFlowPass::Branch(MachineInstr &MI) { } bool SILowerControlFlowPass::runOnMachineFunction(MachineFunction &MF) { - bool HaveCf = false; for (MachineFunction::iterator BI = MF.begin(), BE = MF.end(); |