diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2016-09-16 21:34:26 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2016-09-16 21:34:26 +0000 |
commit | 0b76fc4c772c03beb6d09eef7e48ffc77a214c82 (patch) | |
tree | 5a1fa69ae335f5977f104fa2699aa2ff17ba079f /llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp | |
parent | aab6d5c52a2ffd9ed392d13ffcd23bd8156fd026 (diff) | |
download | bcm5719-llvm-0b76fc4c772c03beb6d09eef7e48ffc77a214c82.tar.gz bcm5719-llvm-0b76fc4c772c03beb6d09eef7e48ffc77a214c82.zip |
AMDGPU/SI: Add support for triples with the mesa3d operating system
Summary:
mesa3d will use the same kernel calling convention as amdhsa, but it will
handle everything else like the default 'unknown' OS type.
Reviewers: arsenm
Subscribers: arsenm, llvm-commits, kzhuravl
Differential Revision: https://reviews.llvm.org/D22783
llvm-svn: 281779
Diffstat (limited to 'llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp')
-rw-r--r-- | llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp b/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp index 10f73a7f0ee..e911817c451 100644 --- a/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp +++ b/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp @@ -114,7 +114,7 @@ SIMachineFunctionInfo::SIMachineFunctionInfo(const MachineFunction &MF) if (HasStackObjects || MaySpill) PrivateSegmentWaveByteOffset = true; - if (ST.isAmdHsaOS()) { + if (ST.isAmdCodeObjectV2()) { if (HasStackObjects || MaySpill) PrivateSegmentBuffer = true; |