diff options
author | Sanjay Patel <spatel@rotateright.com> | 2021-01-04 16:51:36 -0500 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2021-01-04 17:05:28 -0500 |
commit | 36263a7cccc0d98afc36dea55e7a004d08455811 (patch) | |
tree | e908e5f510dee9a02c9f41868549361174ba7a6d /clang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp | |
parent | efc82c4ad2bcb256a4f4c20238d08cd3afba4d2d (diff) | |
download | llvm-36263a7cccc0d98afc36dea55e7a004d08455811.zip llvm-36263a7cccc0d98afc36dea55e7a004d08455811.tar.gz llvm-36263a7cccc0d98afc36dea55e7a004d08455811.tar.bz2 |
[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.
Diffstat (limited to 'clang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp')
0 files changed, 0 insertions, 0 deletions