This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: wave_barrier is not isBarrier
ClosedPublic

Authored by arsenm on Mar 26 2019, 2:22 PM.

Details

Reviewers
rampitec
Summary

This is not a control flow instruction, so should not be marked as
isBarrier. This fixes a verifier error if followed by unreachable.

Diff Detail

Event Timeline

arsenm created this revision.Mar 26 2019, 2:22 PM

What if we call a real barrier in the same situation?

What if we call a real barrier in the same situation?

s_barrier already has the correct flags

This revision is now accepted and ready to land.Mar 26 2019, 2:48 PM
arsenm closed this revision.Mar 27 2019, 8:53 AM

r357081