This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Fix legalization of VOP3P
AbandonedPublic

Authored by rampitec on Sep 6 2017, 2:18 PM.

Details

Reviewers
arsenm
Summary

I am figuring out if I can create a relevant test now.

Diff Detail

Event Timeline

rampitec created this revision.Sep 6 2017, 2:18 PM
rampitec planned changes to this revision.Sep 6 2017, 2:50 PM

Actually it seems I have misread the documentation. VOP3P still cannot have literals other than inline constants.
I will remove the part about the legalization, but need to keep isOperandLegal part.

rampitec abandoned this revision.Sep 6 2017, 3:17 PM

In fact this is all not needed. We just cannot produce such instructions and the testcase was artificial with the bogus td file change.