Start pushing changes for Mips Fast-Isel

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206505 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reed Kotler
2014-04-17 22:15:34 +00:00
parent fc8fa8238d
commit f90e2bb56a
4 changed files with 53 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
//===-- MipsastISel.cpp - Mips FastISel implementation
//---------------------===//
#include "llvm/CodeGen/FunctionLoweringInfo.h"
#include "llvm/CodeGen/FastISel.h"
#include "llvm/Target/TargetLibraryInfo.h"
#include "MipsISelLowering.h"
using namespace llvm;
namespace {
class MipsFastISel final : public FastISel {
public:
explicit MipsFastISel(FunctionLoweringInfo &funcInfo,
const TargetLibraryInfo *libInfo)
: FastISel(funcInfo, libInfo) {}
bool TargetSelectInstruction(const Instruction *I) override { return false; }
};
}
namespace llvm {
FastISel *Mips::createFastISel(FunctionLoweringInfo &funcInfo,
const TargetLibraryInfo *libInfo) {
return new MipsFastISel(funcInfo, libInfo);
}
}