[all-commits] [llvm/llvm-project] 184b38: Add v16f64 value type

Stanislav Mekhanoshin via All-commits all-commits at lists.llvm.org
Thu May 14 14:28:22 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 184b38345746a8f2b8ff5608fdd115991fa2c0fe
      https://github.com/llvm/llvm-project/commit/184b38345746a8f2b8ff5608fdd115991fa2c0fe
  Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
  Date:   2020-05-14 (Thu, 14 May 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/ValueTypes.td
    M llvm/include/llvm/IR/Intrinsics.td
    M llvm/include/llvm/Support/MachineValueType.h
    M llvm/lib/CodeGen/ValueTypes.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
    M llvm/test/Analysis/CostModel/ARM/cast.ll
    M llvm/utils/TableGen/CodeGenTarget.cpp

  Log Message:
  -----------
  Add v16f64 value type

We need to use it to handle <16 x double> indirect indexes
in the AMDGPU BE.

The only visible change from adding it is in ARM cost model.
To me it looks reasonable. With doubling a vector size it
quadruples the cost up to the size 8 and then it did only
double it. Now it also quadruples, which seems a logical
progression to me.

Actual AMDGPU code is to follow, this is a common part, plus
load/store legalization in the AMDGPU BE not to break what
works now.

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




More information about the All-commits mailing list