commit | 31a0984b5cb4af99d2407c0f25bf5af68df681c6 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Wed Nov 12 08:04:58 2008 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Wed Nov 12 08:04:58 2008 +0000 |
tree | e1752760f7afede860249245b9aab7ef37bc3fa3 | |
parent | 210e0f57dbd10f6f2db60a9532a75d326b91fe0b [diff] |
Move EmitBranchOnBoolExpr and ConstantFoldsToSimpleInteger to CodeGenFunction.cpp. Change VisitConditionalOperator to use constant fold instead of codegen'ing a constant conditional. Change ForStmt to use EmitBranchOnBoolExpr, this shrinks expr.c very slightly to 40239 lines. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59113 91177308-0d34-0410-b5e6-96231b3b80d8