summaryrefslogtreecommitdiffstats
path: root/ast_to_hir.cpp
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2010-04-14 17:03:03 -0700
committerEric Anholt <[email protected]>2010-04-14 17:05:13 -0700
commit5ba94206083fcd678febd6cac0231f35c0f1b77a (patch)
tree79311ea6e69d971c8a8c34a7624da4a9f203b2c1 /ast_to_hir.cpp
parent60be7626b829af7e1d07330b9a88468924ba350e (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