[all-commits] [llvm/llvm-project] 36263a: [LoopUtils] remove redundant opcode parameter; NFC
RotateRight via All-commits
all-commits at lists.llvm.org
Mon Jan 4 14:05:48 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 36263a7cccc0d98afc36dea55e7a004d08455811
https://github.com/llvm/llvm-project/commit/36263a7cccc0d98afc36dea55e7a004d08455811
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2021-01-04 (Mon, 04 Jan 2021)
Changed paths:
M llvm/include/llvm/Analysis/IVDescriptors.h
M llvm/include/llvm/Transforms/Utils/LoopUtils.h
M llvm/lib/Analysis/IVDescriptors.cpp
M llvm/lib/Transforms/Utils/LoopUtils.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/lib/Transforms/Vectorize/VPlan.cpp
Log Message:
-----------
[LoopUtils] remove redundant opcode parameter; NFC
While here, rename the inaccurate getRecurrenceBinOp()
because that was also used to get CmpInst opcodes.
The recurrence/reduction kind should always refer to the
expected opcode for a reduction. SLP appears to be the
only direct caller of createSimpleTargetReduction(), and
that calling code ideally should not be carrying around
both an opcode and a reduction kind.
This should allow us to generalize reduction matching to
use intrinsics instead of only binops.
More information about the All-commits
mailing list