mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
Run constprop before -raise
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1354 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4d631b85c1
commit
a8b3015d40
@ -64,6 +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
|
||||
|
Loading…
x
Reference in New Issue
Block a user