[PATCH] D18358: AMDGPU: Account for globals in AMDGPUPromoteAlloca pass

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 1 13:43:24 PDT 2016


tstellarAMD added inline comments.

================
Comment at: test/CodeGen/AMDGPU/promote-alloca-globals.ll:1
@@ +1,2 @@
+; RUN: opt -S -mtriple=amdgcn-unknown-unknown -amdgpu-promote-alloca < %s | FileCheck %s
+
----------------
bnieuwenhuizen wrote:
> arsenm wrote:
> > You should also include an llc run line and check for the final LDS usage
> How do you check for LDS usage? I can't find anything about LDS except the numerical representations of the RSRC registers.
It doesn't look like we emit this currently.  You emit this information from the AMDGPUAsmPrinter.cpp with the rest of the Kernel info.


http://reviews.llvm.org/D18358





More information about the llvm-commits mailing list