================
@@ -1885,8 +1911,12 @@ def CIR_SelectOp : CIR_Op<"select", [
```
}];
- let arguments = (ins CIR_BoolType:$condition, CIR_AnyType:$true_value,
- CIR_AnyType:$false_value);
+ let arguments = (ins
+ CIR_ScalarOrVectorOf<CIR_BoolType>:$condition,
+ CIR_AnyType:$true_value,
+ CIR_AnyType:$false_value
+ );
+
----------------
andykaylor wrote:
This probably needs a verifier for the case where the arguments are vectors.
https://github.com/llvm/llvm-project/pull/170427
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits