[Mlir-commits] [mlir] [mlir][EmitC] Add an `emitc.conditional` operator (PR #84883)
Marius Brehler
llvmlistbot at llvm.org
Tue Mar 12 03:14:11 PDT 2024
================
@@ -70,7 +95,8 @@ void mlir::populateArithToEmitCPatterns(TypeConverter &typeConverter,
ArithOpConversion<arith::AddFOp, emitc::AddOp>,
ArithOpConversion<arith::DivFOp, emitc::DivOp>,
ArithOpConversion<arith::MulFOp, emitc::MulOp>,
- ArithOpConversion<arith::SubFOp, emitc::SubOp>
+ ArithOpConversion<arith::SubFOp, emitc::SubOp>,
+ SelectOpConversion
----------------
marbre wrote:
The intend behind the naming `ArithOp` is that this is a conversion for a "genric" arith op. The `ArithToEmitC` already indicates that this file only contains conversions from the Arith to the EmitC dialect.
https://github.com/llvm/llvm-project/pull/84883
More information about the Mlir-commits
mailing list