summaryrefslogtreecommitdiff
path: root/lib/Transforms/IPO/RaiseAllocations.cpp
diff options
context:
space:
mode:
authorMatthijs Kooijman <matthijs@stdin.nl>2008-07-15 14:03:10 +0000
committerMatthijs Kooijman <matthijs@stdin.nl>2008-07-15 14:03:10 +0000
commiteb32b453b3f4aaea5f93665ec5291a7dab864c5d (patch)
tree29b0218988eb833bc04ca903362d9436edc63890 /lib/Transforms/IPO/RaiseAllocations.cpp
parent9c9418d0f36c8162f0a4f13193164a5509db0b5f (diff)
downloadllvm-eb32b453b3f4aaea5f93665ec5291a7dab864c5d.tar.gz
llvm-eb32b453b3f4aaea5f93665ec5291a7dab864c5d.tar.bz2
llvm-eb32b453b3f4aaea5f93665ec5291a7dab864c5d.tar.xz
Make deadargelim a bit less smart, so it doesn't choke on nested structs as
return values that are still (partially) live. Instead of updating all uses of a call instruction after removing some elements, it now just rebuilds the original struct (With undef gaps where the unused values were) and leaves it to instcombine to clean this up. The added testcase still fails currently, but this is due to instcombine which isn't good enough yet. I will fix that part next. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53608 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/RaiseAllocations.cpp')
0 files changed, 0 insertions, 0 deletions