[SelectionDAG][NFC] Fix typo in assertion message

s/Uexpected/Unexpected.
This commit is contained in:
Fraser Cormack
2021-09-01 08:55:06 +01:00
parent 4dab15288d
commit 85fd44d7fe

View File

@@ -4364,7 +4364,7 @@ static bool getUniformBase(const Value *Ptr, SDValue &Base, SDValue &Index,
const TargetLowering &TLI = DAG.getTargetLoweringInfo();
const DataLayout &DL = DAG.getDataLayout();
assert(Ptr->getType()->isVectorTy() && "Uexpected pointer type");
assert(Ptr->getType()->isVectorTy() && "Unexpected pointer type");
// Handle splat constant pointer.
if (auto *C = dyn_cast<Constant>(Ptr)) {