diff options
author | Tanya Lattner <tonic@nondot.org> | 2004-12-16 23:13:16 +0000 |
---|---|---|
committer | Tanya Lattner <tonic@nondot.org> | 2004-12-16 23:13:16 +0000 |
commit | 78943f7edf3ce714f2aa09a8987a1f19fb7a02d1 (patch) | |
tree | 5c7e9ce6b8ea00a6b1ad987164df4d6e6738916a | |
parent | 9fde12b747e2338951d42e11f27df523f7dd98f2 (diff) |
Removing commented out lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19004 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/SparcV9/SparcV9TargetMachine.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/lib/Target/SparcV9/SparcV9TargetMachine.cpp b/lib/Target/SparcV9/SparcV9TargetMachine.cpp index 9a4ab4bbeb..a0a5ba9183 100644 --- a/lib/Target/SparcV9/SparcV9TargetMachine.cpp +++ b/lib/Target/SparcV9/SparcV9TargetMachine.cpp @@ -178,10 +178,8 @@ SparcV9TargetMachine::addPassesToEmitAssembly(PassManager &PM, std::ostream &Out PM.add(createPreSelectionPass(*this)); PM.add(createLowerSelectPass()); - // Run basic LLVM dataflow optimizations, to clean up after pre-selection. - //PM.add(createReassociatePass()); - //PM.add(createLICMPass()); - //PM.add(createGCSEPass()); + // Clean up after pre-selection. + PM.add(createReassociatePass()); // If the user's trying to read the generated code, they'll need to see the // transformed input. @@ -269,11 +267,8 @@ void SparcV9JITInfo::addPassesToJITCompile(FunctionPassManager &PM) { PM.add(createPreSelectionPass(TM)); PM.add(createLowerSelectPass()); - // Run basic LLVM dataflow optimizations, to clean up after pre-selection. + // Clean up after pre-selection. PM.add(createReassociatePass()); - // FIXME: these passes crash the FunctionPassManager when being added... - //PM.add(createLICMPass()); - //PM.add(createGCSEPass()); // If the user's trying to read the generated code, they'll need to see the // transformed input. |