summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-08-31 21:15:23 +0000
committerDan Gohman <gohman@apple.com>2009-08-31 21:15:23 +0000
commitcc2f1eb7fe9bc10a835002196ee268bdd5226b5e (patch)
tree8d310bb6e5d3a0b5f6086b7319ccda725d50c114 /clang
parentf04db57674191c88b23dd82f8342d0cf5a1ba6bb (diff)
downloadbcm5719-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')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud