[Mlir-commits] [mlir] [MLIR] Fix rewrite of ops with vector operands to LLVM on GPU (PR #127844)

Benoit Jacob llvmlistbot at llvm.org
Wed Feb 19 11:50:47 PST 2025


================
@@ -513,3 +513,44 @@ module {
     "test.possible_terminator"() : () -> ()
   }) : () -> ()
 }
+
+// -----
+
+module @test_module {
+  // CHECK-LABEL: func @math_sin_vector_1d
+  func.func @math_sin_vector_1d(%arg : vector<4xf16>) -> vector<4xf16> {
+    // CHECK: llvm.extractelement {{.*}} : vector<4xf16>
----------------
bjacob wrote:

Done!

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


More information about the Mlir-commits mailing list