diff options
| author | Dan Gohman <gohman@apple.com> | 2009-08-31 21:15:23 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2009-08-31 21:15:23 +0000 |
| commit | cc2f1eb7fe9bc10a835002196ee268bdd5226b5e (patch) | |
| tree | 8d310bb6e5d3a0b5f6086b7319ccda725d50c114 /clang/lib/Sema/SemaExprCXX.cpp | |
| parent | f04db57674191c88b23dd82f8342d0cf5a1ba6bb (diff) | |
| download | bcm5719-llvm-cc2f1eb7fe9bc10a835002196ee268bdd5226b5e.tar.gz bcm5719-llvm-cc2f1eb7fe9bc10a835002196ee268bdd5226b5e.zip | |
Extend the ValuesAtScope cache to cover all expressions, not just
SCEVUnknowns, as the non-SCEVUnknown cases in the getSCEVAtScope code
can also end up repeatedly climing through the same expression trees,
which can be unusably slow when the trees are very tall.
Also, add a quick check for SCEV pointer equality to the main
SCEV comparison routine, as the full comparison code can be expensive
in the case of large expression trees.
These fix compile-time problems in some pathlogical cases.
llvm-svn: 80623
Diffstat (limited to 'clang/lib/Sema/SemaExprCXX.cpp')
0 files changed, 0 insertions, 0 deletions

