projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
618b5b5
)
[GlobalISel] Bump CallLoweringInfo::OrigArgs initial size to 32. NFC.
author
Amara Emerson
<amara@apple.com>
Thu, 29 Apr 2021 07:59:12 +0000
(
00:59
-0700)
committer
Amara Emerson
<amara@apple.com>
Thu, 29 Apr 2021 08:01:29 +0000
(
01:01
-0700)
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
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h
b/llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h
index
868980d
..
14b5988
100644
(file)
--- 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<ArgInfo,
8
> OrigArgs;
+ SmallVector<ArgInfo,
32
> OrigArgs;
/// Valid if the call has a swifterror inout parameter, and contains the
/// vreg that the swifterror should be copied into after the call.