summaryrefslogtreecommitdiff
path: root/ir_if_simplification.h
AgeCommit message (Collapse)Author
2010-04-14Add an ir_if simplification pass.Eric Anholt
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.