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 a436c01 commit 9bc81d7Copy full SHA for 9bc81d7
mlir/test/Dialect/Math/expand-math.mlir
@@ -774,3 +774,16 @@ func.func @non_static_shape_ceil_op(%arg: tensor<?xf32>) -> tensor<?xf32>{
774
%a = math.ceil %arg : tensor<?xf32>
775
return %a: tensor<?xf32>
776
}
777
+
778
+// -----
779
780
+// CHECK-LABEL: func.func @unranked_ceil_op
781
+// CHECK-SAME: (%[[ARG:.*]]: tensor<*xf32>)
782
+// CHECK-SAME: -> tensor<*xf32>
783
+// CHECK: %[[CEIL:.*]] = math.ceil %[[ARG]] : tensor<*xf32>
784
+// CHECK: return %[[CEIL]] : tensor<*xf32>
785
786
+func.func @unranked_ceil_op(%arg: tensor<*xf32>) -> tensor<*xf32>{
787
+ %a = math.ceil %arg : tensor<*xf32>
788
+ return %a: tensor<*xf32>
789
+}
0 commit comments