Skip to content

Commit 5f0db7c

Browse files
committed
[VectorCombine] Add "VECTORCOMBINE on <FUNCTION_NAME>" title debug message to help finding vectorcombine stages in the debug log
1 parent c543480 commit 5f0db7c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/lib/Transforms/Vectorize/VectorCombine.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3032,6 +3032,8 @@ bool VectorCombine::run() {
30323032
if (!TTI.getNumberOfRegisters(TTI.getRegisterClassForType(/*Vector*/ true)))
30333033
return false;
30343034

3035+
LLVM_DEBUG(dbgs() << "\n\nVECTORCOMBINE on " << F.getName() << "\n");
3036+
30353037
bool MadeChange = false;
30363038
auto FoldInst = [this, &MadeChange](Instruction &I) {
30373039
Builder.SetInsertPoint(&I);

0 commit comments

Comments
 (0)