This is an archive of the discontinued LLVM Phabricator instance.

[NVPTX] Test that MachineSink won't sink across llvm.cuda.syncthreads.
ClosedPublic

Authored by jlebar on Feb 16 2016, 5:03 PM.

Details

Summary

The syncthreads MI is modeled as mayread/maywrite -- convergence doesn't
even come into play here. Nonetheless this property is highly implicit
in the tablegen files, so a test seems appropriate.

Diff Detail

Event Timeline

jlebar updated this revision to Diff 48134.Feb 16 2016, 5:03 PM
jlebar retitled this revision from to [NVPTX] Test that MachineSink won't sink across llvm.cuda.syncthreads..
jlebar updated this object.
jlebar added a reviewer: jingyue.
jlebar added a subscriber: llvm-commits.
jingyue accepted this revision.Feb 16 2016, 8:53 PM
jingyue edited edge metadata.
This revision is now accepted and ready to land.Feb 16 2016, 8:53 PM
This revision was automatically updated to reflect the committed changes.