[PATCH] D141877: [NFC][X86] `canonicalizeShuffleWithBinOps()`: refactor and generalize, NFC
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 17 15:15:40 PST 2023
lebedev.ri added inline comments.
================
Comment at: llvm/lib/Target/X86/X86ISelLowering.cpp:40504
EVT OpVT = N0.getValueType();
+ for (auto I : enumerate(N0Ops)) {
+ SDValue &Op = I.value();
----------------
(Note how we immediately make use of the `.index()` part in D141806)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141877/new/
https://reviews.llvm.org/D141877
More information about the llvm-commits
mailing list