================
@@ -4326,7 +4356,7 @@ class FIRToLLVMLowering
target.addLegalDialect<mlir::gpu::GPUDialect>();
// required NOPs for applying a full conversion
- target.addLegalOp<mlir::ModuleOp>();
+ target.addLegalOp<mlir::ModuleOp, mlir::UnrealizedConversionCastOp>();
----------------
clementval wrote:
This should probably be added conditionally only to not break the current
workflow.
https://github.com/llvm/llvm-project/pull/168703
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits