[IPO/MergeFunctions] changes so it doesn't try to bitcast a struct return type but...
authorCarlo Kok <ck@remobjects.com>
Wed, 30 Apr 2014 17:53:04 +0000 (17:53 +0000)
committerCarlo Kok <ck@remobjects.com>
Wed, 30 Apr 2014 17:53:04 +0000 (17:53 +0000)
commit78ecea93a30e5fe05277f11b07a2d32a7c68e31d
tree667050af69c54c589ea16f0d6acdc26ba9ea1e8a
parentbf741d2bddfa75babd032db3039064746a8f86ba
[IPO/MergeFunctions] changes so it doesn't try to bitcast a struct return type but instead recreates it with insert/extract value.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207679 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/MergeFunctions.cpp
test/Transforms/MergeFunc/mergefunc-struct-return.ll [new file with mode: 0644]