[PATCH] D129201: [MachineVerifier] Try harder to verify SlotIndexes

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 7 05:21:41 PST 2023


foad updated this revision to Diff 487085.
foad added a comment.

Rebase.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D129201

Files:
  llvm/lib/CodeGen/MachineVerifier.cpp


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129201.487085.patch
Type: text/x-patch
Size: 499 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230107/4f7889ac/attachment.bin>


More information about the llvm-commits mailing list