From 7382fa413217bb7267db20dee48017a58ba3cd5a Mon Sep 17 00:00:00 2001 From: Mel Chen Date: Tue, 18 Nov 2025 02:16:57 -0800 Subject: [PATCH] [IVDescriptors] Fix the message of llvm_unreachable. nfc --- llvm/lib/Analysis/IVDescriptors.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/Analysis/IVDescriptors.cpp b/llvm/lib/Analysis/IVDescriptors.cpp index 641850b46bbd8..30d14b56ed82b 100644 --- a/llvm/lib/Analysis/IVDescriptors.cpp +++ b/llvm/lib/Analysis/IVDescriptors.cpp @@ -1250,6 +1250,7 @@ unsigned RecurrenceDescriptor::getOpcode(RecurKind Kind) { case RecurKind::FindLastIVUMax: // TODO: Set AnyOf and FindIV to Instruction::Select once in-loop reductions // are supported. + llvm_unreachable("AnyOf and FindIV do not support in-loop"); default: llvm_unreachable("Unknown recurrence operation"); }