[all-commits] [llvm/llvm-project] d35d8d: [AMDGPU] Mark additional VOP3 as commutable

Joe Nash via All-commits all-commits at lists.llvm.org
Mon Mar 29 11:32:50 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d35d8da7d6ac6c08578ec0569b072292631691e0
      https://github.com/llvm/llvm-project/commit/d35d8da7d6ac6c08578ec0569b072292631691e0
  Author: Joe Nash <Joseph.Nash at amd.com>
  Date:   2021-03-29 (Mon, 29 Mar 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/VOP3Instructions.td
    M llvm/test/CodeGen/AMDGPU/GlobalISel/add_shl.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/fshl.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/fshr.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.atomic.dim.a16.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.gather4.a16.dim.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.sample.ltolz.a16.ll
    A llvm/test/CodeGen/AMDGPU/commute-vop3.mir

  Log Message:
  -----------
  [AMDGPU] Mark additional VOP3 as commutable

Note, only src0 and src1 will be commuted if the isCommutable flag
is set. This patch does not change that, it just makes it possible
to commute src0 and src1 of more instructions.

Reviewed By: foad, rampitec

Differential Revision: https://reviews.llvm.org/D99376

Change-Id: I61e20490962d95ea429beb355c55f55c024dafdc




More information about the All-commits mailing list