[clang] [CIR][NFC] Fix VectorType element-type description (PR #224827)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Sep 19 02:34:24 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clangir
Author: Amr Hesham (AmrDeveloper)
<details>
<summary>Changes</summary>
Fix the VectorType element-type description
---
Full diff: https://github.com/llvm/llvm-project/pull/224827.diff
1 Files Affected:
- (modified) clang/include/clang/CIR/Dialect/IR/CIRTypes.td (+1-1)
``````````diff
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
``````````
</details>
https://github.com/llvm/llvm-project/pull/224827
More information about the cfe-commits
mailing list