SelectionDAG: Support Expand of f16 extloads
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 9 Sep 2015 01:12:27 +0000 (01:12 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 9 Sep 2015 01:12:27 +0000 (01:12 +0000)
commit7e657c85c6360ca0adcbda29ed26347a2cd9ae55
treeba9178c4234298164ebd3a3fe99d9efc861409f2
parent48a473e770c4c987cb6c87228b0a0007caac5053
SelectionDAG: Support Expand of f16 extloads

Currently this hits an assert that extload should
always be supported, which assumes integer extloads.

This moves a hack out of SI's argument lowering and
is covered by existing tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247113 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/ValueTypes.h
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
lib/IR/ValueTypes.cpp
lib/Target/AMDGPU/SIISelLowering.cpp
test/CodeGen/AMDGPU/half.ll