[all-commits] [llvm/llvm-project] 86a782: [TailDuplicator] Add maximum predecessors and succ...

Quentin Dian via All-commits all-commits at lists.llvm.org
Wed Apr 17 05:27:33 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 86a78284e7ce2ecc7a9283c7d141566a32371492
      https://github.com/llvm/llvm-project/commit/86a78284e7ce2ecc7a9283c7d141566a32371492
  Author: Quentin Dian <dianqk at dianqk.net>
  Date:   2024-04-17 (Wed, 17 Apr 2024)

  Changed paths:
    M llvm/lib/CodeGen/TailDuplicator.cpp
    A llvm/test/CodeGen/X86/tail-dup-pred-succ-size.mir

  Log Message:
  -----------
  [TailDuplicator] Add maximum predecessors and successors to consider tail duplicating blocks (#78582)

Fixes #78578.

Duplicating a BB which has both multiple predecessors and successors
will result in a complex CFG and also may cause huge amount of PHI
nodes. See
https://github.com/llvm/llvm-project/issues/78578#issuecomment-1962363580
for a detailed description of the limit.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list