[PATCH] D111571: [X86] `detectAVGPattern()`: support basic case of PAVG chaining (PR52131)
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 12 02:37:00 PDT 2021
lebedev.ri added inline comments.
================
Comment at: llvm/lib/Target/X86/X86ISelLowering.cpp:46792
- auto AVGSplitter = [&](SDValue Op0, SDValue Op1) {
+ auto AVGSplitter = [&](std::array<SDValue, 2> Ops) {
+ for (SDValue &Op : Ops)
----------------
I will precommit this
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111571/new/
https://reviews.llvm.org/D111571
More information about the llvm-commits
mailing list