[all-commits] [llvm/llvm-project] c3d3c2: AMDGPU: Hack out noinline on functions using LDS g...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Thu Apr 2 11:12:47 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: c3d3c22a5834ac8afe9618ef9eed5dac370c080d
https://github.com/llvm/llvm-project/commit/c3d3c22a5834ac8afe9618ef9eed5dac370c080d
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2020-04-02 (Thu, 02 Apr 2020)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUAlwaysInlinePass.cpp
M llvm/test/CodeGen/AMDGPU/force-alwaysinline-lds-global-address.ll
Log Message:
-----------
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.
More information about the All-commits
mailing list