[all-commits] [llvm/llvm-project] 04377a: [Powerpc] set instruction count as lsr first prior...

Chen Zheng via All-commits all-commits at lists.llvm.org
Sun Feb 16 18:05:07 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 04377a81aee14fc8807aad90b0c1fdfdcb4a3883
      https://github.com/llvm/llvm-project/commit/04377a81aee14fc8807aad90b0c1fdfdcb4a3883
  Author: Zheng Chen <czhengsz at cn.ibm.com>
  Date:   2020-02-16 (Sun, 16 Feb 2020)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
    M llvm/lib/Target/PowerPC/PPCTargetTransformInfo.h
    M llvm/test/CodeGen/PowerPC/addi-licm.ll
    M llvm/test/CodeGen/PowerPC/lsr-insns-cost.ll
    M llvm/test/CodeGen/PowerPC/unal-altivec.ll

  Log Message:
  -----------
  [Powerpc] set instruction count as lsr first priority of lsr.

On Powerpc, set instruction count as lsr first priority of lsr by default.
Add an option ppc-lsr-no-insns-cost to return back to default lsr cost model.

Reviewed By: steven.zhang, jsji

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




More information about the All-commits mailing list