[clang] [CIR] Add support for __SVCount (PR #245456)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 25 08:57:37 PST 2026
================
@@ -1795,6 +1795,22 @@ void cir::VectorType::print(mlir::AsmPrinter &odsPrinter) const {
odsPrinter << ">";
}
+//===----------------------------------------------------------------------===//
+// SveCountType Definitions
+//===----------------------------------------------------------------------===//
+
+llvm::TypeSize
+SveCountType::getTypeSizeInBits(const mlir::DataLayout &dataLayout,
+ mlir::DataLayoutEntryListRef params) const {
+ return llvm::TypeSize::getScalable(16);
----------------
erichkeane wrote:
It would be neat if we could quote SOME standard here for these values.
https://github.com/llvm/llvm-project/pull/245456
More information about the cfe-commits
mailing list