Page MenuHomePhabricator

AMDGPU: Always allocate emergency stack slot at offset 0
ClosedPublic

Authored by arsenm on Jan 19 2017, 9:20 PM.

Details

Reviewers
tstellarAMD
Summary

This allows us to ensure that 0 is never a valid pointer
to a user object, and ensures that the offset is always legal
without needing a register to access it. This comes at the cost
of usable offsets and wasted stack space.

Diff Detail