[llvm-branch-commits] [llvm] 3f09c77 - [SLP] fix typo in assert

Sanjay Patel via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sun Jan 10 10:20:12 PST 2021


Author: Sanjay Patel
Date: 2021-01-10T13:15:04-05:00
New Revision: 3f09c77d33dcd74b3cba4558b07f88d87ab2dd9d

URL: https://github.com/llvm/llvm-project/commit/3f09c77d33dcd74b3cba4558b07f88d87ab2dd9d
DIFF: https://github.com/llvm/llvm-project/commit/3f09c77d33dcd74b3cba4558b07f88d87ab2dd9d.diff

LOG: [SLP] fix typo in assert

This snuck into 0aa75fb12faa , but I didn't catch it locally.

Added: 
    

Modified: 
    llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
index d0b6b432e93e..5b91495bd844 100644
--- a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+++ b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
@@ -2502,7 +2502,7 @@ BoUpSLP::~BoUpSLP() {
 #ifdef EXPENSIVE_CHECKS
   // If we could guarantee that this call is not extremely slow, we could
   // remove the ifdef limitation (see PR47712).
-  assert(!verifyFunction(*F, %dbgs()));
+  assert(!verifyFunction(*F, &dbgs()));
 #endif
 }
 


        


More information about the llvm-branch-commits mailing list