This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/GlobalISel: Select init_exec intrinsic
ClosedPublic

Authored by Petar.Avramovic on Jun 30 2020, 8:49 AM.

Details

Summary

Change imm with timm in pattern for SI_INIT_EXEC_LO and
remove regbank mappings for non register operands.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptJun 30 2020, 8:49 AM
arsenm accepted this revision.Jun 30 2020, 9:14 AM

LGTM with test nit

llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.init.exec.ll
1–2

-global-isel-abort=1 is the default, so you don't need that part

This revision is now accepted and ready to land.Jun 30 2020, 9:14 AM
This revision was automatically updated to reflect the committed changes.