[all-commits] [llvm/llvm-project] c2ad7e: [AMDGPU] override isHighLatencyDef

Stanislav Mekhanoshin via All-commits all-commits at lists.llvm.org
Wed Jan 29 08:01:41 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c2ad7ee1a9add223f8c9cdb5761c71cfdcda9136
      https://github.com/llvm/llvm-project/commit/c2ad7ee1a9add223f8c9cdb5761c71cfdcda9136
  Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

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

  Log Message:
  -----------
  [AMDGPU] override isHighLatencyDef

SIMachineScheduler uses isHighLatencyInstruction with the same
sematincs, but TargetInstrInfo has virtual isHighLatencyDef
method, so override it instead.

Added FLAT to the list of high latency opcodes and a check for
mayLoad since stores are not technically high latency in terms
of data dependency.

This change did not produce any visible impact on our tests.

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




More information about the All-commits mailing list