Some attribute kinds are not supported as "value" attributes of
llvm.mlir.constant when translating to LLVM IR. We were correctly reporting
an error, but continuing the translation using an "undef" value instead,
leading to a surprising mix of error messages and output IR. Abort the
translation after the error is reported.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
nit: merge the if into the else