[all-commits] [llvm/llvm-project] 8f55fd: [MacroFusion] Expose useful static methods. NFC.

Joe Nash via All-commits all-commits at lists.llvm.org
Tue Oct 5 09:09:26 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8f55fdf26cd9f08b3b706e9ff8819b0c7f72b651
      https://github.com/llvm/llvm-project/commit/8f55fdf26cd9f08b3b706e9ff8819b0c7f72b651
  Author: Joe Nash <Joseph.Nash at amd.com>
  Date:   2021-10-05 (Tue, 05 Oct 2021)

  Changed paths:
    M llvm/include/llvm/CodeGen/MacroFusion.h
    M llvm/lib/CodeGen/MacroFusion.cpp

  Log Message:
  -----------
  [MacroFusion] Expose useful static methods. NFC.

hasLessThanNumFused and fuseInstructionPair are useful for
DAG mutations similar to MacroFusion, but which cannot use
MacroFusion as a whole (such as fusing non-dependent instruction).

Reviewed By: MatzeB

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

Change-Id: I3a5d56aba0471d45ef64cebb9b724030e2eae2f3




More information about the All-commits mailing list