summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorYaxun Liu <Yaxun.Liu@amd.com>2017-12-07 01:39:52 +0000
committerYaxun Liu <Yaxun.Liu@amd.com>2017-12-07 01:39:52 +0000
commitc325d30d2c31c254768058260423128de0da450b (patch)
tree7c09ba418cfcc2684ab491eedd32cdd420eb6c25 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parentcdf1abc365816cc8d530c4f8589a2be5a60fa4f2 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud