[PATCH] D155395: [SimplifyCFG] Remove identical successors in switch instructions in simple cases.

DianQK via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 16 03:03:08 PDT 2023


DianQK added a comment.

In D155395#4504028 <https://reviews.llvm.org/D155395#4504028>, @nikic wrote:

> I don't think this is the right way to approach the problem. We should instead extend the existing sinking transform to support sinking instructions from only a subset of predecessors (into a new intermediate block).

Oh, thank you. I will give it a try.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D155395



More information about the llvm-commits mailing list