[llvm] [CodeGen][NewPM] Port `machine-block-freq` to new pass manager (PR #98317)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 10 23:23:14 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
----------------
arsenm wrote:

Use -filetype=null if you are just discarding the output.

Is there much point to starting with IR if you're just codegening it to get the MIR? 

https://github.com/llvm/llvm-project/pull/98317


More information about the llvm-commits mailing list