mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-19 10:13:13 +00:00
Fix a spurious warning.
llvm-svn: 19799
This commit is contained in:
parent
6ff85c3152
commit
88a4c43e67
@ -627,7 +627,7 @@ CreateSETUWConst(uint32_t C,
|
||||
bool smallNegValue =isSigned && sC < 0 && sC != -sC && -sC < (int32_t)MAXSIMM;
|
||||
|
||||
//Create TmpInstruction for intermediate values
|
||||
TmpInstruction *tmpReg;
|
||||
TmpInstruction *tmpReg = 0;
|
||||
|
||||
// Set the high 22 bits in dest if non-zero and simm13 field of OR not enough
|
||||
if (!smallNegValue && (C & ~MAXLO) && C > MAXSIMM) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user