mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-31 10:34:17 +00:00
Removing a variable that is initialized but never read. The original author has been alerted to the warning, in case this variable is meant to be used. Fixes -Werror builds in the meantime.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222649 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
18700de8fc
commit
8d6f6a27c7
@ -435,7 +435,6 @@ bool SILowerControlFlowPass::runOnMachineFunction(MachineFunction &MF) {
|
|||||||
SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>();
|
SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>();
|
||||||
|
|
||||||
bool HaveKill = false;
|
bool HaveKill = false;
|
||||||
bool NeedM0 = false;
|
|
||||||
bool NeedWQM = false;
|
bool NeedWQM = false;
|
||||||
bool NeedFlat = false;
|
bool NeedFlat = false;
|
||||||
unsigned Depth = 0;
|
unsigned Depth = 0;
|
||||||
@ -449,15 +448,12 @@ bool SILowerControlFlowPass::runOnMachineFunction(MachineFunction &MF) {
|
|||||||
Next = std::next(I);
|
Next = std::next(I);
|
||||||
|
|
||||||
MachineInstr &MI = *I;
|
MachineInstr &MI = *I;
|
||||||
if (TII->isDS(MI.getOpcode())) {
|
if (TII->isDS(MI.getOpcode()))
|
||||||
NeedWQM = true;
|
NeedWQM = true;
|
||||||
}
|
|
||||||
|
|
||||||
// Flat uses m0 in case it needs to access LDS.
|
// Flat uses m0 in case it needs to access LDS.
|
||||||
if (TII->isFLAT(MI.getOpcode())) {
|
if (TII->isFLAT(MI.getOpcode()))
|
||||||
NeedM0 = true;
|
|
||||||
NeedFlat = true;
|
NeedFlat = true;
|
||||||
}
|
|
||||||
|
|
||||||
switch (MI.getOpcode()) {
|
switch (MI.getOpcode()) {
|
||||||
default: break;
|
default: break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user