[ScopBuilder] Specialize exit block handling. NFC.
authorMichael Kruse <llvm@meinersbur.de>
Mon, 2 Oct 2017 11:41:12 +0000 (11:41 +0000)
committerMichael Kruse <llvm@meinersbur.de>
Mon, 2 Oct 2017 11:41:12 +0000 (11:41 +0000)
commit0bedec0e657537b51c0d244b44f5f6394d54bce9
tree6d637e92ea68be19c47d8a1db41f9fa0fa15a6f8
parente276e9f324ee3baeef06c2df3a6bb38e1a94df30
[ScopBuilder] Specialize exit block handling. NFC.

Decouple handling of exit block PHIs and other MemoryAccesses. Exit PHIs
only need the PHI handling part of buildAccessFunctions but requires
code for skipping them in while creating other MemoryAcesses.

This change will make it easier to modify how statement MemoryAccesses
are created without considering the exit block special case.

llvm-svn: 314662
polly/include/polly/ScopBuilder.h
polly/lib/Analysis/ScopBuilder.cpp