[Mlir-commits] [mlir] [MLIR][Arith] Fix crash in `arith.select` verification with mixed types (PR #178840)

Jakub Kuderski llvmlistbot at llvm.org
Tue Feb 3 07:14:15 PST 2026


================
@@ -869,3 +869,14 @@ func.func @bitcast_index_1(%arg0 : index) -> i64 {
   %0 = arith.bitcast %arg0 : index to i64
   return %0 : i64
 }
+
+// -----
+
+func.func @select_vector_condition_scalar_operands() {
+  %0 = vector.vscale
+  %1 = vector.constant_mask [1] : vector<1xi1>
+  %3 = arith.index_castui %0 : index to i32
----------------
kuhar wrote:

Can we make these function arguments or do we care about this exact op sequence?

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


More information about the Mlir-commits mailing list