[all-commits] [llvm/llvm-project] 345748: [IVDescriptor] Explicitly check for isMinMaxRecurr...
Luke Lau via All-commits
all-commits at lists.llvm.org
Thu Mar 20 06:23:18 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 345748e02722ce81ecd11beac18121b23325b853
https://github.com/llvm/llvm-project/commit/345748e02722ce81ecd11beac18121b23325b853
Author: Luke Lau <luke at igalia.com>
Date: 2025-03-20 (Thu, 20 Mar 2025)
Changed paths:
M llvm/lib/Analysis/IVDescriptors.cpp
Log Message:
-----------
[IVDescriptor] Explicitly check for isMinMaxRecurrenceKind in getReductionOpChain. NFC (#132025)
There are other types of recurrences with an icmp/fcmp opcode, AnyOf and
FindLastIV, so don't rely on the opcode to detect them.
This makes adding support for AnyOf in #131830 easier.
Note that these currently fail the ExpectedUses/isCorrectOpcode checks
anyway, so there shouldn't be any functional change.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list