mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 03:23:01 +02:00
Fix a few old-GCC warnings. No functional change.
llvm-svn: 163309
This commit is contained in:
parent
129396262a
commit
196b00bd57
@ -2440,7 +2440,7 @@ TargetLowering::SimplifySetCC(EVT VT, SDValue N0, SDValue N1,
|
||||
if (N0 == N1) {
|
||||
// The sext(setcc()) => setcc() optimization relies on the appropriate
|
||||
// constant being emitted.
|
||||
uint64_t EqVal;
|
||||
uint64_t EqVal = 0;
|
||||
switch (getBooleanContents(N0.getValueType().isVector())) {
|
||||
case UndefinedBooleanContent:
|
||||
case ZeroOrOneBooleanContent:
|
||||
|
@ -2642,7 +2642,7 @@ bool ARMFastISel::SelectShift(const Instruction *I,
|
||||
unsigned Reg1 = getRegForValue(Src1Value);
|
||||
if (Reg1 == 0) return false;
|
||||
|
||||
unsigned Reg2;
|
||||
unsigned Reg2 = 0;
|
||||
if (Opc == ARM::MOVsr) {
|
||||
Reg2 = getRegForValue(Src2Value);
|
||||
if (Reg2 == 0) return false;
|
||||
|
Loading…
Reference in New Issue
Block a user