BlockAddress is currently unimplemented in the LLVM dialect of MLIR; when converting to LLVM dialect MLIR from LLVM IR, mlir-translate currently terminates with an "unhandled constant" error message. Instead, this message could be made more specific, to let the user know that the specific issue is that BlockAddress is unimplemented in the LLVM dialect.
First time contributor here so I'm happy to provide more detail or discussion if necessary -- wasn't sure how much to include for a change with such a simple implementation.
Please add a test for any user-visible error message.