[llvm] 85fd44d - [SelectionDAG][NFC] Fix typo in assertion message
Fraser Cormack via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 1 01:06:02 PDT 2021
Author: Fraser Cormack
Date: 2021-09-01T08:55:06+01:00
New Revision: 85fd44d7fef628004c7efd066cc38edb309875b6
URL: https://github.com/llvm/llvm-project/commit/85fd44d7fef628004c7efd066cc38edb309875b6
DIFF: https://github.com/llvm/llvm-project/commit/85fd44d7fef628004c7efd066cc38edb309875b6.diff
LOG: [SelectionDAG][NFC] Fix typo in assertion message
s/Uexpected/Unexpected.
Added:
Modified:
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
index 1f6b0eee2a58f..4c313a992d802 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
@@ -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)) {
More information about the llvm-commits
mailing list