[Mlir-commits]  [mlir] [mlir][emitc] Arith to EmitC: Handle addi,	subi and muli (PR #86120)
    Simon Camphausen 
    llvmlistbot at llvm.org
       
    Fri Mar 22 01:33:52 PDT 2024
    
    
  
================
@@ -37,6 +37,57 @@ func.func @arith_ops(%arg0: f32, %arg1: f32) {
 
 // -----
 
+// CHECK-LABEL: arith_integer_ops
+func.func @arith_integer_ops(%arg0: i32, %arg1: i32) {
+  // CHECK: %[[C1:[^ ]*]] = emitc.cast %arg0 : i32 to ui3
----------------
simon-camp wrote:
```suggestion
  // CHECK: %[[C1:[^ ]*]] = emitc.cast %arg0 : i32 to ui32
```
Same for the lines below
https://github.com/llvm/llvm-project/pull/86120
    
    
More information about the Mlir-commits
mailing list