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

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 12 07:57:07 PST 2025


================
@@ -0,0 +1,39 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
+; RUN: opt < %s -passes=newgvn -S | FileCheck %s
+
+ at p = local_unnamed_addr global i32 0
+
+define noundef i32 @h5diff(i32 %0, i1 %1) local_unnamed_addr #0 {
----------------
dtcxzyw wrote:

Use named values/labels and remove unused attributes.

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


More information about the llvm-commits mailing list