[Mlir-commits] [mlir] [mlir][emitc] Restrict integer and float types (PR #85788)
Marius Brehler
llvmlistbot at llvm.org
Tue Mar 19 09:34:09 PDT 2024
================
@@ -170,31 +170,31 @@ func.func @add_float_pointer(%arg0: f32, %arg1: !emitc.ptr<f32>) {
// -----
func.func @div_tensor(%arg0: tensor<i32>, %arg1: tensor<i32>) {
- // expected-error @+1 {{'emitc.div' op operand #0 must be floating-point or integer or index or EmitC opaque type, but got 'tensor<i32>'}}
+ // expected-error @+1 {{'emitc.div' op operand #0 must be EmitC floating-point type or EmitC integer type or index or EmitC opaque type, but got 'tensor<i32>'}}
----------------
marbre wrote:
Same for the tests below.
https://github.com/llvm/llvm-project/pull/85788
More information about the Mlir-commits
mailing list