[all-commits] [llvm/llvm-project] 0af414: [ARM][CostModel] CodeSize costs for i1 arith ops

Sam Parker via All-commits all-commits at lists.llvm.org
Mon Sep 7 01:30:58 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0af4147804aa0aa906a2ac913fe5639639afb9bb
      https://github.com/llvm/llvm-project/commit/0af4147804aa0aa906a2ac913fe5639639afb9bb
  Author: Sam Parker <sam.parker at arm.com>
  Date:   2020-09-07 (Mon, 07 Sep 2020)

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

  Log Message:
  -----------
  [ARM][CostModel] CodeSize costs for i1 arith ops

When optimising for size, make the cost of i1 logical operations
relatively expensive so that optimisations don't try to combine
predicates.

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




More information about the All-commits mailing list