This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Use isMeta flags on pseudoinstructions
AbandonedPublic

Authored by arsenm on Jun 10 2022, 9:19 AM.

Details

Reviewers
None
Group Reviewers
Restricted Project

Diff Detail

Event Timeline

arsenm created this revision.Jun 10 2022, 9:19 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 10 2022, 9:19 AM
arsenm requested review of this revision.Jun 10 2022, 9:19 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 10 2022, 9:19 AM
Herald added a subscriber: wdng. · View Herald Transcript
foad added inline comments.Jun 10 2022, 9:32 AM
llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
1768

Could we check isPseudo here instead of marking all our pseudos with isMeta? Or does isPseudo mean something different from what we mean by a pseudo instruction?

arsenm added inline comments.Jun 10 2022, 9:52 AM
llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
1768

isPseudo is different. Basically all of our instructions are isPseudo because they are the "generic" versions of instructions which get converted to the real opcodes at emission time

arsenm abandoned this revision.Jul 18 2022, 2:26 PM

Apparently I double posted this as D128313