mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Do not use computationally expensive scheduling heuristics with -fast.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52971 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -90,10 +90,6 @@ namespace {
|
||||
/// register should set this to true.
|
||||
bool ContainsFPCode;
|
||||
|
||||
/// FastISel - Enable fast(er) instruction selection.
|
||||
///
|
||||
bool FastISel;
|
||||
|
||||
/// TM - Keep a reference to X86TargetMachine.
|
||||
///
|
||||
X86TargetMachine &TM;
|
||||
@@ -116,8 +112,8 @@ namespace {
|
||||
|
||||
public:
|
||||
X86DAGToDAGISel(X86TargetMachine &tm, bool fast)
|
||||
: SelectionDAGISel(X86Lowering),
|
||||
ContainsFPCode(false), FastISel(fast), TM(tm),
|
||||
: SelectionDAGISel(X86Lowering, fast),
|
||||
ContainsFPCode(false), TM(tm),
|
||||
X86Lowering(*TM.getTargetLowering()),
|
||||
Subtarget(&TM.getSubtarget<X86Subtarget>()) {}
|
||||
|
||||
|
Reference in New Issue
Block a user