aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Compression.cpp
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2020-08-08 23:21:08 +0300
committerRoman Lebedev <lebedev.ri@gmail.com>2020-08-08 23:48:44 +0300
commitd4c3f20285aded64e31a4faf6a5a9280352ff6af (patch)
treecfca68fe14a65fad0658342772702de92c1df5bb /llvm/lib/Support/Compression.cpp
parent48887c4e81d47ebeaa6dc7888143cc51bd0ed7c5 (diff)
downloadllvm-d4c3f20285aded64e31a4faf6a5a9280352ff6af.zip
llvm-d4c3f20285aded64e31a4faf6a5a9280352ff6af.tar.gz
llvm-d4c3f20285aded64e31a4faf6a5a9280352ff6af.tar.bz2
[Reduce] Rewrite function body delta pass again
It is not enough to replace all uses of users of the function with undef, the users, we only drop instruction users, so they may stick around. Let's try different approach - first drop bodies for all the functions we will drop, which should take care of blockaddress issue the previous rewrite was dealing with; then, after dropping *all* such bodies, replace remaining uses with undef (thus all the uses are either outside of functions, or are in kept functions) and then finally drop functions. This seems to work, and passes the *existing* test coverage, but it is possible that a new issue will be discovered later :) A new (previously crashing) test added.
Diffstat (limited to 'llvm/lib/Support/Compression.cpp')
0 files changed, 0 insertions, 0 deletions