commit | 4455a132ce6e1cf58eb3036a99fe57cfe7d58193 | [log] [tgz] |
---|---|---|
author | Brendon Cahoon <bcahoon@codeaurora.org> | Tue Apr 19 16:46:57 2016 +0000 |
committer | Brendon Cahoon <bcahoon@codeaurora.org> | Tue Apr 19 16:46:57 2016 +0000 |
tree | f300d04de6e10dbfa384cccb6df21342687287ef | |
parent | 12cc10fde1c04f34bd79e062fd39421c7734598c [diff] |
[DependenceAnalysis] Refactor uses of getConstantPart. NFC. Rather than checking for the SCEV type prior to calling getContantPart, perform the checks in the function. This reduces the number of places where the checks are needed. Differential Revision: http://reviews.llvm.org/D19241 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@266759 91177308-0d34-0410-b5e6-96231b3b80d8