[all-commits] [llvm/llvm-project] 4f5ba4: [AMDGPU] Set wait state for meta instructions to zero

Christudasan Devadasan via All-commits all-commits at lists.llvm.org
Tue Aug 17 22:50:51 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4f5ba46e162eec32a9f9e2a725e6422281913043
      https://github.com/llvm/llvm-project/commit/4f5ba46e162eec32a9f9e2a725e6422281913043
  Author: Christudasan Devadasan <Christudasan.Devadasan at amd.com>
  Date:   2021-08-18 (Wed, 18 Aug 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp

  Log Message:
  -----------
  [AMDGPU] Set wait state for meta instructions to zero

It looked more reasonable to set the wait state to
zero for all non-instructions. With that we can avoid
the special handling for them in `getWaitStatesSince`
and `AdvanceCycle`. This NFC patch makes the handling
more generic.




More information about the All-commits mailing list