This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Fix missing MIR serialization for PSInputAddr/PSInputEnable
ClosedPublic

Authored by arsenm on Mar 4 2023, 5:40 PM.

Details

Reviewers
dstuttard
piotr
critson
tpr
Group Reviewers
Restricted Project
Summary

Resuming any mir test for a pixel shader would assert in the AsmPrinter.

Diff Detail

Event Timeline

arsenm created this revision.Mar 4 2023, 5:40 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 4 2023, 5:40 PM
arsenm requested review of this revision.Mar 4 2023, 5:40 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 4 2023, 5:40 PM
Herald added a subscriber: wdng. · View Herald Transcript

LGTM, but one question about the diff preparation.

llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
282

I don't understand this part of the diff, since this is how the header is already defined.

arsenm added inline comments.Mar 27 2023, 5:16 PM
llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
282

You’re probably confusing the actual MFI definition and the yaml mirror, which is what this is

critson accepted this revision.Mar 27 2023, 5:48 PM

LGTM

llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
282

Correct, I had not appreciated there were two definitions with the same name in different namespaces.

This revision is now accepted and ready to land.Mar 27 2023, 5:48 PM