Skip to content

Commit 4aa3b11

Browse files
author
klensy
committed
lfix typos
1 parent e4db3f0 commit 4aa3b11

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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
@@ -13859,7 +13859,7 @@ class BoUpSLP::ShuffleInstructionBuilder final : public BaseShuffleAnalysis {
1385913859
Value *createShuffleVector(Value *V1, Value *V2, ArrayRef<int> Mask) {
1386013860
if (V1->getType() != V2->getType()) {
1386113861
assert(V1->getType()->isIntOrIntVectorTy() &&
13862-
V1->getType()->isIntOrIntVectorTy() &&
13862+
V2->getType()->isIntOrIntVectorTy() &&
1386313863
"Expected integer vector types only.");
1386413864
if (V1->getType() != V2->getType()) {
1386513865
if (cast<VectorType>(V2->getType())

0 commit comments

Comments
 (0)