AMDGPU: Emit note directive for HSA even if there are no functions
authorTom Stellard <thomas.stellard@amd.com>
Tue, 12 Jan 2016 17:18:17 +0000 (17:18 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Tue, 12 Jan 2016 17:18:17 +0000 (17:18 +0000)
commite395458a4fc41615a53838fa09cbd9b88d6855e6
tree6aae6959dee8ee489923089eceebf34b33cdaa9f
parent09c7fb3a60307e4d89414a9515b0af1b1fc9d589
AMDGPU: Emit note directive for HSA even if there are no functions

Reviewers: arsenm, echristo

Subscribers: arsenm, llvm-commits

Differential Revision: http://reviews.llvm.org/D16010

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257488 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
lib/Target/AMDGPU/AMDGPUAsmPrinter.h
test/CodeGen/AMDGPU/hsa-note-no-func.ll [new file with mode: 0644]