[all-commits] [llvm/llvm-project] 80f3bb: [PowerPC] adjust cost for vector insert/extract wi...

Chen Zheng via All-commits all-commits at lists.llvm.org
Sun Feb 18 17:58:02 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 80f3bb4cf2f5603f65fca16775b1f507aee4aae2
      https://github.com/llvm/llvm-project/commit/80f3bb4cf2f5603f65fca16775b1f507aee4aae2
  Author: Chen Zheng <czhengsz at cn.ibm.com>
  Date:   2024-02-19 (Mon, 19 Feb 2024)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/PowerPC/insert_extract.ll

  Log Message:
  -----------
  [PowerPC] adjust cost for vector insert/extract with non const index (#79092)

P9 has vxform `Vector Extract Element Instructions` like `vextuwrx` and
P10 has vxform `Vector Insert Element instructions` like `vinsd`. Update
the instruction cost reflecting these instructions.

Fixes https://github.com/llvm/llvm-project/issues/50249



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list