[all-commits] [llvm/llvm-project] 219a9f: AMDGPU: Rename gfx9 version of v_add_i32/v_sub_i32

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Jul 16 10:32:28 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 219a9fea1467b32d2effe5b1a6cb8b28b1e4b659
      https://github.com/llvm/llvm-project/commit/219a9fea1467b32d2effe5b1a6cb8b28b1e4b659
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-07-16 (Thu, 16 Jul 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/VOP3Instructions.td

  Log Message:
  -----------
  AMDGPU: Rename gfx9 version of v_add_i32/v_sub_i32

The carry-out opcode is renamed, so eliminate the deceptive _gfx9,
which looked like the encoded instruction. The real encoded version
was named _gfx9_gfx9.

Move it into the VI encoding namespace. The gfx9 namespace is just to
deal with the renamed instructions that reinterpret the opcode. When
codegened, it would fail to find the real instruction since it wasn't
in the right namespace.




More information about the All-commits mailing list