This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Handle SI_MASKED_UNREACHABLE in instruction emitter
ClosedPublic

Authored by yaxunl on Apr 21 2017, 11:39 AM.

Details

Summary

SI_MASKED_UNREACHABLE does not have machine instruction encoding.
It needs special handling in AMDGPUAsmPrinter::EmitInstruction like some
other pseudo instructions.

This patch fixes compilation failure of RadeonRays.

Diff Detail

Repository
rL LLVM

Event Timeline

yaxunl created this revision.Apr 21 2017, 11:39 AM
arsenm accepted this revision.Apr 21 2017, 11:41 AM

LGTM

This revision is now accepted and ready to land.Apr 21 2017, 11:41 AM
This revision was automatically updated to reflect the committed changes.