commit | 4f23838f56163df5291503f18c84a579961c313f | [log] [tgz] |
---|---|---|
author | Max Kazantsev <max.kazantsev@azul.com> | Tue Mar 13 07:46:06 2018 +0000 |
committer | Max Kazantsev <max.kazantsev@azul.com> | Tue Mar 13 07:46:06 2018 +0000 |
tree | b7bf607d0ce5207625a6fe06dc01bdf1f67ae483 | |
parent | cfe9a0e9053a9bc25bfdaf718f0f74fd8f034b10 [diff] |
[SCEV][NFC] Smarter implementation of isAvailableAtLoopEntry isAvailableAtLoopEntry duplicates logic of `properlyDominates` after checking invariance. This patch replaces this logic with invocation of this method which is more profitable because it supports caching. Differential Revision: https://reviews.llvm.org/D43997 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@327373 91177308-0d34-0410-b5e6-96231b3b80d8