[llvm-branch-commits] [llvm-branch] r182830 - Merging r182585:
Bill Wendling
isanbard at gmail.com
Tue May 28 23:57:04 PDT 2013
Author: void
Date: Wed May 29 01:57:03 2013
New Revision: 182830
URL: http://llvm.org/viewvc/llvm-project?rev=182830&view=rev
Log:
Merging r182585:
------------------------------------------------------------------------
r182585 | aaronballman | 2013-05-23 07:55:00 -0700 (Thu, 23 May 2013) | 1 line
Setting the default value (fixes CRT assertions about uninitialized variable use when doing debug MSVC builds), and fixing coding style.
------------------------------------------------------------------------
Modified:
llvm/branches/release_33/ (props changed)
llvm/branches/release_33/lib/Target/R600/R600ControlFlowFinalizer.cpp
Propchange: llvm/branches/release_33/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Wed May 29 01:57:03 2013
@@ -1,3 +1,3 @@
/llvm/branches/Apple/Pertwee:110850,110961
/llvm/branches/type-system-rewrite:133420-134817
-/llvm/trunk:155241,181286,181296,181313,181363,181366,181397,181423,181450,181524,181529,181540,181576-181580,181586,181600,181678,181706,181792,181800,181842,181864,182072,182112-182113,182253-182254,182297-182298,182344,182364,182385,182387,182394,182485-182486,182656
+/llvm/trunk:155241,181286,181296,181313,181363,181366,181397,181423,181450,181524,181529,181540,181576-181580,181586,181600,181678,181706,181792,181800,181842,181864,182072,182112-182113,182253-182254,182297-182298,182344,182364,182385,182387,182394,182485-182486,182585,182656
Modified: llvm/branches/release_33/lib/Target/R600/R600ControlFlowFinalizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_33/lib/Target/R600/R600ControlFlowFinalizer.cpp?rev=182830&r1=182829&r2=182830&view=diff
==============================================================================
--- llvm/branches/release_33/lib/Target/R600/R600ControlFlowFinalizer.cpp (original)
+++ llvm/branches/release_33/lib/Target/R600/R600ControlFlowFinalizer.cpp Wed May 29 01:57:03 2013
@@ -325,7 +325,7 @@ public:
virtual bool runOnMachineFunction(MachineFunction &MF) {
unsigned MaxStack = 0;
unsigned CurrentStack = 0;
- bool hasPush;
+ bool HasPush = false;
for (MachineFunction::iterator MB = MF.begin(), ME = MF.end(); MB != ME;
++MB) {
MachineBasicBlock &MBB = *MB;
@@ -354,7 +354,7 @@ public:
case AMDGPU::CF_ALU_PUSH_BEFORE:
CurrentStack++;
MaxStack = std::max(MaxStack, CurrentStack);
- hasPush = true;
+ HasPush = true;
case AMDGPU::CF_ALU:
I = MI;
AluClauses.push_back(MakeALUClause(MBB, I));
@@ -475,7 +475,7 @@ public:
break;
}
}
- MFI->StackSize = getHWStackSize(MaxStack, hasPush);
+ MFI->StackSize = getHWStackSize(MaxStack, HasPush);
}
return false;
More information about the llvm-branch-commits
mailing list