when eliding a byval copy due to inlining a readonly function, we have
authorChris Lattner <sabre@nondot.org>
Mon, 20 Dec 2010 08:10:40 +0000 (08:10 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 20 Dec 2010 08:10:40 +0000 (08:10 +0000)
commit0b66f63a26387f5c0360a4324fc3c31e0599a6e0
tree01e7a70c8c98fdb28f30a076318f0c111b36ceeb
parente7ae705c32906979a527926864345016e76867b9
when eliding a byval copy due to inlining a readonly function, we have
to make sure that the reused alloca has sufficient alignment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122236 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/InlineFunction.cpp
test/Transforms/Inline/byval.ll