HomePhabricator

AMDGPU: Account for the size of LDS globals used through constant

Authored by arsenm on Jul 17 2020, 6:32 PM.

Description

AMDGPU: Account for the size of LDS globals used through constant
expressions.

Also "fix" the longstanding bug where the computed size depends on the
order of the visitation. We could try to predict the allocation order
used by legalization, but it would never be 100% perfect. Until we
start fixing the addresses somehow (or have a more reliable allocation
scheme later), just try to compute the size based on the worst case
padding.

Details

Committed
arsenmJul 29 2020, 8:40 AM
Parents
rGbbc2ddecbd34: [clang-tidy] Handled insertion only fixits when determining conflicts.
Branches
Unknown
Tags
Unknown