mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
Add new DAE pass to gccld. It does not add cause any regressions in the test-suite
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6770 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -396,6 +396,10 @@ int main(int argc, char **argv) {
|
|||||||
Passes.add(createInternalizePass());
|
Passes.add(createInternalizePass());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Remove unused arguments from functions...
|
||||||
|
//
|
||||||
|
Passes.add(createDeadArgEliminationPass());
|
||||||
|
|
||||||
// Now that we have optimized the program, discard unreachable functions...
|
// Now that we have optimized the program, discard unreachable functions...
|
||||||
//
|
//
|
||||||
Passes.add(createGlobalDCEPass());
|
Passes.add(createGlobalDCEPass());
|
||||||
|
Reference in New Issue
Block a user