[all-commits] [llvm/llvm-project] 801c2b: [FuncSpec] Add an option to specializing literal c...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Tue Jun 29 20:30:22 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 801c2b9bbaad778fd4f9fb25b4ab2bd8742a5a3b
      https://github.com/llvm/llvm-project/commit/801c2b9bbaad778fd4f9fb25b4ab2bd8742a5a3b
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2021-06-30 (Wed, 30 Jun 2021)

  Changed paths:
    M llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
    A llvm/test/Transforms/FunctionSpecialization/function-specialization-constant-integers.ll

  Log Message:
  -----------
  [FuncSpec] Add an option to specializing literal constant

Now the option is off by default. Since we are not sure if this option
would make the compile time increase aggressively. Although we tested it
on SPEC2017, we may need to test more to make it on by default.

Reviewed By: SjoerdMeijer

Differential Revision: https://reviews.llvm.org/D104365




More information about the All-commits mailing list