[llvm] [CodeGen][NewPM] Port `machine-block-freq` to new pass manager (PR #98317)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 11 04:33:26 PDT 2024
================
@@ -0,0 +1,44 @@
+; RUN: llc -mtriple=x86_64-linux-gnu -stop-after=x86-isel %s -o - | llc --passes='print<machine-block-freq>' -x mir -o - 2>&1 | FileCheck %s
----------------
paperchalice wrote:
Convert to MIR test for now. Because ideally these test should stay in `test/CodeGen/Generic`, but I couldn't find a good way to write a generic test, `llc` may crash with its output on some targets.
https://github.com/llvm/llvm-project/pull/98317
More information about the llvm-commits
mailing list