[PATCH] D119880: [FuncSpec] Support function specialization across multiple arguments.
    Alexandros Lamprineas via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Feb 16 14:56:46 PST 2022
    
    
  
labrinea added a comment.
Here are a few more statistics from comparing this patch to the current implementation of function specialization:
This is from compiling the llvm-test-suite at -O3 under perf with a release build (no asserts) targeting x86. The metric is instruction count (average of three)
| **test name**    | **%delta** |
| ClamAV           | +0.009545546536911       |
| 7zip             | -0.001629518928931       |
| tramp3d-v4       | -0.046465647871192       |
| kimwitu++        | +0.011940454030694       |
| sqlite3          | -0.158695422048798       |
| mafft            | -0.014463100189515       |
| lencod           | -0.020921880121996       |
| SPASS            | -0.047946880831827       |
| Bullet           | -0.003464312699035       |
| consumer-typeset | -0.008383706273952       |
|
geomean = -0.0280598%
This is from compiling/running the llvm-test-suite at -O3 targeting AArch64 with statistics.
| **test name**                                 | **num specializations before** | **num specializations after** |
| MultiSource/Applications/ClamAV/clamscan.test | 3                              | 0                             |
| MultiSource/Applications/d/make_dparser.test  | 1                              | 0                             |
| MultiSource/Applications/oggenc/oggenc.test   | 2                              | 2                             |
| MultiSource/Applications/sqlite3/sqlite3.test | 3                              | 0                             |
|
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D119880/new/
https://reviews.llvm.org/D119880
    
    
More information about the llvm-commits
mailing list