commit | eb9a42e8ab5ffb5a8f02c2f78876ed03dd883416 | [log] [tgz] |
---|---|---|
author | Arnaud A. de Grandmaison <arnaud.adegm@gmail.com> | Tue Mar 19 20:00:22 2013 +0000 |
committer | Arnaud A. de Grandmaison <arnaud.adegm@gmail.com> | Tue Mar 19 20:00:22 2013 +0000 |
tree | f3e7e759a4ca5653feb3e8f3da07fdf44b2c731e | |
parent | dff4d1522a3a14df3c40c33421e24f59633da67b [diff] |
IndVarSimplify: do not recompute an IV value outside of the loop if : - it is trivially known to be used inside the loop in a way that can not be optimized away - there is no use outside of the loop which can take advantage of the computation hoisting git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177432 91177308-0d34-0410-b5e6-96231b3b80d8