[clang] [CIR] Implement builtin extractf (PR #170427)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 5 16:06:37 PST 2025
================
@@ -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
More information about the cfe-commits
mailing list