[all-commits] [llvm/llvm-project] aa5cc3: [BreakFalseDeps] Respect dead blocks.

serguei-katkov via All-commits all-commits at lists.llvm.org
Thu Apr 20 22:30:26 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aa5cc39b6df0c35ff48cb9d1a397cb8fe1ba00ee
      https://github.com/llvm/llvm-project/commit/aa5cc39b6df0c35ff48cb9d1a397cb8fe1ba00ee
  Author: Serguei Katkov <serguei.katkov at azul.com>
  Date:   2023-04-21 (Fri, 21 Apr 2023)

  Changed paths:
    M llvm/lib/CodeGen/BreakFalseDeps.cpp
    M llvm/lib/CodeGen/CodeGen.cpp
    A llvm/test/CodeGen/X86/break-false-dep-crash.mir

  Log Message:
  -----------
  [BreakFalseDeps] Respect dead blocks.

The pass uses ReachingDefAnalysis which has no information about
instructions in dead blocks.
So do not process them.

Reviewed By: pengfei
Differential Revision: https://reviews.llvm.org/D148329




More information about the All-commits mailing list