commit | 36d12733bb4e6da7be2f431ae090b7da317ffb0f | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Fri Apr 15 19:28:32 2005 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Fri Apr 15 19:28:32 2005 +0000 |
tree | 08d0709832d3b934442cfe244584ef28cbaa7035 | |
parent | 73459d097b6439bfa3476036299c4a78724cbb36 [diff] |
a new simple pass, which will be extended to be more useful in the future. This pass forward branches through conditions when it can show that the conditions is either always true or false for a predecessor. This currently only handles the most simple cases of this, but is successful at threading across 2489 branches and 65 switch instructions in 176.gcc, which isn't bad. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21306 91177308-0d34-0410-b5e6-96231b3b80d8