================
@@ -356,6 +356,7 @@ static RecurrenceDescriptor getMinMaxRecurrence(PHINode *Phi, Loop *TheLoop,
});
if (PhiHasInvalidUses) {
if (!RecurrenceDescriptor::isMinMaxRecurrenceKind(RK) ||
+
----------------
nasherm wrote:
Done
https://github.com/llvm/llvm-project/pull/225405