summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2015-07-27 18:31:03 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2015-07-27 18:31:03 +0000
commit95365ca482c338634fdbc0a6c8176c52ad8bc7c6 (patch)
treeaa74f6269b64696042d26aeec287ad2fe541a2e5 /clang/lib/CodeGen/CodeGenFunction.h
parentcd973c4f77be116206f6f6518e181858f989c09f (diff)
downloadbcm5719-llvm-95365ca482c338634fdbc0a6c8176c52ad8bc7c6.tar.gz
bcm5719-llvm-95365ca482c338634fdbc0a6c8176c52ad8bc7c6.zip
Fix assert when inlining a constantexpr addrspacecast
The pointer size of the addrspacecasted pointer might not have matched, so this would have hit an assert in accumulateConstantOffset. I think this was here to allow constant folding of a load of an addrspacecasted constant. Accumulating the offset through the addrspacecast doesn't make much sense, so something else is necessary to allow folding the load through this cast. llvm-svn: 243300
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud