[clang] [CIR] Implement builtin extractf (PR #170427)

Henrich Lauko via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 2 23:43:23 PST 2025


================
@@ -1856,7 +1856,7 @@ def CIR_SelectOp : CIR_Op<"select", [
     ```
   }];
 
-  let arguments = (ins CIR_BoolType:$condition, CIR_AnyType:$true_value,
+  let arguments = (ins CIR_ScalarOrVectorOf<CIR_BoolType>:$condition, CIR_AnyType:$true_value,
                        CIR_AnyType:$false_value);
----------------
xlauko wrote:

```suggestion
  let arguments = (ins 
    CIR_ScalarOrVectorOf<CIR_BoolType>:$condition, 
    CIR_AnyType:$true_value,
    CIR_AnyType:$false_value
  );
```

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


More information about the cfe-commits mailing list