[all-commits] [llvm/llvm-project] 3df86e: [SimplifyCFG] Handle branch on same condition in p...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Apr 21 02:22:18 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3df86e799e46bc1139372a2f40c31333716e3ad6
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-04-21 (Thu, 21 Apr 2022)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp

  Log Message:
  [SimplifyCFG] Handle branch on same condition in pred more directly

Rather than creating a PHI node and then using the PHI threading
code, directly handle this case in

This change is supposed to be NFC-ish, but may cause changes due
to different transform order.

More information about the All-commits mailing list