[all-commits] [llvm/llvm-project] 97cc67: [FuncSpec] Specialising on addresses of const glob...

sjoerdmeijer via All-commits all-commits at lists.llvm.org
Fri Sep 17 00:19:50 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 97cc678cc4a226119ab48d399fd277283f4acc2d
      https://github.com/llvm/llvm-project/commit/97cc678cc4a226119ab48d399fd277283f4acc2d
  Author: Sjoerd Meijer <sjoerd.meijer at arm.com>
  Date:   2021-09-17 (Fri, 17 Sep 2021)

  Changed paths:
    M llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
    M llvm/test/Transforms/FunctionSpecialization/function-specialization-nonconst-glob.ll

  Log Message:
  -----------
  [FuncSpec] Specialising on addresses of const global values.

This introduces an option to allow specialising on the address of global
values. This option is off by default because it is likely not that profitable
to do so and needs more investigation. Before, we were specialising on addresses
and thus this changes the default behaviour.

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




More information about the All-commits mailing list