[PATCH] D37887: AMDGPU: Run internalize symbols at -O0

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 18 16:16:30 PDT 2017


rampitec added inline comments.


================
Comment at: test/CodeGen/AMDGPU/internalize.ll:26
 
-; Function Attrs: alwaysinline nounwind
+; CHECK: define amdgpu_kernel void @foo_used(
 define amdgpu_kernel void @foo_used(i32 addrspace(1)* %out, i32 %tid) local_unnamed_addr #1 {
----------------
rampitec wrote:
> I have check prefixes ALL, OPT and OPTNONE. The check prefix CHECK does not exist.
Does it work? Code now seems to be right, but this check shall fail. foo_used is always_inline, it shall be internalized, inlined and eliminated.


https://reviews.llvm.org/D37887





More information about the llvm-commits mailing list