[ForwardOpTree] Support hoisted invariant loads.
commit1ca9fe12007be0aef9f190d6f9fefafc50cc7c6d
authorMichael Kruse <llvm@meinersbur.de>
Sat, 22 Jul 2017 14:30:02 +0000 (22 14:30 +0000)
committerMichael Kruse <llvm@meinersbur.de>
Sat, 22 Jul 2017 14:30:02 +0000 (22 14:30 +0000)
tree88644d0dc725b125dbbb32add92f088a7b64a845
parenta9fc1edc9ee66e65590a7df04669bf8e8a91d11e
[ForwardOpTree] Support hoisted invariant loads.

Hoisted loads can be trivially supported because there are no
MemoryAccess to be modified, the loaded value is just available
at code generation.

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@308826 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transform/ForwardOpTree.cpp
test/ForwardOpTree/forward_hoisted.ll [new file with mode: 0644]