[all-commits] [llvm/llvm-project] b890a4: [MacroFusion] Support commutable instructions (#82...

Wang Pengcheng via All-commits all-commits at lists.llvm.org
Fri Mar 15 03:45:10 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b890a48a12aa5c851185ae2fd6273cd853fe0bc5
      https://github.com/llvm/llvm-project/commit/b890a48a12aa5c851185ae2fd6273cd853fe0bc5
  Author: Wang Pengcheng <wangpengcheng.pp at bytedance.com>
  Date:   2024-03-15 (Fri, 15 Mar 2024)

  Changed paths:
    M llvm/include/llvm/Target/TargetSchedule.td
    M llvm/test/TableGen/MacroFusion.td
    M llvm/utils/TableGen/MacroFusionPredicatorEmitter.cpp

  Log Message:
  -----------
  [MacroFusion] Support commutable instructions (#82751)

If the second instruction is commutable, we should be able to check
its commutable operands.

A simple RISCV fusion is contained in this PR to show the functionality
is correct, I may remove it when landing.

Fixes #82738



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list