[all-commits] [llvm/llvm-project] 90131e: [CostModel] Make target intrinsics cheap by default

David Green via All-commits all-commits at lists.llvm.org
Tue Nov 3 01:58:55 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 90131e3ecb753c38cc99e060aa69ca1766d96432
      https://github.com/llvm/llvm-project/commit/90131e3ecb753c38cc99e060aa69ca1766d96432
  Author: David Green <david.green at arm.com>
  Date:   2020-11-03 (Tue, 03 Nov 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/BasicTTIImpl.h
    M llvm/include/llvm/IR/Function.h
    M llvm/lib/IR/Function.cpp
    M llvm/test/Analysis/CostModel/ARM/target-intrinsics.ll

  Log Message:
  -----------
  [CostModel] Make target intrinsics cheap by default

This patch changes the intrinsics cost model to assume that by default
target intrinsics are cheap. This didn't seem to be the case for all
intrinsics, and is potentially an MVE problem due to our scalarization
overheads. Cheap seems to be a good default in general though.

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




More information about the All-commits mailing list