[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


================
@@ -1870,8 +1896,8 @@ def CIR_SelectOp : CIR_Op<"select", [
   let summary = "Yield one of two values based on a boolean value";
   let description = [{
     The `cir.select` operation takes three operands. The first operand
-    `condition` is a boolean value of type `!cir.bool`. The second and the third
-    operand can be of any CIR types, but their types must be the same. If the
+    `condition` is either a boolean value of type `!cir.bool` or a boolean vector of type `!cir.bool`. 
+    The second and the third operand can be of any CIR types, but their types must be the same. If the
----------------
andykaylor wrote:

Please reformat this to fit in 80 columns.

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


More information about the cfe-commits mailing list