Skip to content
Unverified Commit 6b072126 authored by Steven Perron's avatar Steven Perron Committed by GitHub
Browse files

Use OpReturn* in wrap-opkill (#2886)

* Use OpReturn* in wrap-opkill

The warp-opkill pass is generating incorrect code.  It is placing an
OpUnreachable at the end of a basic block, when the block can be
reached.  We can't reach the end of the block, but we can reach the end.
Instead we will add a return instruction.

Fixes #2875.
parent 46531272
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment