[llvm] [Windows SEH] fix failed assert and crash (PR #107031)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 4 05:30:39 PDT 2024


================
@@ -1476,6 +1476,11 @@ void SelectionDAGISel::reportIPToStateForBlocks(MachineFunction *MF) {
     if (BB->getFirstMayFaultInst()) {
       // Report IP range only for blocks with Faulty inst
       auto MBBb = MBB.getFirstNonPHI();
+
+      // Avoids attempting to dereference a sentintel which fails an assert
----------------
arsenm wrote:

Don't need this comment 

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


More information about the llvm-commits mailing list