https://github.com/tbaederr created 
https://github.com/llvm/llvm-project/pull/219773

For pure expressions, we usually have few locals and few scopes. Reduce the 
inline size here.

>From d35150016c140831c3e2a7faddd92e347d528672 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?= <[email protected]>
Date: Sun, 30 Aug 2026 07:57:15 +0200
Subject: [PATCH] Reduce EvalEmitter Descriptors size

---
 clang/lib/AST/ByteCode/EvalEmitter.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clang/lib/AST/ByteCode/EvalEmitter.h 
b/clang/lib/AST/ByteCode/EvalEmitter.h
index 26bb22a71a3ce..a151329c22aa5 100644
--- a/clang/lib/AST/ByteCode/EvalEmitter.h
+++ b/clang/lib/AST/ByteCode/EvalEmitter.h
@@ -105,7 +105,7 @@ class EvalEmitter : public SourceMapper {
   /// Parameter indices.
   llvm::DenseMap<const ParmVarDecl *, FuncParam> Params;
   /// Local descriptors.
-  llvm::SmallVector<SmallVector<Local, 8>, 2> Descriptors;
+  llvm::SmallVector<SmallVector<Local, 2>, 1> Descriptors;
   std::optional<SourceInfo> LocOverride = std::nullopt;
 
 private:

_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to