aeubanks wrote: code looks good, but I'd like a test like how we test -print-on-crash with `TriggerCrashPass`. we should have a module pass and a function pass that intentionally break the IR, then run those in the test https://github.com/llvm/llvm-project/pull/71447