Skip to content

Commit 6dc7cf1

Browse files
committed
add debug message
1 parent faf8b7a commit 6dc7cf1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/lib/Transforms/Vectorize/VectorCombine.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -723,6 +723,9 @@ bool VectorCombine::foldInsExtFNeg(Instruction &I) {
723723
SrcVecTy, SrcMask, CostKind);
724724
}
725725

726+
LLVM_DEBUG(dbgs() << "Found an insertion of (extract)fneg : " << I
727+
<< "\n OldCost: " << OldCost << " vs NewCost: " << NewCost
728+
<< "\n");
726729
if (NewCost > OldCost)
727730
return false;
728731

0 commit comments

Comments
 (0)