[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
================
@@ -250,8 +250,8 @@ def CIR_PtrToArray : CIR_PtrToType<CIR_AnyArrayType>;
def CIR_AnyVectorType : CIR_TypeBase<"::cir::VectorType", "vector type">;
-def CIR_VectorElementType : AnyTypeOf<[CIR_AnyIntOrFloatType, CIR_AnyPtrType],
- "any cir integer, floating point or pointer type"
+def CIR_VectorElementType : AnyTypeOf<[CIR_AnyBoolType, CIR_AnyIntOrFloatType, CIR_AnyPtrType],
+ "any cir boolean, integer, floating point or pointer type"
> {
----------------
andykaylor wrote:
```suggestion
def CIR_VectorElementType
def CIR_VectorElementType
: AnyTypeOf<[CIR_AnyBoolType, CIR_AnyIntOrFloatType, CIR_AnyPtrType],
"any boolean, integer, floating point or pointer type"> {
```
https://github.com/llvm/llvm-project/pull/170427
More information about the cfe-commits
mailing list