aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen/SelectionDAGISel.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-07-01 18:05:03 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-07-01 18:05:03 +0000
commit9b77cae1df76d8be0771563f55dc72b1cdab648c (patch)
treea690f1ae281e93b319feae2d94150ea71278ec4f /include/llvm/CodeGen/SelectionDAGISel.h
parent19733c4a5e3c954dc7f96af361d2f71ed61f9443 (diff)
downloadexternal_llvm-9b77cae1df76d8be0771563f55dc72b1cdab648c.zip
external_llvm-9b77cae1df76d8be0771563f55dc72b1cdab648c.tar.gz
external_llvm-9b77cae1df76d8be0771563f55dc72b1cdab648c.tar.bz2
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
Diffstat (limited to 'include/llvm/CodeGen/SelectionDAGISel.h')
-rw-r--r--include/llvm/CodeGen/SelectionDAGISel.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGISel.h b/include/llvm/CodeGen/SelectionDAGISel.h
index 7925a00..3ebe515 100644
--- a/include/llvm/CodeGen/SelectionDAGISel.h
+++ b/include/llvm/CodeGen/SelectionDAGISel.h
@@ -44,10 +44,11 @@ public:
std::vector<SDNode*> TopOrder;
unsigned DAGSize;
CollectorMetadata *GCI;
+ bool FastISel;
static char ID;
- explicit SelectionDAGISel(TargetLowering &tli) :
- FunctionPass((intptr_t)&ID), TLI(tli), DAGSize(0), GCI(0) {}
+ explicit SelectionDAGISel(TargetLowering &tli, bool fast = false) :
+ FunctionPass((intptr_t)&ID), TLI(tli), DAGSize(0), GCI(0), FastISel(fast) {}
TargetLowering &getTargetLowering() { return TLI; }