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 | a5528e89fd43a90e7e93ba154be7e2e0a4471d2d (patch) | |
tree | c37df719ffe7db9ad9e9a146a7e76bd78cc49fb5 /llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp | |
parent | 08e19bb41262b14d9428159803287bfeee641cfa (diff) | |
download | bcm5719-llvm-a5528e89fd43a90e7e93ba154be7e2e0a4471d2d.tar.gz bcm5719-llvm-a5528e89fd43a90e7e93ba154be7e2e0a4471d2d.zip |
Removing commented out lines.
llvm-svn: 19004
Diffstat (limited to 'llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp')
-rw-r--r-- | llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp b/llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp index 9a4ab4bbebd..a0a5ba9183f 100644 --- a/llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp +++ b/llvm/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. |