This is an archive of the discontinued LLVM Phabricator instance.

Add test case for LoopSink pass
ClosedPublic

Authored by DaniilSuchkov on Oct 19 2017, 11:06 PM.

Details

Summary

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

Diff Detail

Event Timeline

DaniilSuchkov created this revision.Oct 19 2017, 11:06 PM
mkazantsev requested changes to this revision.Oct 19 2017, 11:08 PM
mkazantsev added inline comments.
test/Transforms/LICM/loopsink.ll
297

CHECK: t5_with_const?

This revision now requires changes to proceed.Oct 19 2017, 11:08 PM
DaniilSuchkov edited edge metadata.
DaniilSuchkov marked an inline comment as done.
This revision is now accepted and ready to land.Oct 19 2017, 11:24 PM
This revision was automatically updated to reflect the committed changes.