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 | 42214899082bfb5b6f8c6a09d355fec9ef4a0e82 (patch) | |
tree | 9787b4979b555cb718f5c2a82fa5209a69d8fa63 /lib/Support/Triple.cpp | |
parent | b97cb9cbe120c50cd78c4d2c0b86d4dd8047b055 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80623 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Triple.cpp')
0 files changed, 0 insertions, 0 deletions