[all-commits] [llvm/llvm-project] 60023e: AMDGPU: Use default operand for VOP3P clamp

Matt Arsenault via All-commits all-commits at lists.llvm.org
Fri Feb 21 09:14:25 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 60023e347116e5004295e8c7f2f09cc1855d4d84
      https://github.com/llvm/llvm-project/commit/60023e347116e5004295e8c7f2f09cc1855d4d84
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-02-21 (Fri, 21 Feb 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
    M llvm/lib/Target/AMDGPU/SIInstrInfo.td
    M llvm/lib/Target/AMDGPU/VOP3Instructions.td
    M llvm/lib/Target/AMDGPU/VOP3PInstructions.td

  Log Message:
  -----------
  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.




More information about the All-commits mailing list