[llvm] [InstCombine] Try to freely invert phi nodes (PR #80804)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 6 00:48:52 PST 2024


================
@@ -132,6 +132,8 @@ define i1 @pt62607() {
 ; CHECK-NEXT:  entry_1:
 ; CHECK-NEXT:    br label [[LOOP_5:%.*]]
 ; CHECK:       loop_5:
+; CHECK-NEXT:    [[VAL_I1_55:%.*]] = phi i1 [ true, [[ENTRY_1:%.*]] ], [ poison, [[LOOP_5]] ]
----------------
nikic wrote:

I think this happens because you failed to use Builder.

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


More information about the llvm-commits mailing list