Pull some code out into a function, give it the ability to see through +.
authorChris Lattner <sabre@nondot.org>
Sat, 29 Oct 2005 04:36:15 +0000 (04:36 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 29 Oct 2005 04:36:15 +0000 (04:36 +0000)
commitcfd65100c4fbf022ccfa156222f71f84aeeab7e1
tree569df72106a42dfa6cea023c081cd95642402086
parent274ecfb782398a21308a02f2373f24f44c0951c4
Pull some code out into a function, give it the ability to see through +.
This allows us to turn code like malloc(4*x+4) -> malloc int, (x+1)

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