commit | 5ba94206083fcd678febd6cac0231f35c0f1b77a | [log] [tgz] |
---|---|---|
author | Eric Anholt <eric@anholt.net> | Wed Apr 14 17:03:03 2010 -0700 |
committer | Eric Anholt <eric@anholt.net> | Wed Apr 14 17:05:13 2010 -0700 |
tree | 79311ea6e69d971c8a8c34a7624da4a9f203b2c1 | |
parent | 60be7626b829af7e1d07330b9a88468924ba350e [diff] |
Add an ir_if simplification pass. This is relatively simple at the moment, recognizing only constant values, and not (for example) values that are restricted to a range that make the branching constant. However, it does remove 59 lines from the printout of CorrectParse2.vert.