Fix SRETPromotion, it was generating functions without returns statements since
authorMatthijs Kooijman <matthijs@stdin.nl>
Thu, 7 Aug 2008 15:58:09 +0000 (15:58 +0000)
committerMatthijs Kooijman <matthijs@stdin.nl>
Thu, 7 Aug 2008 15:58:09 +0000 (15:58 +0000)
commita7bab2c81c2b7340d210b9cf9221c5157d60b969
tree6783fc3e370792253711c677314262ec2081176b
parent1d63d92092ebcefcb0dc6a98736d27eb1796f5ca
Fix SRETPromotion, it was generating functions without returns statements since
r53941 (but this was not noticed due to the lack of a basic test for
SRETPromotion).

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