[llvm] IVDescriptors: unify RecurKinds IAnyOf and FAnyOf (PR #118393)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 3 03:43:36 PST 2024


================
@@ -1063,7 +1052,7 @@ unsigned RecurrenceDescriptor::getOpcode(RecurKind Kind) {
 SmallVector<Instruction *, 4>
 RecurrenceDescriptor::getReductionOpChain(PHINode *Phi, Loop *L) const {
   SmallVector<Instruction *, 4> ReductionOperations;
-  unsigned RedOp = getOpcode(Kind);
+  unsigned RedOp = getOpcode();
----------------
fhahn wrote:

those look like unrelated updates that could be done separately as NFC first?

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


More information about the llvm-commits mailing list