mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-08 03:30:22 +00:00
Fix a spurious warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19799 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0a07883694
commit
bb4dca3286
@ -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…
Reference in New Issue
Block a user