[Mlir-commits] [mlir] [mlir][NFC] IntegerRangeAnalysis: don't loop over splat attr (PR #115399)

Ivan Butygin llvmlistbot at llvm.org
Fri Nov 8 09:42:16 PST 2024


================
@@ -17,6 +17,12 @@ func.func @constant_splat() -> vector<8xi32> {
   func.return %1 : vector<8xi32>
 }
 
+// CHECK-LABEL: func @float_constant_splat
+func.func @float_constant_splat() -> vector<8xf32> {
+  %0 = arith.constant dense<3.0> : vector<8xf32>
----------------
Hardcode84 wrote:

Please, add a comment what we are checking 

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


More information about the Mlir-commits mailing list