[PATCH] D157259: [DAG] Add constant SPLAT handling in getNodes SIGN_EXTEND_INREG

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 7 01:37:34 PDT 2023


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

LGTM



================
Comment at: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:6617
+          ISD::SPLAT_VECTOR, DL, VT,
+          SignExtendInReg(cast<ConstantSDNode>(N1.getOperand(0))->getAPIntValue(),
+                          N1.getOperand(0).getValueType()));
----------------
N1.getConstantOperandAPInt(0)?


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

https://reviews.llvm.org/D157259



More information about the llvm-commits mailing list