[PATCH] D148329: [BreakFalseDeps] Respect dead blocks.

Serguei Katkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 14 04:57:58 PDT 2023


skatkov created this revision.
skatkov added reviewers: pengfei, craig.topper, myatsina.
Herald added a subscriber: hiraditya.
Herald added a project: All.
skatkov requested review of this revision.
Herald added a project: LLVM.

The pass uses ReachingDefAnalysis which has no information about
instructions in dead blocks.

So do not process them.


https://reviews.llvm.org/D148329

Files:
  llvm/lib/CodeGen/BreakFalseDeps.cpp
  llvm/lib/CodeGen/CodeGen.cpp
  llvm/test/CodeGen/X86/break-false-dep-crash.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148329.513548.patch
Type: text/x-patch
Size: 7378 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230414/82c00590/attachment.bin>


More information about the llvm-commits mailing list