diff options
author | Yaxun Liu <Yaxun.Liu@amd.com> | 2017-12-07 01:39:52 +0000 |
---|---|---|
committer | Yaxun Liu <Yaxun.Liu@amd.com> | 2017-12-07 01:39:52 +0000 |
commit | c325d30d2c31c254768058260423128de0da450b (patch) | |
tree | 7c09ba418cfcc2684ab491eedd32cdd420eb6c25 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | cdf1abc365816cc8d530c4f8589a2be5a60fa4f2 (diff) | |
download | bcm5719-llvm-c325d30d2c31c254768058260423128de0da450b.tar.gz bcm5719-llvm-c325d30d2c31c254768058260423128de0da450b.zip |
CodeGen: Fix invalid bitcasts for memcpy
CreateCoercedLoad/CreateCoercedStore assumes pointer argument of
memcpy is in addr space 0, which is not correct and causes invalid
bitcasts for triple amdgcn---amdgiz.
It is fixed by using alloca addr space instead.
Differential Revision: https://reviews.llvm.org/D40806
llvm-svn: 320000
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions