summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorYaxun Liu <Yaxun.Liu@amd.com>2017-06-19 17:03:41 +0000
committerYaxun Liu <Yaxun.Liu@amd.com>2017-06-19 17:03:41 +0000
commit84744c152ad6fe6e7e0b267302b5abc4d5438d3e (patch)
tree56ccc98c39c27e05c7c1310f8ea9ce1a54329516 /llvm/lib
parentf6dbefe1b1874abec49a8b7bc5e0817181e7fb88 (diff)
downloadbcm5719-llvm-84744c152ad6fe6e7e0b267302b5abc4d5438d3e.tar.gz
bcm5719-llvm-84744c152ad6fe6e7e0b267302b5abc4d5438d3e.zip
CodeGen: Cast temporary variable to proper address space
In C++ all variables are in default address space. Previously change has been made to cast automatic variables to default address space. However that is not sufficient since all temporary variables need to be casted to default address space. This patch casts all temporary variables to default address space except those for passing indirect arguments since they are only used for load/store. This patch only affects target having non-zero alloca address space. Differential Revision: https://reviews.llvm.org/D33706 llvm-svn: 305711
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud