This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Assembler: Support abs() syntax.
ClosedPublic

Authored by nhaustov on Mar 4 2016, 6:58 AM.

Details

Summary

Support legacy SP3 abs(v1) syntax. InstPrinter still uses |v1|.
Add tests.

Diff Detail

Repository
rL LLVM

Event Timeline

nhaustov updated this revision to Diff 49825.Mar 4 2016, 6:58 AM
nhaustov retitled this revision from to [AMDGPU] Assembler: Support abs() syntax..
nhaustov updated this object.
nhaustov added reviewers: tstellarAMD, arsenm.
nhaustov added a subscriber: llvm-commits.
arsenm edited edge metadata.Mar 4 2016, 9:39 AM

This looks exactly the same as D17887. I never implemented support for emitting both abs() and ||

This looks exactly the same as D17887. I never implemented support for emitting both abs() and ||

Did you mean some other review than this one?

tstellarAMD accepted this revision.Mar 7 2016, 12:47 PM
tstellarAMD edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Mar 7 2016, 12:47 PM

This looks exactly the same as D17887. I never implemented support for emitting both abs() and ||

Did you mean some other review than this one?

Probably that one: http://reviews.llvm.org/D14137
I'm going to submit this one to support both syntaxes.

This revision was automatically updated to reflect the committed changes.