diff options
| author | Johannes Doerfert <johannes@jdoerfert.de> | 2019-11-01 21:59:32 -0500 |
|---|---|---|
| committer | Johannes Doerfert <johannes@jdoerfert.de> | 2019-11-02 00:54:00 -0500 |
| commit | c7ab19dbb0f1f5c76ff70c7acab9f20c796cafb3 (patch) | |
| tree | 9f843bf545c011c257f55c8d3bc671f232420ea2 /llvm/test/Transforms/FunctionAttrs/heap_to_stack.ll | |
| parent | 3cbe3314b4a02026e24fbc065fbbfc887bbc7392 (diff) | |
| download | bcm5719-llvm-c7ab19dbb0f1f5c76ff70c7acab9f20c796cafb3.tar.gz bcm5719-llvm-c7ab19dbb0f1f5c76ff70c7acab9f20c796cafb3.zip | |
[Attributor][FIX] Transform invoke of nounwind to call + br %normal_dest
Even if the invoked function may-return, we can replace it with a call
and branch if it is nounwind. We had almost everything in place to do
this but did not which actually caused a crash when we removed the
landingpad from the actually dead unwind block.
Exposed by the IPConstantProp tests.
Diffstat (limited to 'llvm/test/Transforms/FunctionAttrs/heap_to_stack.ll')
0 files changed, 0 insertions, 0 deletions

