mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-26 14:15:53 +00:00
Unbreak fast isel.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55685 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e925ccc553
commit
88e3041ca6
@ -14,8 +14,9 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "X86.h"
|
||||
#include "X86RegisterInfo.h"
|
||||
#include "X86ISelLowering.h"
|
||||
#include "X86RegisterInfo.h"
|
||||
#include "X86Subtarget.h"
|
||||
#include "X86TargetMachine.h"
|
||||
#include "llvm/CodeGen/FastISel.h"
|
||||
#include "llvm/CodeGen/MachineRegisterInfo.h"
|
||||
@ -28,7 +29,9 @@ class X86FastISel : public FastISel {
|
||||
const X86Subtarget *Subtarget;
|
||||
|
||||
public:
|
||||
explicit X86FastISel(MachineFunction &mf) : FastISel(mf) {}
|
||||
explicit X86FastISel(MachineFunction &mf) : FastISel(mf) {
|
||||
Subtarget = &TM.getSubtarget<X86Subtarget>();
|
||||
}
|
||||
|
||||
virtual bool
|
||||
TargetSelectInstruction(Instruction *I,
|
||||
|
Loading…
Reference in New Issue
Block a user