[all-commits] [llvm/llvm-project] daa9af: [FuncSpec] Handle ssa_copy intrinsic calls in Inst...

Hari Limaye via All-commits all-commits at lists.llvm.org
Mon Nov 4 02:10:12 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: daa9af179f5967e90cd45cec35ead793a4166679
      https://github.com/llvm/llvm-project/commit/daa9af179f5967e90cd45cec35ead793a4166679
  Author: Hari Limaye <hari.limaye at arm.com>
  Date:   2024-11-04 (Mon, 04 Nov 2024)

  Changed paths:
    M llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
    A llvm/test/Transforms/FunctionSpecialization/ssa-copy.ll

  Log Message:
  -----------
  [FuncSpec] Handle ssa_copy intrinsic calls in InstCostVisitor (#114247)

Look through ssa_copy intrinsic calls when computing codesize bonus for
a specialization.

Also remove redundant logic to skip computing codesize bonus for
ssa_copy intrinsics, now these are considered zero-cost by TTI (in PR
#75294).



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list