Skip to content

Commit e250bc5

Browse files
RKSimongithub-actions[bot]
authored andcommitted
Automerge: [VectorCombine] Add "VC: Visiting" debug message to help the log show the instruction folding order.
2 parents 1e96237 + b87a5fb commit e250bc5

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
@@ -3041,6 +3041,8 @@ bool VectorCombine::run() {
30413041
bool IsFixedVectorType = isa<FixedVectorType>(I.getType());
30423042
auto Opcode = I.getOpcode();
30433043

3044+
LLVM_DEBUG(dbgs() << "VC: Visiting: " << I << '\n');
3045+
30443046
// These folds should be beneficial regardless of when this pass is run
30453047
// in the optimization pipeline.
30463048
// The type checking is for run-time efficiency. We can avoid wasting time

0 commit comments

Comments
 (0)