Handle comparisons of gep instructions that have different typed indices
authorChris Lattner <sabre@nondot.org>
Fri, 21 Jan 2005 23:06:49 +0000 (23:06 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 21 Jan 2005 23:06:49 +0000 (23:06 +0000)
commit45f57b8ee3450a5c23ddaa58d8d80b12a4d50574
tree5a1e5fed81a2949d34ad3b032366b9d2dda4b49f
parentfb0f53f9c1693c5bec4229738c785141d8f4db1a
Handle comparisons of gep instructions that have different typed indices
as long as they are the same size.

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