diff options
author | Dan Gohman <gohman@apple.com> | 2010-11-17 23:21:44 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-11-17 23:21:44 +0000 |
commit | 714b5290b04e08570dae4304c1c92d30c06d3c99 (patch) | |
tree | 7c383ca36ec24098ed0492d7fc4edb978b1c35f6 /lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | |
parent | e7c682b54390b87cc2264963e957e9b754b59162 (diff) |
Merge the implementations of isLoopInvariant and hasComputableLoopEvolution, and
memoize the results. This improves compile time in code which highly complex
expressions which get queried many times.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119584 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
0 files changed, 0 insertions, 0 deletions