[ScopInfo] Remove unnecessary indirection through SCEV [NFC]
commit8bbc090670eed5be3f71d6d7fac06bf109350b7c
authorTobias Grosser <tobias@grosser.es>
Thu, 9 Feb 2017 09:34:46 +0000 (9 09:34 +0000)
committerTobias Grosser <tobias@grosser.es>
Thu, 9 Feb 2017 09:34:46 +0000 (9 09:34 +0000)
treee4a5230f080b8b206fd0232bf6158b9b231a565f
parent555c42b065c3080932f320f59da439233f31ab35
[ScopInfo] Remove unnecessary indirection through SCEV [NFC]

The base address of a memory access is already an llvm::Value. Hence, there is
no need to go through SCEV, but we can directly work with the llvm::Value.

Also use 'Value *' instead of 'auto' for cases where the type is not obvious.

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@294575 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ScopInfo.cpp