[llvm] [PredicateInfo] Support `PredicateInfo` by adding `PHI` nodes that pick up info from created branch predicates (PR #151132)

Rajveer Singh Bharadwaj via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 12 08:07:43 PST 2025


Rajveer100 wrote:

> Sorry I am not very familar with PredicateInfo so I cannot provide more specific insights. However, as per the IR diff https://github.com/dtcxzyw/llvm-opt-benchmark/pull/2798 made by this patch, I don't think introducing such complexity is a good deal.

Can you point out which parts are complex? 

Also there's a limitation we can set to number of such nodes we can introduce, I believe it's 4/8 similar for branch/assume which already exist, can do the same for this too.

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


More information about the llvm-commits mailing list