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

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 4 07:24:02 PDT 2023


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

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.510798.patch
Type: text/x-patch
Size: 499 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230404/e4504e63/attachment.bin>


More information about the llvm-commits mailing list