[all-commits] [llvm/llvm-project] 772349: [PPC] Try to fix builbots

Sam Parker via All-commits all-commits at lists.llvm.org
Mon Jun 8 01:14:19 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 772349de887839add823af70b0cdb37f3b47fbc3
      https://github.com/llvm/llvm-project/commit/772349de887839add823af70b0cdb37f3b47fbc3
  Author: Sam Parker <sam.parker at arm.com>
  Date:   2020-06-08 (Mon, 08 Jun 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/BasicTTIImpl.h
    M llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp

  Log Message:
  -----------
  [PPC] Try to fix builbots

Attempt to handle unsupported types, such as structs, in
getMemoryOpCost. The backend now checks for a supported type and
calls into BasicTTI as a fallback. BasicTTI will now also perform
the same check and will default to an expensive cost of 4 for 'Other'
MVTs.

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




More information about the All-commits mailing list