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 | 022d18fa3f1fe4bc51f68425419fedfbdf10abbc (patch) | |
tree | d359a16f78d77c15586d7fab4c7f7c2c22da93be /llvm/lib/Target/TargetMachine.cpp | |
parent | 2b677cd4ff80f87ace9f50ebe795ebfc18a1565c (diff) | |
download | llvm-022d18fa3f1fe4bc51f68425419fedfbdf10abbc.zip llvm-022d18fa3f1fe4bc51f68425419fedfbdf10abbc.tar.gz llvm-022d18fa3f1fe4bc51f68425419fedfbdf10abbc.tar.bz2 |
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.
llvm-svn: 91727
Diffstat (limited to 'llvm/lib/Target/TargetMachine.cpp')
-rw-r--r-- | llvm/lib/Target/TargetMachine.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/Target/TargetMachine.cpp b/llvm/lib/Target/TargetMachine.cpp index fec59b5..46bc9a3 100644 --- a/llvm/lib/Target/TargetMachine.cpp +++ b/llvm/lib/Target/TargetMachine.cpp @@ -46,6 +46,7 @@ namespace llvm { bool DisableJumpTables; bool StrongPHIElim; bool AsmVerbosityDefault(false); + bool DisableScheduling; } static cl::opt<bool, true> @@ -197,6 +198,11 @@ EnableStrongPHIElim(cl::Hidden, "strong-phi-elim", cl::desc("Use strong PHI elimination."), cl::location(StrongPHIElim), cl::init(false)); +static cl::opt<bool, true> +DisableInstScheduling("disable-scheduling", + cl::desc("Disable instruction scheduling"), + cl::location(DisableScheduling), + cl::init(false)); //--------------------------------------------------------------------------- // TargetMachine Class |