[llvm] [SimplifyCFG] Avoid increasing too many phi entries when removing empty blocks (PR #104887)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 19 22:09:59 PDT 2024


================
@@ -0,0 +1,782 @@
+; RUN: opt < %s -passes=simplifycfg -S | FileCheck --check-prefixes=CHECK-1000 %s
+; RUN: opt < %s -max-phi-entries-increase-after-removing-empty-block=989 -passes=simplifycfg -S | FileCheck --check-prefixes=CHECK-989 %s
----------------
dtcxzyw wrote:

You can pick a smaller threshold to reduce size of this file.


https://github.com/llvm/llvm-project/pull/104887


More information about the llvm-commits mailing list