diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2016-02-27 08:53:46 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2016-02-27 08:53:46 +0000 |
commit | 61738cbcb6c40cdaf6a6c560787b07373415114c (patch) | |
tree | 07e4ca2782e2f1996a768a1dfe09241c4630ac59 /llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h | |
parent | 353c84e747924745eb0e5df4defc2afd90a1758e (diff) | |
download | bcm5719-llvm-61738cbcb6c40cdaf6a6c560787b07373415114c.tar.gz bcm5719-llvm-61738cbcb6c40cdaf6a6c560787b07373415114c.zip |
AMDGPU: Implement readcyclecounter
This matches the behavior of the HSAIL clock instruction.
s_realmemtime is used if the subtarget supports it, and falls
back to s_memtime if not.
Also introduces new intrinsics for each of s_memtime / s_memrealtime.
llvm-svn: 262119
Diffstat (limited to 'llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h')
-rw-r--r-- | llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h b/llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h index c943b2cf6f4..787c04aef2d 100644 --- a/llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h +++ b/llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h @@ -88,6 +88,7 @@ private: bool GCN1Encoding; bool GCN3Encoding; bool CIInsts; + bool VIInsts; bool FeatureDisable; int LDSBankCount; unsigned IsaVersion; |