mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-10 04:33:40 +00:00
The X86 target will soon have an implementation of createFastISel.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55010 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d4641a254c
commit
d9f3c480a7
@ -1869,6 +1869,14 @@ bool X86TargetLowering::IsEligibleForTailCallOptimization(SDValue Call,
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
FastISel *X86TargetLowering::createFastISel(MachineBasicBlock *mbb,
|
||||||
|
MachineFunction *mf,
|
||||||
|
const TargetInstrInfo *tii) {
|
||||||
|
// FastISel isn't yet supported.
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
// Other Lowering Hooks
|
// Other Lowering Hooks
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
@ -466,6 +466,12 @@ namespace llvm {
|
|||||||
return (VT == MVT::f64 && X86ScalarSSEf64) || // f64 is when SSE2
|
return (VT == MVT::f64 && X86ScalarSSEf64) || // f64 is when SSE2
|
||||||
(VT == MVT::f32 && X86ScalarSSEf32); // f32 is when SSE1
|
(VT == MVT::f32 && X86ScalarSSEf32); // f32 is when SSE1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// createFastISel - This method returns a target specific FastISel object,
|
||||||
|
/// or null if the target does not support "fast" ISel.
|
||||||
|
virtual FastISel *createFastISel(MachineBasicBlock *mbb,
|
||||||
|
MachineFunction *mf,
|
||||||
|
const TargetInstrInfo *tii);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
/// Subtarget - Keep a pointer to the X86Subtarget around so that we can
|
/// Subtarget - Keep a pointer to the X86Subtarget around so that we can
|
||||||
|
Loading…
x
Reference in New Issue
Block a user