factor some instcombine simplifications for getelementptr out to a new
authorChris Lattner <sabre@nondot.org>
Fri, 27 Nov 2009 00:29:05 +0000 (00:29 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 27 Nov 2009 00:29:05 +0000 (00:29 +0000)
commitc514c1f5218b8fe7499a0b9a4737860344cf4c43
tree63c2da331934d330f40edf4f9ae3e0dfb5b9f6a3
parent304076268a342b2b15e1af2e678d101af3165f4c
factor some instcombine simplifications for getelementptr out to a new
SimplifyGEPInst method in InstructionSimplify.h.  No functionality change.

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