llvm.org GIT mirror llvm / 54fa7b1
AMDGPU: Emit functions sizes Reviewers: arsenm Subscribers: arsenm, llvm-commits Differential Revision: http://reviews.llvm.org/D15951 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257172 91177308-0d34-0410-b5e6-96231b3b80d8 Tom Stellard 4 years ago
2 changed file(s) with 4 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
2727 //===--- Global Variable Emission Directives --------------------------===//
2828 HasAggressiveSymbolFolding = true;
2929 COMMDirectiveAlignmentIsInBytes = false;
30 HasDotTypeDotSizeDirective = false;
3130 HasNoDeadStrip = true;
3231 WeakRefDirective = ".weakref\t";
3332 //===--- Dwarf Emission Directives -----------------------------------===//
2727
2828 ; ELF: Symbol {
2929 ; ELF: Name: simple
30 ; ELF: Size: 296
3031 ; ELF: Type: AMDGPU_HSA_KERNEL (0xA)
3132 ; ELF: }
3233
5152 ; Make sure we generate flat store for HSA
5253 ; HSA: flat_store_dword v{{[0-9]+}}
5354
55 ; HSA: .Lfunc_end0:
56 ; HSA: .size simple, .Lfunc_end0-simple
57
5458 define void @simple(i32 addrspace(1)* %out) {
5559 entry:
5660 store i32 0, i32 addrspace(1)* %out