diff options
author | Eric Anholt <[email protected]> | 2010-04-14 17:03:03 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-04-14 17:05:13 -0700 |
commit | 5ba94206083fcd678febd6cac0231f35c0f1b77a (patch) | |
tree | 79311ea6e69d971c8a8c34a7624da4a9f203b2c1 /ast_to_hir.cpp | |
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.
Diffstat (limited to 'ast_to_hir.cpp')
0 files changed, 0 insertions, 0 deletions