commit | 714b5290b04e08570dae4304c1c92d30c06d3c99 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Wed Nov 17 23:21:44 2010 +0000 |
committer | Dan Gohman <gohman@apple.com> | Wed Nov 17 23:21:44 2010 +0000 |
tree | 7c383ca36ec24098ed0492d7fc4edb978b1c35f6 | |
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