diff options
author | Andrew Trick <atrick@apple.com> | 2012-01-13 06:30:30 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2012-01-13 06:30:30 +0000 |
commit | e77e84e4b7cda4607e053c3521e61ce9a961a847 (patch) | |
tree | cad2c23fb3b66992e6919b5a556c132a5fbd9682 /llvm/lib/Target/TargetMachine.cpp | |
parent | d9accbf1131aa84ad3352942b17f4ecdc5d9b09e (diff) | |
download | llvm-e77e84e4b7cda4607e053c3521e61ce9a961a847.zip llvm-e77e84e4b7cda4607e053c3521e61ce9a961a847.tar.gz llvm-e77e84e4b7cda4607e053c3521e61ce9a961a847.tar.bz2 |
Added the MachineSchedulerPass skeleton.
llvm-svn: 148105
Diffstat (limited to 'llvm/lib/Target/TargetMachine.cpp')
-rw-r--r-- | llvm/lib/Target/TargetMachine.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/llvm/lib/Target/TargetMachine.cpp b/llvm/lib/Target/TargetMachine.cpp index fb7bbbb..90042dc 100644 --- a/llvm/lib/Target/TargetMachine.cpp +++ b/llvm/lib/Target/TargetMachine.cpp @@ -23,6 +23,7 @@ using namespace llvm; namespace llvm { bool StrongPHIElim; + bool EnableMachineSched; bool HasDivModLibcall; bool AsmVerbosityDefault(false); } @@ -35,7 +36,15 @@ static cl::opt<bool> FunctionSections("ffunction-sections", cl::desc("Emit functions into separate sections"), cl::init(false)); - + +/// EnableMachineSched - temporary flag to enable the machine scheduling pass +/// until we complete the register allocation pass configuration cleanup. +static cl::opt<bool, true> +MachineSchedOpt("enable-misched", + cl::desc("Enable the machine instruction scheduling pass."), + cl::location(EnableMachineSched), + cl::init(false), cl::Hidden); + //--------------------------------------------------------------------------- // TargetMachine Class // |