Allow argpromote to promote struct arguments with a specified number
authorChris Lattner <sabre@nondot.org>
Sat, 19 Apr 2008 19:50:01 +0000 (19:50 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 19 Apr 2008 19:50:01 +0000 (19:50 +0000)
commitbcd203cf860269987f32b14737b200b84fc2b63e
tree36dca54e46b9307c667b0409635b2f110fa3320d
parent8608f2eff2dab5345243c40d0bca9138f2dce6f1
Allow argpromote to promote struct arguments with a specified number
of elements.  Patch by Matthijs Kooijman!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49962 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Transforms/IPO.h
lib/Transforms/IPO/ArgumentPromotion.cpp