[ScopBuilder] Iterate over statement instructions. NFC.
commit65d9ad599a8012bd2f14494fac4f2f1d8c3bcb4b
authorMichael Kruse <llvm@meinersbur.de>
Mon, 2 Oct 2017 11:41:33 +0000 (2 11:41 +0000)
committerMichael Kruse <llvm@meinersbur.de>
Mon, 2 Oct 2017 11:41:33 +0000 (2 11:41 +0000)
tree8ca1da8d7e688e8f07f55699696d360311ddc326
parente636ee2abcaba77bca22160989b84613794cd62a
[ScopBuilder] Iterate over statement instructions. NFC.

Iterate over statement instructions instead over basic block
instructions when creating MemoryAccesses. It allows making the creation
of MemoryAccesses independent of how the basic blocks are split into
multiple ScopStmts.

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