stripAndComputeConstantOffsets is only called on pointers; check this
authorDan Gohman <dan433584@gmail.com>
Thu, 31 Jan 2013 00:12:20 +0000 (00:12 +0000)
committerDan Gohman <dan433584@gmail.com>
Thu, 31 Jan 2013 00:12:20 +0000 (00:12 +0000)
commitf2335dcb17784148c4d8dd23093ab549153cc132
treeea91078a2fe8911d27f25550670abbe223a0020f
parentee1841cddab0840e8cf70eb87f0ad36d22bd61d0
stripAndComputeConstantOffsets is only called on pointers; check this
with an assert instead of failing and requiring callers to check for failure.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173998 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/InstructionSimplify.cpp