[PATCH] CodeGen: Minor cleanup/simplification in CGStmt

Rafael EspĂ­ndola rafael.espindola at gmail.com
Wed Oct 30 15:14:40 PDT 2013


> 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.

If you can get a C testcase it should probably go in clang/test/CodeGen.

Cheers,
Rafael



More information about the cfe-commits mailing list