OSDN Git Service

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)
commit28591001d2e16141402546a7e18affaf27113c10
treead62e8d38497089009ea5a39726a8618517cc300
parente536cadb6f4182f7e82a74eeeeb4cbbb90a5c9fb
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316207 91177308-0d34-0410-b5e6-96231b3b80d8
test/Transforms/LICM/loopsink.ll