[all-commits] [llvm/llvm-project] 28e4f9: [AMDGPU] Save/Restore SCC bit across waterfall loo...

Sirish Pande via All-commits all-commits at lists.llvm.org
Wed Oct 18 06:43:43 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 28e4f97320b6d3cb198f9865b6379ea1ca988cf8
      https://github.com/llvm/llvm-project/commit/28e4f97320b6d3cb198f9865b6379ea1ca988cf8
  Author: Sirish Pande <sirpande at amd.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    A llvm/test/CodeGen/AMDGPU/waterfall_kills_scc.ll

  Log Message:
  -----------
  [AMDGPU] Save/Restore SCC bit across waterfall loop. (#68363)

Waterfall loop is overwriting SCC bit of status register. Make sure SCC
bit is saved and restored across.
We need to save/restore only in cases where SCC is live across waterfall
loop.

Co-authored-by: Sirish Pande <sirish.pande at amd.com>




More information about the All-commits mailing list