[Mlir-commits] [mlir] [mlir][spirv] Add support for VectorAnyINTEL capability (PR #68034)

Jakub Kuderski llvmlistbot at llvm.org
Sun Oct 22 11:44:36 PDT 2023


================
@@ -27,7 +27,7 @@ func.func @exp(%arg0 : i32) -> () {
 // -----
 
 func.func @exp(%arg0 : vector<5xf32>) -> () {
-  // expected-error @+1 {{op operand #0 must be 16/32-bit float or vector of 16/32-bit float values of length 2/3/4}}
+  // CHECK: spirv.GL.Exp {{%.*}} : vector<5xf32
   %2 = spirv.GL.Exp %arg0 : vector<5xf32>
   return
----------------
kuhar wrote:

This changes the intention behind this test. Originally it checked that the type constraints are present; could we use some other type to exercise this?

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


More information about the Mlir-commits mailing list