mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
The cleangcc pass is brokeninto two pieces, execute both of them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2225 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
265b083e84
commit
6a1f6940a1
@ -68,6 +68,7 @@ int main(int argc, char **argv) {
|
||||
// a little bit. Do this now.
|
||||
//
|
||||
PassManager Passes;
|
||||
Passes.add(createFunctionResolvingPass()); // Resolve (...) functions
|
||||
Passes.add(createDeadInstEliminationPass()); // Remove Dead code/vars
|
||||
Passes.add(createRaiseAllocationsPass()); // call %malloc -> malloc inst
|
||||
Passes.add(createCleanupGCCOutputPass()); // Fix gccisms
|
||||
|
Loading…
Reference in New Issue
Block a user