Implement PR1795, an instcombine hack for forming GEPs with integer pointer arithmetic.
authorChris Lattner <sabre@nondot.org>
Tue, 8 Jan 2008 07:23:51 +0000 (07:23 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 8 Jan 2008 07:23:51 +0000 (07:23 +0000)
commitf9d9e45225260afcc2040909b79161f6c1fccf38
treed2ef3637cba947df401cbe8b21ebd9036d28f05a
parent4a83e963b356be29d2b7ddb55fe4565147332c34
Implement PR1795, an instcombine hack for forming GEPs with integer pointer arithmetic.

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