[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
+
+; Function Attrs: noinline nounwind optnone ssp uwtable
+define i32 @foo(i32 noundef %0) #0 {
+  %2 = alloca i32, align 4
----------------
arsenm wrote:

Use named values in tests 

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


More information about the llvm-commits mailing list