This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Assembler: change v_madmk operands to have same order as mad.
ClosedPublic

Authored by nhaustov on Mar 9 2016, 2:41 AM.

Details

Summary

The constant is now at source operand 1 (previously at 2).
This is also how it is in legacy AMD sp3 assembler.
Update tests.

Diff Detail

Repository
rL LLVM

Event Timeline

nhaustov updated this revision to Diff 50115.Mar 9 2016, 2:41 AM
nhaustov retitled this revision from to [AMDGPU] Assembler: change v_madmk operands to have same order as mad..
nhaustov updated this object.
nhaustov added reviewers: tstellarAMD, arsenm.
nhaustov added a subscriber: llvm-commits.
tstellarAMD accepted this revision.Mar 10 2016, 6:38 PM
tstellarAMD edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Mar 10 2016, 6:38 PM
This revision was automatically updated to reflect the committed changes.