https://github.com/lhutton1 requested changes to this pull request. Thanks for the fix @jorickert! Would it be possible to add a negative test case under invalid.mlir as well? https://github.com/llvm/llvm-project/pull/153826