[Mlir-commits] [mlir] [mlir][emitc] Add 'emitc.switch' op to the dialect (PR #102331)

Marius Brehler llvmlistbot at llvm.org
Fri Aug 9 01:29:28 PDT 2024


================
@@ -131,6 +131,12 @@ bool mlir::emitc::isPointerWideType(Type type) {
       type);
 }
 
+bool mlir::emitc::isSwitchOperandType(Type type) {
+  auto intType = llvm::dyn_cast<IntegerType>(type);
----------------
marbre wrote:

Just to clarify, please add to this patch (no need to rebase, separate commit is fine) but don't address in a follow up PR. I would refer this PR as one single patch, as it needs to gets squashed at the end.

https://github.com/llvm/llvm-project/pull/102331


More information about the Mlir-commits mailing list