David Neto
|
2a1014be9c
|
Inliner: callee can have early return that isn't multi-return
Avoid generating an invalid OpLabel.
Create the continue target for the single-trip loop only if
you actually created the header for the single-trip loop.
Fixes https://github.com/KhronosGroup/SPIRV-Tools/issues/755
|
2017-08-10 11:43:44 -04:00 |
|
GregF
|
e28bd39997
|
Inline: Split out InlineExhaustivePass from InlinePass
|
2017-08-04 17:56:46 -04:00 |
|
David Neto
|
760789f58d
|
Transform multiple entry points
Don't stop just after one because of short-circuiting logical-or.
|
2017-06-20 15:57:47 -04:00 |
|
Greg Fischer
|
bba812f4e4
|
Inline: Inline early return function if no returns in loop.
|
2017-05-12 17:18:00 -04:00 |
|
GregF
|
a107d349e3
|
Inline: Do not inline functions with multiple returns (for now)
|
2017-04-25 16:50:57 -06:00 |
|
David Neto
|
ceb1d4f2fd
|
Avoid inlining calls to external functions
External functions don't have bodies to inline anyway.
Fixes https://github.com/KhronosGroup/SPIRV-Tools/issues/605
|
2017-03-31 10:36:58 -04:00 |
|
Greg Fischer
|
04fcc66743
|
Add exhaustive function call inlining to spirv-opt
Inlining is done for all functions designated as entry points.
Add optional validation to test fixture method SinglePassRunAndCheck.
|
2017-03-29 18:02:40 -04:00 |
|