[llvm] [MacroFusion] Support commutable instructions (PR #82751)
Zi Xuan Wu via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 11 03:29:13 PDT 2024
================
@@ -78,7 +88,7 @@ def TestFusion: SimpleFusion<"test-fusion", "HasTestFusion", "Test Fusion",
// CHECK-PREDICATOR-NEXT: }
// CHECK-PREDICATOR-NEXT: return true;
// CHECK-PREDICATOR-NEXT: }
-// CHECK-PREDICATOR-NEXT: bool isTestFusion(
----------------
zixuan-wu wrote:
Please see scheduleAdjacentImpl in MacroFusion.cpp. It tries to create a NewMI.
https://github.com/llvm/llvm-project/pull/82751
More information about the llvm-commits
mailing list