- parallel-loop-collapsing is renamed to test-scf-parallel-loop-collapsing.
- The pass adds various checks to provide error messages instead of hitting assert failures.
- Testing is added to verify these error messages
This is roughly an NFC. The name changes, but all checked behavior
previously would have resulted in an assertion failure. Almost no new
support is added, so this pass is still limited in scope to testing the
transform behaves correctly with input arguments that perfectly match
the ParallelLoop's iterator arg set. The one new piece of functionality
is that invalid operations will now be skipped with an error messages
instead of producing an assertion failure, so the pass can be used with
expected failures for pieces of the IR not cared about with a specific
RUN command.
Can you add a description indicating that this is a pass intended for unit testing the collapseParallelLoops utility? The summary does not make it clear.