Add test case for LoopSink pass
authorMax Kazantsev <max.kazantsev@azul.com>
Fri, 20 Oct 2017 06:40:48 +0000 (06:40 +0000)
committerMax Kazantsev <max.kazantsev@azul.com>
Fri, 20 Oct 2017 06:40:48 +0000 (06:40 +0000)
commit1c839629aae13e8de1b79533c59efce6aef0f676
tree60bbc42fc6f57bb2b1f748235b225672c12132de
parent6670e424028caf7908bd9ef2f41550c48064a741
Add test case for LoopSink pass

This test checks that load from constant memory will be sunk regardless of
aliasing stores in the loop.

Patch by Daniil Suchkov!

Differential Revision: https://reviews.llvm.org/D39113

llvm-svn: 316207
llvm/test/Transforms/LICM/loopsink.ll