[all-commits] [llvm/llvm-project] ab2e27: [AMDGPU] Small cleanup in insertWaitcntInBlock()

Stephen Thomas via All-commits all-commits at lists.llvm.org
Wed Dec 7 03:59:21 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ab2e27faa4cb9b7b63bf043ed329acbcaff7959c
      https://github.com/llvm/llvm-project/commit/ab2e27faa4cb9b7b63bf043ed329acbcaff7959c
  Author: Stephen Thomas <Stephen.Thomas at amd.com>
  Date:   2022-12-07 (Wed, 07 Dec 2022)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp

  Log Message:
  -----------
  [AMDGPU] Small cleanup in insertWaitcntInBlock()

Move some code that checks if an instruction is a waitcount into a separate
function, mainly to aid readability in the logic where it is used.

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




More information about the All-commits mailing list