[llvm] [CodeGen] This patch fix a bug that may caused error for a self-defined target in SelectionDAG::getNode (PR #75320)
yan zhou via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 18 18:33:56 PST 2023
================
@@ -6858,8 +6858,9 @@ SDValue SelectionDAG::getNode(unsigned Opcode, const SDLoc &DL, EVT VT,
// expanding copies of large vectors from registers. This only works for
// fixed length vectors, since we need to know the exact number of
// elements.
- if (N2C && N1.getOperand(0).getValueType().isFixedLengthVector() &&
----------------
zhou3968322 wrote:
yes, I have changed it.
https://github.com/llvm/llvm-project/pull/75320
More information about the llvm-commits
mailing list