blob: 70579bd270f05fe4b9e4ef2f66d6f584ce48498c [file] [log] [blame]
Reed Kotler720c5ca2014-04-17 22:15:34 +00001//===-- MipsastISel.cpp - Mips FastISel implementation
2//---------------------===//
3
4#include "llvm/CodeGen/FunctionLoweringInfo.h"
5#include "llvm/CodeGen/FastISel.h"
6#include "llvm/Target/TargetLibraryInfo.h"
7#include "MipsISelLowering.h"
8
9using namespace llvm;
10
11namespace {
12
13class MipsFastISel final : public FastISel {
14
15public:
16 explicit MipsFastISel(FunctionLoweringInfo &funcInfo,
17 const TargetLibraryInfo *libInfo)
18 : FastISel(funcInfo, libInfo) {}
19 bool TargetSelectInstruction(const Instruction *I) override { return false; }
20};
21}
22
23namespace llvm {
24FastISel *Mips::createFastISel(FunctionLoweringInfo &funcInfo,
25 const TargetLibraryInfo *libInfo) {
26 return new MipsFastISel(funcInfo, libInfo);
27}
28}