This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Preserve inverted bit in SI_IF in presence of SI_KILL
ClosedPublic

Authored by rampitec on Aug 3 2017, 7:26 PM.

Details

Summary

In case if SI_KILL is in between of the SI_IF and SI_END_CF we need
to preserve the bits actually flipped by if rather then restoring
the original mask.

Diff Detail

Repository
rL LLVM

Event Timeline

rampitec created this revision.Aug 3 2017, 7:26 PM
tpr accepted this revision.Aug 3 2017, 11:49 PM

Thanks Stas. Looks good to me. It fixes my breakages.

This revision is now accepted and ready to land.Aug 3 2017, 11:49 PM
This revision was automatically updated to reflect the committed changes.