[all-commits] [llvm/llvm-project] 61bc18: [Schedule] Add a MultiHazardRecognizer

David Green via All-commits all-commits at lists.llvm.org
Mon Oct 26 01:07:19 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 61bc18de0b2edf8659053b06d73dfd2563143572
      https://github.com/llvm/llvm-project/commit/61bc18de0b2edf8659053b06d73dfd2563143572
  Author: David Green <david.green at arm.com>
  Date:   2020-10-26 (Mon, 26 Oct 2020)

  Changed paths:
    A llvm/include/llvm/CodeGen/MultiHazardRecognizer.h
    M llvm/lib/CodeGen/CMakeLists.txt
    A llvm/lib/CodeGen/MultiHazardRecognizer.cpp
    M llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
    M llvm/lib/Target/ARM/ARMHazardRecognizer.cpp
    M llvm/lib/Target/ARM/ARMHazardRecognizer.h

  Log Message:
  -----------
  [Schedule] Add a MultiHazardRecognizer

This adds a MultiHazardRecognizer and starts to make use of it in the
ARM backend. The idea of the class is to allow multiple independent
hazard recognizers to be added to a single base MultiHazardRecognizer,
allowing them to all work in parallel without requiring them to be
chained into subclasses. They can then be added or not based on cpu or
subtarget features, which will become useful in the ARM backend once
more hazard recognizers are being used for various things.

This also renames ARMHazardRecognizer to ARMHazardRecognizerFPMLx in the
process, to more clearly explain what that recognizer is designed for.

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




More information about the All-commits mailing list