[llvm] 7f7ef0e - [LegalizeTypes][NFC] Fix node name in assertion message
Fraser Cormack via llvm-commits
llvm-commits at lists.llvm.org
Tue May 24 01:28:54 PDT 2022
Author: Fraser Cormack
Date: 2022-05-24T09:16:18+01:00
New Revision: 7f7ef0ed617ec4a51f10b82390cafb08433d03b5
URL: https://github.com/llvm/llvm-project/commit/7f7ef0ed617ec4a51f10b82390cafb08433d03b5
DIFF: https://github.com/llvm/llvm-project/commit/7f7ef0ed617ec4a51f10b82390cafb08433d03b5.diff
LOG: [LegalizeTypes][NFC] Fix node name in assertion message
This was probably copy/pasted from the MSCATTER widening.
Added:
Modified:
llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
index 2a280a86aea1..2a1f313b8493 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
@@ -5949,7 +5949,7 @@ SDValue DAGTypeLegalizer::WidenVecOp_VP_SCATTER(SDNode *N, unsigned OpNo) {
// Just widen the index. It's allowed to have extra elements.
Index = GetWidenedVector(Index);
} else
- llvm_unreachable("Can't widen this operand of mscatter");
+ llvm_unreachable("Can't widen this operand of VP_SCATTER");
SDValue Ops[] = {
VPSC->getChain(), DataOp, VPSC->getBasePtr(), Index, Scale, Mask,
More information about the llvm-commits
mailing list