[PATCH] D108382: [X86] lowerShuffleAsDecomposedShuffleMerge(): if both inputs are broadcastable/identities, canonicalize broadcasts as such
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 25 13:30:25 PDT 2021
lebedev.ri added inline comments.
================
Comment at: llvm/lib/Target/X86/X86ISelLowering.cpp:12685
+ // as 0'th element, then broadcast said input,
+ // and change \p InputMask to be a no-op (identity) mask.
+ auto canonicalizeBroadcastableInput = [DL, VT, &Subtarget,
----------------
RKSimon wrote:
> can this comment reduce to 2 lines? it doesn't seem to be 80col
All my commits are clang-formatted, so this did fit within 80-col limit.
Is this better?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D108382/new/
https://reviews.llvm.org/D108382
More information about the llvm-commits
mailing list