[PATCH] D129213: [MachineVerifier] Try harder to verify LiveVariables

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 25 01:22:32 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG024305730413: [MachineVerifier] Try harder to verify LiveVariables (authored by foad).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D129213/new/

https://reviews.llvm.org/D129213

Files:
  llvm/lib/CodeGen/MachineVerifier.cpp


Index: llvm/lib/CodeGen/MachineVerifier.cpp
===================================================================
--- llvm/lib/CodeGen/MachineVerifier.cpp
+++ llvm/lib/CodeGen/MachineVerifier.cpp
@@ -294,6 +294,7 @@
 
     void getAnalysisUsage(AnalysisUsage &AU) const override {
       AU.addUsedIfAvailable<LiveStacks>();
+      AU.addUsedIfAvailable<LiveVariables>();
       AU.setPreservesAll();
       MachineFunctionPass::getAnalysisUsage(AU);
     }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129213.470404.patch
Type: text/x-patch
Size: 456 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221025/a0a21782/attachment.bin>


More information about the llvm-commits mailing list