[PATCH] D120908: [FuncSpec] Enable function specialize for a constant range of arguments.

Alexandros Lamprineas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 3 14:21:41 PST 2022


labrinea added a comment.

My understanding is that function specialization of such constant arguments is controlled by the option `-function-specialization-for-literal-constant`. That is disabled by default as it increases compilation times. I measured how it affects instruction count using perf when compiling the llvm test suite. It was generally neutral except for the benchmark SPASS which was regressed by 4%.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120908/new/

https://reviews.llvm.org/D120908



More information about the llvm-commits mailing list