[all-commits] [llvm/llvm-project] 540025: [FuncSpec] Add Freeze and CallBase to the InstCost...

Alexandros Lamprineas via All-commits all-commits at lists.llvm.org
Mon Jun 19 02:58:19 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5400257ded86b65e5b55cbb138e0438b96c9bebf
      https://github.com/llvm/llvm-project/commit/5400257ded86b65e5b55cbb138e0438b96c9bebf
  Author: Alexandros Lamprineas <alexandros.lamprineas at arm.com>
  Date:   2023-06-19 (Mon, 19 Jun 2023)

  Changed paths:
    M llvm/include/llvm/Transforms/IPO/FunctionSpecialization.h
    M llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
    M llvm/unittests/Transforms/IPO/FunctionSpecializationTest.cpp

  Log Message:
  -----------
  [FuncSpec] Add Freeze and CallBase to the InstCostVisitor.

Allows constant folding of such instructions when estimating user bonus.

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




More information about the All-commits mailing list