Handle AddrSpaceCast in stripAndAccumulateInBoundsConstantOffsets
authorHal Finkel <hfinkel@anl.gov>
Sat, 19 Jul 2014 03:32:02 +0000 (03:32 +0000)
committerHal Finkel <hfinkel@anl.gov>
Sat, 19 Jul 2014 03:32:02 +0000 (03:32 +0000)
commitb8e7c736fba3150a6576cdc398bcd4ea1df9652e
treef661ad26a19f831fda4c2eae7c916b8b8a86ac0f
parentab184fb88d0f9bbab1462aa46fe7f37fb26beec9
Handle AddrSpaceCast in stripAndAccumulateInBoundsConstantOffsets

All of the other similar functions in that part of the file look through
addrspacecast in addition to bitcast, and I see no reason why
stripAndAccumulateInBoundsConstantOffsets shouldn't do so also.

llvm-svn: 213449
llvm/lib/IR/Value.cpp