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)
commited4029bae878703cf77de67bde25a926d5f69f1c
tree2962f6db4458a4ada13de264265e1d8862d0b942
parenta320e00e7462e386999a6b2ece7e16e980d363e5
stripAndComputeConstantOffsets is only called on pointers; check this
with an assert instead of failing and requiring callers to check for failure.

llvm-svn: 173998
llvm/lib/Analysis/InstructionSimplify.cpp