[all-commits] [llvm/llvm-project] 686607: [AMDGPU] Skip pseudo MIs in hazard recognizer

Christudasan Devadasan via All-commits all-commits at lists.llvm.org
Mon Aug 16 20:13:59 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 686607676f720a27b5946d3cb7800e18181a312f
      https://github.com/llvm/llvm-project/commit/686607676f720a27b5946d3cb7800e18181a312f
  Author: Christudasan Devadasan <Christudasan.Devadasan at amd.com>
  Date:   2021-08-16 (Mon, 16 Aug 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    A llvm/test/CodeGen/AMDGPU/hazard-pseudo-machineinstrs.mir
    M llvm/test/CodeGen/AMDGPU/hazard.mir

  Log Message:
  -----------
  [AMDGPU] Skip pseudo MIs in hazard recognizer

Instructions like WAVE_BARRIER and SI_MASKED_UNREACHABLE
are only placeholders to prevent certain unwanted
transformations and will get discarded during assembly
emission. They should not be counted during nop insertion.

Reviewed By: rampitec

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




More information about the All-commits mailing list