Add v16f64 value type
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Wed, 13 May 2020 23:20:45 +0000 (16:20 -0700)
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Thu, 14 May 2020 21:28:00 +0000 (14:28 -0700)
commit184b38345746a8f2b8ff5608fdd115991fa2c0fe
treecd670fd879041d7b87f6dd14714f27555049422e
parentb5d2bd74d75ddcb9ce702aca61e8aa54cc0104ec
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
llvm/include/llvm/CodeGen/ValueTypes.td
llvm/include/llvm/IR/Intrinsics.td
llvm/include/llvm/Support/MachineValueType.h
llvm/lib/CodeGen/ValueTypes.cpp
llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
llvm/test/Analysis/CostModel/ARM/cast.ll
llvm/utils/TableGen/CodeGenTarget.cpp