Skip to content
Commit 5f172a33 authored by Argyrios Kyrtzidis's avatar Argyrios Kyrtzidis
Browse files

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

llvm-svn: 153297
parent c7c66e4d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment