For some targets pointer and int are 16-bits. Allow 16-bits as a valid index
authorSanjiv Gupta <sanjiv.gupta@microchip.com>
Fri, 31 Oct 2008 10:26:20 +0000 (10:26 +0000)
committerSanjiv Gupta <sanjiv.gupta@microchip.com>
Fri, 31 Oct 2008 10:26:20 +0000 (10:26 +0000)
commitd2840fd37f698f111a4386c44f63fda74033359e
treec45d921bcb8002d180acf85745c8e15b97f55089
parentf6a9988ceab0ca660fa4f4e89d8d683f487118eb
For some targets pointer and int are 16-bits. Allow 16-bits as a valid index
in such cases.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58505 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/Type.cpp