[all-commits] [llvm/llvm-project] 60b8b2: [ARM] Add extra extend and trunc costs for cast in...

David Green via All-commits all-commits at lists.llvm.org
Mon Jul 6 03:33:29 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 60b8b2beeab9b6a994108da6ea3ab225a9e7bd9a
      https://github.com/llvm/llvm-project/commit/60b8b2beeab9b6a994108da6ea3ab225a9e7bd9a
  Author: David Green <david.green at arm.com>
  Date:   2020-07-06 (Mon, 06 Jul 2020)

  Changed paths:
    M llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/ARM/cast_ldst.ll

  Log Message:
  -----------
  [ARM] Add extra extend and trunc costs for cast instructions

This expands the existing extend costs with a few extras for larger
types than legal, which will usually be split under MVE. It also adds
trunk support for the same thing. These should not have a large effect
on many things, but makes the costs explicit and keeps a certain balance
between the trunks and extends.

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




More information about the All-commits mailing list