forked from OSchip/llvm-project
parent
69fc766f63
commit
f3efadcb5b
|
@ -16,7 +16,7 @@
|
|||
#include "llvm/CodeGen/MachineFunction.h"
|
||||
#include "llvm/Target/MRegisterInfo.h"
|
||||
#include "llvm/Target/TargetData.h"
|
||||
#include "llvm/Target/TargetInstrInfo.h"
|
||||
#include "llvm/Target/TargetInstrDesc.h"
|
||||
#include "llvm/Target/TargetMachine.h"
|
||||
#include "llvm/Support/LeakDetector.h"
|
||||
#include <algorithm>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#include "llvm/CodeGen/MachineFunction.h"
|
||||
#include "llvm/CodeGen/MachineRegisterInfo.h"
|
||||
#include "llvm/Target/TargetMachine.h"
|
||||
#include "llvm/Target/TargetInstrInfo.h"
|
||||
#include "llvm/Target/TargetInstrDesc.h"
|
||||
#include "llvm/Target/MRegisterInfo.h"
|
||||
#include "llvm/Support/LeakDetector.h"
|
||||
#include "llvm/Support/Streams.h"
|
||||
|
|
|
@ -1875,9 +1875,6 @@ bool DebugLabelFolder::runOnMachineFunction(MachineFunction &MF) {
|
|||
// Get machine module info.
|
||||
MachineModuleInfo *MMI = getAnalysisToUpdate<MachineModuleInfo>();
|
||||
if (!MMI) return false;
|
||||
// Get target instruction info.
|
||||
const TargetInstrInfo *TII = MF.getTarget().getInstrInfo();
|
||||
if (!TII) return false;
|
||||
|
||||
// Track if change is made.
|
||||
bool MadeChange = false;
|
||||
|
|
Loading…
Reference in New Issue