diff options
author | Bill Wendling <isanbard@gmail.com> | 2009-12-18 23:32:53 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2009-12-18 23:32:53 +0000 |
commit | b4e6a5df5dada0cd919cc6e2717eb3118db9cc45 (patch) | |
tree | 17072250219da5439d74ec2aa48831516f8bf453 /lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp | |
parent | 28680d33eeafba7bf0e935200e20360c7dc27bde (diff) | |
download | external_llvm-b4e6a5df5dada0cd919cc6e2717eb3118db9cc45.tar.gz external_llvm-b4e6a5df5dada0cd919cc6e2717eb3118db9cc45.tar.bz2 external_llvm-b4e6a5df5dada0cd919cc6e2717eb3118db9cc45.zip |
Changes from review:
- Move DisableScheduling flag into TargetOption.h
- Move SDNodeOrdering into its own header file. Give it a minimal interface that
doesn't conflate construction with storage.
- Move assigning the ordering into the SelectionDAGBuilder.
This isn't used yet, so there should be no functional changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91727 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp index b2ee8bb179..d53de347a5 100644 --- a/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp +++ b/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp @@ -20,16 +20,10 @@ #include "llvm/Target/TargetInstrInfo.h" #include "llvm/Target/TargetRegisterInfo.h" #include "llvm/Target/TargetSubtarget.h" -#include "llvm/Support/CommandLine.h" #include "llvm/Support/Debug.h" #include "llvm/Support/raw_ostream.h" using namespace llvm; -cl::opt<bool> -DisableInstScheduling("disable-inst-scheduling", - cl::init(false), - cl::desc("Disable instruction scheduling")); - ScheduleDAGSDNodes::ScheduleDAGSDNodes(MachineFunction &mf) : ScheduleDAG(mf) { } |