From d138e97c2a741fe7c9d4fa278e262ef95b63a358 Mon Sep 17 00:00:00 2001 From: Amara Emerson Date: Thu, 29 Apr 2021 00:59:12 -0700 Subject: [PATCH] [GlobalISel] Bump CallLoweringInfo::OrigArgs initial size to 32. NFC. We spend some time during sqlite3 compilation regrowing this vector, bump it up to avoid this. Gives around 1-2% improvement in codegen-only time for sqlite3 at -O0. --- llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h b/llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h index 868980d24fc2..14b5988c7a4e 100644 --- a/llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h +++ b/llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h @@ -104,7 +104,7 @@ public: ArgInfo OrigRet; /// List of descriptors of the arguments passed to the function. - SmallVector OrigArgs; + SmallVector OrigArgs; /// Valid if the call has a swifterror inout parameter, and contains the /// vreg that the swifterror should be copied into after the call.