HomePhabricator

AMDGPU: Hack out noinline on functions using LDS globals

Authored by arsenm on Apr 2 2020, 8:52 AM.

Description

AMDGPU: Hack out noinline on functions using LDS globals

This is a workaround for clang adding noinline to all functions at
-O0. Previously, we would just add alwaysinline, and the verifier
would complain about having both noinline and alwaysinline. We
currently can't truly codegen this case as a freestanding function, so
override the user forcing noinline.

Details

Committed
arsenmApr 2 2020, 11:12 AM
Parents
rGfb80b6b2d58c: Make it possible for lit.site.cfg to contain relative paths, and use it for…
Branches
Unknown
Tags
Unknown