mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Silence some uninit variable warnings.
llvm-svn: 20284
This commit is contained in:
parent
a981a711aa
commit
9838ab1271
@ -2933,6 +2933,7 @@ void ISel::Select(SDOperand N) {
|
||||
RP.push_back(std::make_pair(getRegPressure(N.getOperand(2)), 2));
|
||||
std::sort(RP.begin(), RP.end());
|
||||
|
||||
Tmp1 = 0; // Silence a warning.
|
||||
for (unsigned i = 0; i != 3; ++i)
|
||||
switch (RP[2-i].second) {
|
||||
default: assert(0 && "Unknown operand number!");
|
||||
@ -2989,6 +2990,7 @@ void ISel::Select(SDOperand N) {
|
||||
RP.push_back(std::make_pair(getRegPressure(N.getOperand(2)), 2));
|
||||
std::sort(RP.begin(), RP.end());
|
||||
|
||||
Tmp1 = 0; // Silence a warning.
|
||||
for (unsigned i = 0; i != 3; ++i)
|
||||
switch (RP[2-i].second) {
|
||||
default: assert(0 && "Unknown operand number!");
|
||||
|
Loading…
Reference in New Issue
Block a user