[all-commits] [llvm/llvm-project] 41bd9e: [SystemZ] Return scalarized costs for vector inst...

Jonas Paulsson via All-commits all-commits at lists.llvm.org
Fri Feb 21 09:19:58 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 41bd9ead35f60823c59367efe4f3d5ade87e756d
      https://github.com/llvm/llvm-project/commit/41bd9ead35f60823c59367efe4f3d5ade87e756d
  Author: Jonas Paulsson <paulsson at linux.vnet.ibm.com>
  Date:   2020-02-21 (Fri, 21 Feb 2020)

  Changed paths:
    M llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
    A llvm/test/Analysis/CostModel/SystemZ/oldarch-vectors.ll

  Log Message:
  -----------
  [SystemZ]  Return scalarized costs for vector instructions on older archs.

A cost query for a vector instruction should return a cost even without
target vector support, and not trigger an assert.

VectorCombine does this with an input containing source code vectors.

Review: Ulrich Weigand




More information about the All-commits mailing list