diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-03-23 00:59:17 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-03-23 00:59:17 +0000 |
commit | 8c6d360636dee25f1ce071c3656810c6632cb89d (patch) | |
tree | c508698402a396240200dc46eaf06f587b02b7bc /lib/Sema/SemaDecl.cpp | |
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
Diffstat (limited to 'lib/Sema/SemaDecl.cpp')
0 files changed, 0 insertions, 0 deletions