[llvm] [CodeGen][NewPM] Port RegisterUsageInfo to NPM (PR #113873)

Akshat Oke via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 28 23:56:11 PDT 2024


================
@@ -66,6 +63,52 @@ class PhysicalRegisterUsageInfo : public ImmutablePass {
   const LLVMTargetMachine *TM = nullptr;
 };
 
+class PhysicalRegisterUsageInfoWrapperLegacy : public ImmutablePass {
+  std::unique_ptr<PhysicalRegisterUsageInfo> PRUI;
----------------
optimisan wrote:

I don't know much about regmasks, but do you mean forego setting it in the call instruction MO?

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


More information about the llvm-commits mailing list