This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU][MC][GFX9] Corrected mapping of pseudo to MC for v_add/sub/subrev_u32
ClosedPublic

Authored by dp on Nov 28 2017, 5:03 AM.

Details

Summary

When translating pseudo to MC, v_add/sub/subrev_u32 shall be mapped via a separate table as GFX8 has opcodes with the same names.
These instructions shall also be labelled as renamed for pseudoToMCOpcode to handle them correctly.

Diff Detail

Repository
rL LLVM

Event Timeline

dp created this revision.Nov 28 2017, 5:03 AM
arsenm accepted this revision.Nov 28 2017, 9:18 AM

LGTM

This revision is now accepted and ready to land.Nov 28 2017, 9:18 AM
This revision was automatically updated to reflect the committed changes.