The pass uses ReachingDefAnalysis which has no information about
instructions in dead blocks.
So do not process them.
Paths 
  |  Differential  D148329  
[BreakFalseDeps] Respect dead blocks. ClosedPublic Authored by skatkov on Apr 14 2023, 4:57 AM. 
Details Summary The pass uses ReachingDefAnalysis which has no information about So do not process them. 
Diff Detail 
 Event Timelineskatkov added a child revision: D148514: [BranchFolding] Remove redundant conditional branch..Apr 17 2023, 9:01 AM This revision is now accepted and ready to land.Apr 20 2023, 9:32 PM This revision was landed with ongoing or failed builds.Apr 20 2023, 10:30 PM Closed by commit rGaa5cc39b6df0: [BreakFalseDeps] Respect dead blocks. (authored by skatkov).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
Diff 515593 llvm/lib/CodeGen/BreakFalseDeps.cpp
 llvm/lib/CodeGen/CodeGen.cpp
 llvm/test/CodeGen/X86/break-false-dep-crash.mir
 
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||