mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
-raise includes constprop and dce
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1397 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0900980cc5
commit
2409ddb5b2
@ -64,10 +64,7 @@ int main(int argc, char **argv) {
|
||||
//
|
||||
vector<Pass*> Passes;
|
||||
Passes.push_back(new CleanupGCCOutput()); // Fix gccisms
|
||||
Passes.push_back(new opt::ConstantPropogation());// Trivial const prop
|
||||
Passes.push_back(new RaisePointerReferences()); // Fix general low level code
|
||||
Passes.push_back(new opt::ConstantPropogation());// Trivial const prop
|
||||
Passes.push_back(new opt::DeadCodeElimination());// Trivial DCE
|
||||
Passes.push_back(new ConstantMerge()); // Merge dup global constants
|
||||
|
||||
// Run our queue of passes all at once now, efficiently. This form of
|
||||
|
Loading…
Reference in New Issue
Block a user