[llvm] [CodeGen][NPM] Add support for -print-regusage in New Pass Manager (PR #169761)
Vikram Hegde via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 17 04:26:23 PST 2025
================
@@ -1,5 +1,6 @@
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc -mtriple=amdgcn-amd-amdhsa -enable-ipra -print-regusage -filetype=null 2>&1 < %s | FileCheck %s
+; RUN: llc -mtriple=amdgcn-amd-amdhsa -enable-new-pm=1 -enable-ipra -print-regusage -filetype=null 2>&1 < %s | FileCheck %s
----------------
vikramRH wrote:
We cannot use -passes with IR files and also the intention of -print-regusage here is to dump analysis at the end of the default pipeline
https://github.com/llvm/llvm-project/pull/169761
More information about the llvm-commits
mailing list