This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/GlobalISel: Handle stacksave/stackrestore
ClosedPublic

Authored by arsenm on Jul 31 2023, 4:26 AM.

Details

Reviewers
Pierre-vh
foad
Petar.Avramovic
mbrkusanin
vjayakum
Group Reviewers
Restricted Project

Diff Detail

Event Timeline

arsenm created this revision.Jul 31 2023, 4:26 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 31 2023, 4:26 AM
arsenm requested review of this revision.Jul 31 2023, 4:26 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 31 2023, 4:26 AM
Herald added a subscriber: wdng. · View Herald Transcript
Pierre-vh accepted this revision.Aug 4 2023, 6:22 AM
Pierre-vh added inline comments.
llvm/test/CodeGen/AMDGPU/stacksave_stackrestore.invalid.ll
5

nit: why does this test use amdpal but the MIR ones don't?
Also is filetype=null needed?

This revision is now accepted and ready to land.Aug 4 2023, 6:22 AM
arsenm added inline comments.Aug 9 2023, 7:14 AM
llvm/test/CodeGen/AMDGPU/stacksave_stackrestore.invalid.ll
5

We emit an error on amdgpu_gfx functions for amdhsa which is really annoying.

-filetype=null saves time by not actually emitting the broken result