Rafael Espíndola <[email protected]> writes: > The comment in EmitBranchOnBoolExpr says: "Based on the condition, > this might try to simplify the codegen of the conditional based on the > branch.". Can we add a testcase where such an optimization is present?
That seems like a good idea, but I need some input on where such a test would go and how to structure it. I don't really see any similar tests. From what I can see, EmitBranchOnBoolExpr is basically doing some trivial constant folding so that our codegen at -O0 is reasonable. _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
