This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/SI: Remove VCCReg
ClosedPublic

Authored by arsenm on Aug 2 2015, 12:14 PM.

Details

Reviewers
tstellarAMD

Diff Detail

Event Timeline

arsenm updated this revision to Diff 31210.Aug 2 2015, 12:14 PM
arsenm retitled this revision from to AMDGPU/SI: Remove VCCReg.
arsenm updated this object.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
arsenm updated this revision to Diff 31550.Aug 7 2015, 3:41 PM

Update to trunk to fix assembler for vopc instructions

tstellarAMD added inline comments.Aug 7 2015, 5:01 PM
lib/Target/AMDGPU/SIInstrInfo.td
1124–1125

Can you rename this class to VOPC_I1_F32_I32 for consistency.

1128–1130

Can you change this to something like:

class VOPC_Profile<ValueType vt0, ValueType vt1 = vt0> : ...

So that the VOP_I1_* class can inherit from this and don't need to duplicate the Asm32 string.

1132

Same here, use VOPC prefix.

arsenm updated this revision to Diff 31561.Aug 7 2015, 5:26 PM

Don't duplicate asm strings

tstellarAMD accepted this revision.Aug 7 2015, 5:28 PM
tstellarAMD edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Aug 7 2015, 5:28 PM
arsenm closed this revision.Aug 7 2015, 5:45 PM

r244380