mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-31 09:25:42 +00:00
Removing commented out lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19004 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user