[all-commits] [llvm/llvm-project] 1f72d5: [CostModel] Check for free intrinsics in BasicTTI

Sam Parker via All-commits all-commits at lists.llvm.org
Tue May 26 00:38:55 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1f72d5880e332dfbd36c22388d2b72bd2bd70411
      https://github.com/llvm/llvm-project/commit/1f72d5880e332dfbd36c22388d2b72bd2bd70411
  Author: Sam Parker <sam.parker at arm.com>
  Date:   2020-05-26 (Tue, 26 May 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/BasicTTIImpl.h
    A llvm/test/Analysis/CostModel/X86/free-intrinsics.ll
    A llvm/test/Analysis/CostModel/free-intrinsics-datalayout.ll
    A llvm/test/Analysis/CostModel/free-intrinsics-no_info.ll

  Log Message:
  -----------
  [CostModel] Check for free intrinsics in BasicTTI

Recommitting part of "[CostModel] Unify Intrinsic Costs."
de71def3f59dc9f12f67141b5040d8e15c84d08a

Now that the 'free' intrinsic information has been sunk to the lowest
level, query the base implementation in BasicTTI before doing
anything else. I suspect this is the change that was causing the main
changes, particularly the large effects on debug builds.

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




More information about the All-commits mailing list