commit | 86d34100cf164f6ba5c0c2344b7dff86cc0a0980 | [log] [tgz] |
---|---|---|
author | Andrew Trick <atrick@apple.com> | Mon Dec 12 22:46:16 2011 +0000 |
committer | Andrew Trick <atrick@apple.com> | Mon Dec 12 22:46:16 2011 +0000 |
tree | 10b2ec58c1e4d24ea8ee218d5283332a10f919bc | |
parent | e5609abccbd329ef4b07270c8b71a5b59cfe8bce [diff] |
Indvars: guard against exponential behavior in isHighCostExpansion. This should always be done as a matter of principal. I don't have a case that exposes the problem. I just noticed this recently while scanning the code and realized I meant to fix it long ago. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146438 91177308-0d34-0410-b5e6-96231b3b80d8