We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4f5e90 commit f96337eCopy full SHA for f96337e
llvm/lib/Transforms/Vectorize/VectorCombine.cpp
@@ -1532,6 +1532,10 @@ bool VectorCombine::foldConcatOfBoolMasks(Instruction &I) {
1532
if (ShAmtX > 0)
1533
NewCost += TTI.getArithmeticInstrCost(Instruction::Shl, Ty, CostKind);
1534
1535
+ LLVM_DEBUG(dbgs() << "Found a concatenation of bitcasted bool masks: " << I
1536
+ << "\n OldCost: " << OldCost << " vs NewCost: " << NewCost
1537
+ << "\n");
1538
+
1539
if (NewCost > OldCost)
1540
return false;
1541
0 commit comments