[ScopBuilder] Iterate over statement instructions. NFC.
authorMichael Kruse <llvm@meinersbur.de>
Mon, 2 Oct 2017 11:41:33 +0000 (11:41 +0000)
committerMichael Kruse <llvm@meinersbur.de>
Mon, 2 Oct 2017 11:41:33 +0000 (11:41 +0000)
commit4ee19603e920754788878cb424f2316525bca1b7
tree5bddf9c255d3c1ad54ed9e15297670cf6f9a116b
parentf5745b4e7d7b5815f492e584e9fff1e51dd41c47
[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.

llvm-svn: 314665
polly/lib/Analysis/ScopBuilder.cpp