summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/FunctionAttrs/heap_to_stack.ll
diff options
context:
space:
mode:
authorJohannes Doerfert <johannes@jdoerfert.de>2019-11-01 21:59:32 -0500
committerJohannes Doerfert <johannes@jdoerfert.de>2019-11-02 00:54:00 -0500
commitc7ab19dbb0f1f5c76ff70c7acab9f20c796cafb3 (patch)
tree9f843bf545c011c257f55c8d3bc671f232420ea2 /llvm/test/Transforms/FunctionAttrs/heap_to_stack.ll
parent3cbe3314b4a02026e24fbc065fbbfc887bbc7392 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud