This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU][MC] Corrected src0 for v_movrelsd_b32 and v_movrelsd_2_b32
ClosedPublic

Authored by dp on Nov 6 2019, 5:13 AM.

Details

Summary

These opcodes should not accept SGPRs as src0, only VGPRs are legal.

See https://bugs.llvm.org/show_bug.cgi?id=40903

Diff Detail

Event Timeline

dp created this revision.Nov 6 2019, 5:13 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 6 2019, 5:13 AM
rampitec accepted this revision.Nov 6 2019, 9:57 AM

LGTM

This revision is now accepted and ready to land.Nov 6 2019, 9:57 AM
This revision was automatically updated to reflect the committed changes.