Skip to content
Commit 1c4bddc5 authored by Chris Lattner's avatar Chris Lattner
Browse files

* Pull out the meat of runOnModule into another function for clarity.

* Do not lead dangling dead constants prevent optimization
* Iterate global optimization while we're making progress.

These changes allow us to be more aggressive, handling cases like
GlobalOpt/iterate.llx without a problem (turning it into 'ret int 0').

llvm-svn: 16857
parent 8f9a6974
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment