summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp
diff options
context:
space:
mode:
authorYaxun Liu <Yaxun.Liu@amd.com>2017-04-24 18:26:27 +0000
committerYaxun Liu <Yaxun.Liu@amd.com>2017-04-24 18:26:27 +0000
commitfd23a0c095598dab7785d98b8e903a24d5869c06 (patch)
tree7d1e547622451a1c118fb8c07a5612704d7a5e98 /lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp
parent58ccc0949a8c766fa729c04149cbffbc32096f59 (diff)
downloadbcm5719-llvm-fd23a0c095598dab7785d98b8e903a24d5869c06.tar.gz
bcm5719-llvm-fd23a0c095598dab7785d98b8e903a24d5869c06.zip
CodeGen: Add a hook for getFenceOperandTy
Currently the operand type for ATOMIC_FENCE assumes value type of a pointer in address space 0. This is fine for most targets. However for amdgcn target, the size of pointer in address space 0 depends on triple environment. For amdgiz environment, it is 64 bit but for other environment it is 32 bit. On the other hand, amdgcn target expects 32 bit fence operands independent of the target triple environment. Therefore a hook is need in target lowering for getting the fence operand type. This patch has no effect on targets other than amdgcn. Differential Revision: https://reviews.llvm.org/D32186 llvm-svn: 301215
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud