[all-commits] [llvm/llvm-project] b70cb5: [AMDGPU] Minimize number of s_mov generated by cop...

Carl Ritson via All-commits all-commits at lists.llvm.org
Thu Oct 15 06:36:02 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b70cb5020416413bf5fbfe8111891912153f3034
      https://github.com/llvm/llvm-project/commit/b70cb5020416413bf5fbfe8111891912153f3034
  Author: Carl Ritson <carl.ritson at amd.com>
  Date:   2020-10-15 (Thu, 15 Oct 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    M llvm/test/CodeGen/AMDGPU/sgpr-phys-copy.mir

  Log Message:
  -----------
  [AMDGPU] Minimize number of s_mov generated by copyPhysReg

Generate the minimal set of s_mov instructions required when
expanding a SGPR copy operation in copyPhysReg.

Reviewed By: foad

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




More information about the All-commits mailing list