When investigating PR27997 I notied that there is no easy way in opt or
clang to verify the IR after each transform pass. There is a
-verify-each option in opt, but
- When running opt -O3 it appends the verifier pass after the whole -O3 pipeline, not after each individual transform pass
- It is in opt so isn't accessible from clang via -mllvm
With -verify-after-all, triaging bugs like PR27997 should become
easier, since we'd be able to run something like `clang -O3 -mllvm
-verify-after-all -mllvm -print-after-all` to quickly discover which
pass broke SSA, if any.
Depends on D21004