[clang] [CIR][NFC] Fix VectorType element-type description (PR #224827)
Amr Hesham via cfe-commits
cfe-commits at lists.llvm.org
Sat Sep 19 02:33:44 PDT 2026
https://github.com/AmrDeveloper created https://github.com/llvm/llvm-project/pull/224827
Fix the VectorType element-type description
>From f2dae97f3a1b9c3496bc12baf90ace1d90eb17cf Mon Sep 17 00:00:00 2001
From: Amr Hesham <amr96 at programmer.net>
Date: Sat, 19 Sep 2026 11:32:37 +0200
Subject: [PATCH] [CIR][NFC] Fix VectorType element-type description
---
clang/include/clang/CIR/Dialect/IR/CIRTypes.td | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/clang/include/clang/CIR/Dialect/IR/CIRTypes.td b/clang/include/clang/CIR/Dialect/IR/CIRTypes.td
index d0bf90e02b5f3..f9cee11c81a9e 100644
--- a/clang/include/clang/CIR/Dialect/IR/CIRTypes.td
+++ b/clang/include/clang/CIR/Dialect/IR/CIRTypes.td
@@ -496,7 +496,7 @@ def CIR_VectorType : CIR_Type<"Vector", "vector", [
```
vector-type ::= !cir.vector<size x element-type>
size ::= (decimal-literal | `[` decimal-literal `]`)
- element-type ::= float-type | integer-type | pointer-type
+ element-type ::= float-type | integer-type | bool-type
```
The `element-type` must be a scalar CIR type. Zero-sized vectors are not
More information about the cfe-commits
mailing list