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

Perform merge return with single return in loop. (#2714)

Inlining does not inline functions that have a single return that is in a loop.  This is because the return cannot be replaced by a branch outside of the loop easily.  Merge return knows how to rewrite the function so the return is replaced by a branch.

Fixes #2038.
parent fe7cc9c6
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