commit | 8c6d360636dee25f1ce071c3656810c6632cb89d | [log] [tgz] |
---|---|---|
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Fri Mar 23 00:59:17 2012 +0000 |
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Fri Mar 23 00:59:17 2012 +0000 |
tree | c508698402a396240200dc46eaf06f587b02b7bc | |
parent | 7608a8080bad7ee87a9a50015e9ca63fb214aba2 [diff] |
[CFG] Cache boolean evaluations of expressions to avoid multiple re-evaluations during construction of branches for chained logical operators. This makes -fsyntax-only for test/Sema/many-logical-ops.c about 32x times faster. With measuring SemaExpr.cpp I see differences below the noise level. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153297 91177308-0d34-0410-b5e6-96231b3b80d8