[Mlir-commits] [mlir] add pattern for arith::UIToFPOp to VectorNarrowTypeRewritePatterns (PR #115485)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Nov 11 00:52:11 PST 2024


================
@@ -262,6 +262,34 @@ func.func @aligned_sitofp_2d(%a: vector<8x32xi4>) -> vector<8x32xf32> {
   return %0 : vector<8x32xf32>
 }
 
+// CHECK-LABEL: func.func @aligned_uitofp(
----------------
ziereis wrote:

as far as i can see the base_case tests are for converting i4 to i8 which is only possible for the ext and trunc functions but not the the integer to float conversion function ie. sitofp and uitofp.

But i can definitely improve the naming and reorder them

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


More information about the Mlir-commits mailing list