mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-26 21:47:07 +00:00
Add new DAE pass to gccld. It does not add cause any regressions in the test-suite
llvm-svn: 6770
This commit is contained in:
parent
d176218b2d
commit
7b1df04748
@ -396,6 +396,10 @@ int main(int argc, char **argv) {
|
||||
Passes.add(createInternalizePass());
|
||||
}
|
||||
|
||||
// Remove unused arguments from functions...
|
||||
//
|
||||
Passes.add(createDeadArgEliminationPass());
|
||||
|
||||
// Now that we have optimized the program, discard unreachable functions...
|
||||
//
|
||||
Passes.add(createGlobalDCEPass());
|
||||
|
Loading…
Reference in New Issue
Block a user