[PATCH] D116363: [X86] Combine to vpdpbusd when operand is constant and small enough.
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 19 00:24:12 PST 2022
RKSimon accepted this revision.
RKSimon added a comment.
This revision is now accepted and ready to land.
LGTM - with one minor
================
Comment at: llvm/lib/Target/X86/X86ISelLowering.cpp:9253
+ // TODO, there may be some general way to know if a SDNode can
+ // be foled. We now only know whether an MI is foldable.
+ if (Opc == X86ISD::VPDPBUSD && U->getOperand(2).getNode() != N)
----------------
foled -> folded
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116363/new/
https://reviews.llvm.org/D116363
More information about the llvm-commits
mailing list