aboutsummaryrefslogtreecommitdiff
path: root/test/conditional-constant.qbe
AgeCommit message (Collapse)Author
2021-09-28expr: Skip codegen for unused expression in conditional with constant expressionMichael Forney
This compiles `0 ? e1 : e2` as `e2`, and `1 ? e1 : e2` as `e1` (while still adjusting the type as necessary).