diff options
author | Chris Lattner <sabre@nondot.org> | 2005-08-05 18:10:27 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-08-05 18:10:27 +0000 |
commit | 82299e70977500209c951404e354510feffb8efa (patch) | |
tree | 795dcd677081c6fdf8266132b525f352e6b28bc8 /lib/Transforms/TransformInternals.cpp | |
parent | c534395cb22202e66f27abe99dd9c153b4a68b14 (diff) |
Change FindEarliestCallSeqEnd (used by libcall insertion) to use a set to
avoid revisiting nodes more than once. This eliminates a source of
potentially exponential behavior. For a small function in 191.fma3d
(hexah_stress_divergence_), this speeds up isel from taking > 20mins to
taking 0.07s.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22680 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/TransformInternals.cpp')
0 files changed, 0 insertions, 0 deletions