[PATCH] D97495: [SimplifyCFG] avoid illegal phi with both poison and undef
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 25 23:36:09 PST 2021
lebedev.ri added inline comments.
================
Comment at: llvm/test/Transforms/SimplifyCFG/poison-merge.ll:14-17
+; CHECK-NEXT: [[K2:%.*]] = phi i64 [ [[K3:%.*]], [[G]] ], [ undef, [[ENTRY:%.*]] ]
+; CHECK-NEXT: br label [[G]]
+; CHECK: g:
+; CHECK-NEXT: [[K3]] = phi i64 [ [[K2]], [[LOOP]] ], [ poison, [[ENTRY]] ]
----------------
It looks like we didn't merge them after all?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97495/new/
https://reviews.llvm.org/D97495
More information about the llvm-commits
mailing list