We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d23e7d commit de7c49dCopy full SHA for de7c49d
mlir/test/Dialect/Index/inliner-interface.mlir
@@ -0,0 +1,14 @@
1
+// RUN: mlir-opt %s -inline | FileCheck %s
2
+
3
+// CHECK-LABEL: @main
4
+func.func @main(%arg0: i32) -> index {
5
+ // CHECK-NOT: call
6
+ // CHECK: index.castu
7
+ %0 = call @f(%arg0) : (i32) -> index
8
+ return %0 : index
9
+}
10
11
+func.func @f(%arg0: i32) -> index {
12
+ %0 = index.castu %arg0 : i32 to index
13
14
0 commit comments