[Mlir-commits] [mlir] [MLIR][Arith] Ensure ConstantOp validates signless integers for vectors (PR #177857)
Miloš Poletanović
llvmlistbot at llvm.org
Mon Jan 26 01:57:06 PST 2026
================
@@ -0,0 +1,14 @@
+// RUN: mlir-opt -convert-scf-to-spirv %s -o - | FileCheck %s
+// NOTE: Assertions have been autogenerated by utils/generate-test-checks.py
+
+// CHECK-LABEL: spirv.func @main() "None" {
+// CHECK: %[[VAL_0:.*]] = spirv.Constant -5 : si32
+// CHECK: %[[FROM_ELEMENTS_0:.*]] = vector.from_elements %[[VAL_0]] : vector<1xsi32>
+// CHECK: spirv.Return
+// CHECK: }
----------------
milos1397 wrote:
Done.
https://github.com/llvm/llvm-project/pull/177857
More information about the Mlir-commits
mailing list