You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
spirv-opt: Propagate failures in loop transformations (KhronosGroup#6330)
This CL modifies several loop transformation passes and their utility
functions to propagate failures, primarily caused by ID overflows when
creating new instructions or basic blocks.
Many functions that previously had a void return type now return a bool
or a status enum to indicate success or failure. The callers are updated
to check these return values and abort the transformation if a failure
occurs.
This affects loop unrolling, peeling, fusion, unswitching, and LICM,
as well as core IR cloning and manipulation functions.
The fuzzer transformations for inlining and outlining also get assertions
to detect cloning failures.
0 commit comments