AMDGPU: Start selecting v_mad_mixlo_f16
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 20 Sep 2017 20:28:39 +0000 (20:28 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 20 Sep 2017 20:28:39 +0000 (20:28 +0000)
commit76935122cce2b45d5a48766e4840b8f908bfa126
tree2ad91591576ba12258ad1147e055a72162fa9cdc
parente85de8fcf9c0ea5f878140c2801be67a3663a518
AMDGPU: Start selecting v_mad_mixlo_f16

Also add some tests that should be able to use v_mad_mixhi_f16,
but do not yet. This is trickier because we don't really model
the partial update of the register done by 16-bit instructions.

llvm-svn: 313806
llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
llvm/lib/Target/AMDGPU/VOP3PInstructions.td
llvm/test/CodeGen/AMDGPU/mad-mix-hi.ll [new file with mode: 0644]
llvm/test/CodeGen/AMDGPU/mad-mix-lo.ll [new file with mode: 0644]