commit | f4dbee3151d7457118c800eb0b52c0b2f76cae8e | [log] [tgz] |
---|---|---|
author | Max Kazantsev <max.kazantsev@azul.com> | Fri Jul 28 06:42:15 2017 +0000 |
committer | Max Kazantsev <max.kazantsev@azul.com> | Fri Jul 28 06:42:15 2017 +0000 |
tree | 69ad57eb408b6fb40de8965487a5fe9937e74fa8 | |
parent | 8ebdca40c8e561b5c2cebb553f2bec0b7fdc7201 [diff] |
[SCEV] Do not visit nodes twice in containsConstantSomewhere This patch reworks the function that searches constants in Add and Mul SCEV expression chains so that now it does not visit a node more than once, and also renames this function for better correspondence between its implementation and semantics. Differential Revision: https://reviews.llvm.org/D35931 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309367 91177308-0d34-0410-b5e6-96231b3b80d8