Before trying to introduce/eliminate cast/ext/trunc to make indices type as
authorSanjiv Gupta <sanjiv.gupta@microchip.com>
Mon, 20 Apr 2009 06:05:54 +0000 (06:05 +0000)
committerSanjiv Gupta <sanjiv.gupta@microchip.com>
Mon, 20 Apr 2009 06:05:54 +0000 (06:05 +0000)
commit428098de6289762990fdc368474e6b464112bbcc
treef52912436b4ea0cf16ce1b3f6371737d58dbae49
parent848b3142addffe24abc775c5a11d5fff8ff73132
Before trying to introduce/eliminate cast/ext/trunc to make indices type as
pointer type, make sure that the pointer size is a valid sequential index type.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69574 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp