[llvm] [PHIElimination] Declare MachineLoopInfo dependency for Legacy PM (PR #169693)

Prasoon Mishra via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 28 00:04:06 PST 2025


================
@@ -0,0 +1,44 @@
+# RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -run-pass=machine-loops,livevars,phi-node-elimination -no-phi-elim-live-out-early-exit -stats -filetype=null %s 2>&1 | FileCheck %s
+# REQUIRES: asserts
----------------
PrasoonMishra wrote:

It doesn’t require assertions directly, but it does require -stats. The -stats option in llc is available when LLVM is built with assertions enabled. For example, the LoopFusion test [pr164082.ll](https://github.com/llvm/llvm-project/blob/main/llvm/test/Transforms/LoopFusion/pr164082.ll) also depends on assertions when checking stats information.

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


More information about the llvm-commits mailing list