forked from OSchip/llvm-project
[MIPS GlobalISel] remove superfluous #includes (NFC)
Remove superfluous #includes. Minor code style change in MipsCallLowering::lowerFormalArguments(). llvm-svn: 329926
This commit is contained in:
parent
bafba57252
commit
667e213018
|
@ -15,7 +15,6 @@
|
|||
|
||||
#include "MipsCallLowering.h"
|
||||
#include "MipsCCState.h"
|
||||
#include "MipsISelLowering.h"
|
||||
#include "llvm/CodeGen/GlobalISel/MachineIRBuilder.h"
|
||||
|
||||
using namespace llvm;
|
||||
|
@ -192,7 +191,7 @@ bool MipsCallLowering::lowerFormalArguments(MachineIRBuilder &MIRBuilder,
|
|||
|
||||
CCInfo.AnalyzeFormalArguments(Ins, TLI.CCAssignFnForCall());
|
||||
|
||||
IncomingValueHandler Handler(MIRBuilder, MIRBuilder.getMF().getRegInfo());
|
||||
IncomingValueHandler Handler(MIRBuilder, MF.getRegInfo());
|
||||
if (!Handler.handle(ArgLocs, ArgInfos))
|
||||
return false;
|
||||
|
||||
|
|
|
@ -15,9 +15,7 @@
|
|||
#ifndef LLVM_LIB_TARGET_MIPS_MIPSCALLLOWERING_H
|
||||
#define LLVM_LIB_TARGET_MIPS_MIPSCALLLOWERING_H
|
||||
|
||||
#include "llvm/CodeGen/CallingConvLower.h"
|
||||
#include "llvm/CodeGen/GlobalISel/CallLowering.h"
|
||||
#include "llvm/CodeGen/ValueTypes.h"
|
||||
|
||||
namespace llvm {
|
||||
|
||||
|
|
|
@ -13,11 +13,8 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "MipsRegisterBankInfo.h"
|
||||
#include "MipsSubtarget.h"
|
||||
#include "MipsTargetMachine.h"
|
||||
#include "llvm/CodeGen/GlobalISel/InstructionSelector.h"
|
||||
#include "llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h"
|
||||
#include "llvm/Support/Debug.h"
|
||||
|
||||
#define DEBUG_TYPE "mips-isel"
|
||||
|
||||
|
|
|
@ -12,10 +12,6 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "MipsLegalizerInfo.h"
|
||||
#include "llvm/CodeGen/TargetOpcodes.h"
|
||||
#include "llvm/CodeGen/ValueTypes.h"
|
||||
#include "llvm/IR/DerivedTypes.h"
|
||||
#include "llvm/IR/Type.h"
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
|
|
|
@ -13,10 +13,7 @@
|
|||
|
||||
#include "MipsInstrInfo.h"
|
||||
#include "MipsRegisterBankInfo.h"
|
||||
#include "llvm/CodeGen/GlobalISel/RegisterBank.h"
|
||||
#include "llvm/CodeGen/GlobalISel/RegisterBankInfo.h"
|
||||
#include "llvm/CodeGen/MachineRegisterInfo.h"
|
||||
#include "llvm/CodeGen/TargetRegisterInfo.h"
|
||||
|
||||
#define GET_TARGET_REGBANK_IMPL
|
||||
|
||||
|
|
Loading…
Reference in New Issue