[llvm] [TableGen][RISCV] Generate pre/post-RA statistics for macro fusions (PR #209394)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 14 08:52:27 PDT 2026
================
@@ -68,6 +68,14 @@ def TestFirstSameRegFusion: Fusion<"test-first-same-reg", "HasTestFirstSameRegFu
bit IsCommutable = 1;
}
+// A fusion that opts out of statistics collection.
+def TestNoStatisticFusion: SimpleFusion<"test-no-statistic", "HasTestNoStatisticFusion",
+ "Test Fusion Without Statistic",
+ CheckOpcode<[Inst0]>,
+ CheckOpcode<[Inst1]>> {
+ let GenerateStatistic = 0;
----------------
topperc wrote:
`false`
https://github.com/llvm/llvm-project/pull/209394
More information about the llvm-commits
mailing list