aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/AST/ByteCode/Compiler.cpp
diff options
context:
space:
mode:
authorMel Chen <mel.chen@sifive.com>2025-05-19 17:31:23 +0800
committerGitHub <noreply@github.com>2025-05-19 17:31:23 +0800
commit1b711b27d20500639e42fb866e3a20ef8d39326c (patch)
tree6906480b082e4974cd5b1f100f766dceb792f9e8 /clang/lib/AST/ByteCode/Compiler.cpp
parent172c2817e5912901f65bd7a43f6df559fb5fcfd3 (diff)
downloadllvm-1b711b27d20500639e42fb866e3a20ef8d39326c.zip
llvm-1b711b27d20500639e42fb866e3a20ef8d39326c.tar.gz
llvm-1b711b27d20500639e42fb866e3a20ef8d39326c.tar.bz2
[VPlan] Clean up the function VPInstruction::generate for ComputeReductionResult, nfc (#140245)
When reducing unrolled parts, explicitly check for min/max reductions using the function RecurrenceDescriptor::isMinMaxRecurrenceKind. Only if the reduction is not min/max reduction, call RecurrenceDescriptor::getOpcode() to handle other cases via CreateBinOp. Based on https://github.com/llvm/llvm-project/pull/140242 Related to https://github.com/llvm/llvm-project/pull/118393
Diffstat (limited to 'clang/lib/AST/ByteCode/Compiler.cpp')
0 files changed, 0 insertions, 0 deletions