Skip to content

Commit 36af43f

Browse files
Merge branch 'main' into format-decay-array
2 parents f7777e8 + db2307d commit 36af43f

File tree

2 files changed

+1404
-0
lines changed

2 files changed

+1404
-0
lines changed

llvm/lib/Transforms/Vectorize/VectorCombine.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1532,6 +1532,10 @@ bool VectorCombine::foldConcatOfBoolMasks(Instruction &I) {
15321532
if (ShAmtX > 0)
15331533
NewCost += TTI.getArithmeticInstrCost(Instruction::Shl, Ty, CostKind);
15341534

1535+
LLVM_DEBUG(dbgs() << "Found a concatenation of bitcasted bool masks: " << I
1536+
<< "\n OldCost: " << OldCost << " vs NewCost: " << NewCost
1537+
<< "\n");
1538+
15351539
if (NewCost > OldCost)
15361540
return false;
15371541

0 commit comments

Comments
 (0)