mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-20 09:30:43 +00:00
Fix uninitialized variables and silence warnings
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132355 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e65e9ee79a
commit
cada2d0966
@ -763,7 +763,7 @@ MipsTargetLowering::EmitAtomicBinary(MachineInstr *MI, MachineBasicBlock *BB,
|
|||||||
// prevent MachineLICM pass to hoist "or" instruction out of the block
|
// prevent MachineLICM pass to hoist "or" instruction out of the block
|
||||||
// loopMBB.
|
// loopMBB.
|
||||||
|
|
||||||
int fi;
|
int fi = 0;
|
||||||
if (BinOpcode == 0 && !Nand) {
|
if (BinOpcode == 0 && !Nand) {
|
||||||
// Get or create a temporary stack location.
|
// Get or create a temporary stack location.
|
||||||
MipsFunctionInfo *MipsFI = MF->getInfo<MipsFunctionInfo>();
|
MipsFunctionInfo *MipsFI = MF->getInfo<MipsFunctionInfo>();
|
||||||
@ -897,7 +897,8 @@ MipsTargetLowering::EmitAtomicBinaryPartword(MachineInstr *MI,
|
|||||||
BuildMI(BB, dl, TII->get(Mips::ANDi), Tmp5).addReg(Tmp4).addImm(MaskImm);
|
BuildMI(BB, dl, TII->get(Mips::ANDi), Tmp5).addReg(Tmp4).addImm(MaskImm);
|
||||||
BuildMI(BB, dl, TII->get(Mips::SLL), Incr2).addReg(Tmp5).addReg(Shift);
|
BuildMI(BB, dl, TII->get(Mips::SLL), Incr2).addReg(Tmp5).addReg(Shift);
|
||||||
}
|
}
|
||||||
int fi;
|
|
||||||
|
int fi = 0;
|
||||||
if (BinOpcode == 0 && !Nand) {
|
if (BinOpcode == 0 && !Nand) {
|
||||||
// Get or create a temporary stack location.
|
// Get or create a temporary stack location.
|
||||||
MipsFunctionInfo *MipsFI = MF->getInfo<MipsFunctionInfo>();
|
MipsFunctionInfo *MipsFI = MF->getInfo<MipsFunctionInfo>();
|
||||||
|
Loading…
Reference in New Issue
Block a user