Skip to content
Commit 6721478e authored by greg-lunarg's avatar greg-lunarg Committed by Steven Perron
Browse files

Don't assume one return means function can be inlined. (#2018) (#2025)

If there is only 1 return and it is in a loop, then the function cannot be inlined.

Fix condition when inlined code needs one-trip loop wrapper.  The dummy loop is needed when there is a return inside a selection construct.  Even if there is only 1 return.
parent 4e6c54b6
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