Skip to content

Commit bc16d4b

Browse files
author
klensy
committed
fix typos
1 parent 217e0f3 commit bc16d4b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

llvm/lib/Target/AArch64/AArch64ISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18365,7 +18365,7 @@ static SDValue performUADDVAddCombine(SDValue A, SelectionDAG &DAG) {
1836518365
EVT VT = A.getValueType();
1836618366
SDValue Op0 = A.getOperand(0);
1836718367
SDValue Op1 = A.getOperand(1);
18368-
if (Op0.getOpcode() != Op0.getOpcode() ||
18368+
if (Op0.getOpcode() != Op1.getOpcode() ||
1836918369
(Op0.getOpcode() != ISD::ZERO_EXTEND &&
1837018370
Op0.getOpcode() != ISD::SIGN_EXTEND))
1837118371
return SDValue();

llvm/lib/Transforms/Scalar/JumpThreading.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2516,7 +2516,7 @@ void JumpThreadingPass::updateBlockFreqAndEdgeWeight(BasicBlock *PredBB,
25162516
BlockFrequencyInfo *BFI,
25172517
BranchProbabilityInfo *BPI,
25182518
bool HasProfile) {
2519-
assert(((BFI && BPI) || (!BFI && !BFI)) &&
2519+
assert(((BFI && BPI) || (!BFI && !BPI)) &&
25202520
"Both BFI & BPI should either be set or unset");
25212521

25222522
if (!BFI) {

llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13858,7 +13858,7 @@ class BoUpSLP::ShuffleInstructionBuilder final : public BaseShuffleAnalysis {
1385813858
Value *createShuffleVector(Value *V1, Value *V2, ArrayRef<int> Mask) {
1385913859
if (V1->getType() != V2->getType()) {
1386013860
assert(V1->getType()->isIntOrIntVectorTy() &&
13861-
V1->getType()->isIntOrIntVectorTy() &&
13861+
V2->getType()->isIntOrIntVectorTy() &&
1386213862
"Expected integer vector types only.");
1386313863
if (V1->getType() != V2->getType()) {
1386413864
if (cast<VectorType>(V2->getType())

0 commit comments

Comments
 (0)