HomePhabricator

AMDGPU: Always use s33 for global scratch wave offset

Authored by arsenm on Jun 20 2019, 2:58 PM.

Description

AMDGPU: Always use s33 for global scratch wave offset

Every called function could possibly need this to calculate the
absolute address of stack objectst, and this avoids inserting a copy
around every call site in the kernel. It's also somewhat cleaner to
keep this in a callee saved SGPR.

llvm-svn: 363990

Details

Committed
arsenmJun 20 2019, 2:58 PM
Parents
rG25f08a17c318: [ARM GlobalISel] Add support for s64 G_ADD and G_SUB.
Branches
Unknown
Tags
Unknown