AMDGPU: Use default operand for VOP3P clamp
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 18 Feb 2020 14:34:31 +0000 (09:34 -0500)
committerMatt Arsenault <arsenm2@gmail.com>
Fri, 21 Feb 2020 17:14:18 +0000 (12:14 -0500)
commit60023e347116e5004295e8c7f2f09cc1855d4d84
tree64872e4a183d1c59bc4ffaac5e456dd1697341fd
parentdb9c40f5624e6d55e0cbafe3f3980a7223e197c4
AMDGPU: Use default operand for VOP3P clamp

We don't use this, and matching from the def doesn't make much sense.

There are multiple tablegen bugs with default operand
handling. undef_tied_input should work to handle the vdst_in
correctly, but this breaks the operand register class constraint which
it should be able to infer.
llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
llvm/lib/Target/AMDGPU/SIInstrInfo.td
llvm/lib/Target/AMDGPU/VOP3Instructions.td
llvm/lib/Target/AMDGPU/VOP3PInstructions.td