Matt Arsenault fd8928ded9 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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243300 91177308-0d34-0410-b5e6-96231b3b80d8
2015-07-27 18:31:03 +00:00
..
2015-07-26 19:10:03 +00:00
2015-07-11 10:30:36 +00:00
2015-07-26 11:37:05 +00:00
2015-07-10 07:15:17 +00:00
2015-07-10 07:15:17 +00:00