mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Yes, we REALLY DO want to run the reassociate pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2809 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f59391ab9e
commit
b4aef1746a
@ -65,7 +65,7 @@ void AddConfiguredTransformationPasses(PassManager &PM) {
|
||||
|
||||
addPass(PM, createRaisePointerReferencesPass());// Eliminate casts
|
||||
addPass(PM, createPromoteMemoryToRegister()); // Promote alloca's to regs
|
||||
/* addPass(PM, createReassociatePass());*/ // Reassociate expressions
|
||||
addPass(PM, createReassociatePass()); // Reassociate expressions
|
||||
addPass(PM, createInstructionCombiningPass()); // Combine silly seq's
|
||||
addPass(PM, createDeadInstEliminationPass()); // Kill InstCombine remnants
|
||||
addPass(PM, createLICMPass()); // Hoist loop invariants
|
||||
@ -88,7 +88,7 @@ int main(int argc, char **argv) {
|
||||
// Parse the file now...
|
||||
M.reset(ParseAssemblyFile(InputFilename));
|
||||
} catch (const ParseException &E) {
|
||||
cerr << E.getMessage() << std::endl;
|
||||
cerr << E.getMessage() << "\n";
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user