[PATCH] D80401: [SLP] fix verification check for valid IR
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 22 06:24:25 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG21f7cf4057b7: [SLP] fix verification check for valid IR (authored by spatel).
Changed prior to commit:
https://reviews.llvm.org/D80401?vs=265581&id=265732#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80401/new/
https://reviews.llvm.org/D80401
Files:
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Index: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
===================================================================
--- llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+++ llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
@@ -2365,6 +2365,7 @@
"trying to erase instruction with users.");
Pair.getFirst()->eraseFromParent();
}
+ assert(!verifyFunction(*F, &dbgs()));
}
void BoUpSLP::eraseInstructions(ArrayRef<Value *> AV) {
@@ -5743,7 +5744,6 @@
if (Changed) {
R.optimizeGatherSequence();
LLVM_DEBUG(dbgs() << "SLP: vectorized \"" << F.getName() << "\"\n");
- LLVM_DEBUG(verifyFunction(F));
}
return Changed;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80401.265732.patch
Type: text/x-patch
Size: 664 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200522/fd15e0c9/attachment.bin>
More information about the llvm-commits
mailing list