diff options
author | Luke Lau <luke@igalia.com> | 2025-03-20 22:22:55 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-20 21:22:55 +0800 |
commit | 345748e02722ce81ecd11beac18121b23325b853 (patch) | |
tree | 79db7c434b7de914e9af061bc7a8f3911ff936f2 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 73558dc329ee44465672fc492ec8dcee8afad2fa (diff) | |
download | llvm-345748e02722ce81ecd11beac18121b23325b853.zip llvm-345748e02722ce81ecd11beac18121b23325b853.tar.gz llvm-345748e02722ce81ecd11beac18121b23325b853.tar.bz2 |
[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.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions