projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
AMDGPU/SI: Emit HSA kernels with symbol type STT_AMDGPU_HSA_KERNEL
[oota-llvm.git]
/
lib
/
Target
/
AMDGPU
/
AMDGPUMachineFunction.h
diff --git
a/lib/Target/AMDGPU/AMDGPUMachineFunction.h
b/lib/Target/AMDGPU/AMDGPUMachineFunction.h
index f5e4694e76f6ff854473751305d954bd71f8b428..46fcee8748875d64041f0a3e1ac94a51076aa7b7 100644
(file)
--- a/
lib/Target/AMDGPU/AMDGPUMachineFunction.h
+++ b/
lib/Target/AMDGPU/AMDGPUMachineFunction.h
@@
-37,6
+37,11
@@
public:
return ShaderType;
}
+ bool isKernel() const {
+ // FIXME: Assume everything is a kernel until function calls are supported.
+ return true;
+ }
+
unsigned ScratchSize;
bool IsKernel;
};