[PATCH] D112254: [LegalizeVectorOps][X86] Don't defer BITREVERSE expansion to LegalizeDAG.

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 21 13:55:55 PDT 2021


RKSimon accepted this revision.
RKSimon added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp:1124
 void VectorLegalizer::ExpandBITREVERSE(SDNode *Node,
                                        SmallVectorImpl<SDValue> &Results) {
   EVT VT = Node->getValueType(0);
----------------
Do we have any consistency on when we use a &Results vs just return the SDValue?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D112254/new/

https://reviews.llvm.org/D112254



More information about the llvm-commits mailing list