Note that assertions or compiler segfaults or other similar issues can be automagically reduced to the critical input using tools like c-reduce/cvise. Sure, they're designed for C and C-like languages, but they're tolerable for rust, assembly languages, etc. Probably anything that has text with line separators would work reasonably well.
Also for LLVM IR, there's llvm-reduce and -opt-bisect-limit.
Not sure if they'd have helped here but they're generally useful tools for tracking down similar issues.