[PATCH] D130290: [MachineVerifier] add checks for INLINEASM_BR

Nick Desaulniers via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 21 11:04:28 PDT 2022


nickdesaulniers added inline comments.


================
Comment at: llvm/lib/CodeGen/MachineVerifier.cpp:887-888
+      const MachineBasicBlock *IndirectTargetMBB = nullptr;
+      // TODO: do we have a mapping of BasicBlocks to MachineBasicBlocks
+      // already?
+      for (const MachineBasicBlock &MBB : *MBB->getParent())
----------------
I'm probably thinking of `FunctionLoweringInfo`. Not sure how to access one of those from `MachineVerifier`, if it's even possible.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130290



More information about the llvm-commits mailing list