[clang][codegen] Add a verifier IR pass before any further passes. (#68015)
This helps check clang generated good IR in the first place, as otherwise this can cause UB in subsequent passes, with the final verification pass not catching any issues. This for example would have helped catch https://github.com/llvm/llvm-project/issues/67937 earlier.
parent
42de2b7e
Please register or sign in to comment