mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Add debug prints.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179412 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
affe889d08
commit
196ee11f85
@ -91,6 +91,10 @@ struct SLPVectorizer : public BasicBlockPass {
|
||||
it != e; ++it) {
|
||||
if (it->second.size() < 2)
|
||||
continue;
|
||||
|
||||
DEBUG(dbgs()<<"SLP: Analyzing a store chain of length " <<
|
||||
it->second.size() << ".\n");
|
||||
|
||||
Changed |= R.vectorizeStores(it->second, -SLPCostThreshold);
|
||||
}
|
||||
return Changed;
|
||||
@ -117,7 +121,7 @@ struct SLPVectorizer : public BasicBlockPass {
|
||||
|
||||
bool Changed = RollStoreChains(R);
|
||||
if (Changed) {
|
||||
DEBUG(dbgs()<<"Rolled chains in \""<<BB.getParent()->getName()<<"\"\n");
|
||||
DEBUG(dbgs()<<"SLP: vectorized in \""<<BB.getParent()->getName()<<"\"\n");
|
||||
DEBUG(verifyFunction(*BB.getParent()));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user