summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/IndVarSimplify/loop_evaluate9.ll
diff options
context:
space:
mode:
authorYaxun Liu <Yaxun.Liu@amd.com>2016-08-03 20:38:06 +0000
committerYaxun Liu <Yaxun.Liu@amd.com>2016-08-03 20:38:06 +0000
commit99444cb86099d3bf60145d8fc1ddfa43522ea63e (patch)
tree20e70e29031d0fcf65d4d64f9dffa433c6be64d3 /llvm/test/Transforms/IndVarSimplify/loop_evaluate9.ll
parent803568866c9e0d9049d731628ac0233591e7c8f6 (diff)
downloadbcm5719-llvm-99444cb86099d3bf60145d8fc1ddfa43522ea63e.tar.gz
bcm5719-llvm-99444cb86099d3bf60145d8fc1ddfa43522ea63e.zip
[OpenCL] Fix size of image type
The size of image type is reported incorrectly as size of a pointer to address space 0, which causes error when casting image type to pointers by __builtin_astype. The fix is to get image address space from TargetInfo then report the size accordingly. Differential Revision: https://reviews.llvm.org/D22927 llvm-svn: 277647
Diffstat (limited to 'llvm/test/Transforms/IndVarSimplify/loop_evaluate9.ll')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud