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 f611e95 commit 8f4d2e0Copy full SHA for 8f4d2e0
llvm/lib/Transforms/Vectorize/VectorCombine.cpp
@@ -1612,6 +1612,10 @@ bool VectorCombine::scalarizeLoadExtract(Instruction &I) {
1612
ScalarizedCost += TTI.getAddressComputationCost(VecTy->getElementType());
1613
}
1614
1615
+ LLVM_DEBUG(dbgs() << "Found all extractions of a vector load: " << I
1616
+ << "\n LoadExtractCost: " << OriginalCost
1617
+ << " vs ScalarizedCost: " << ScalarizedCost << "\n");
1618
+
1619
if (ScalarizedCost >= OriginalCost)
1620
return false;
1621
0 commit comments