[SLP] fix typo in assert
authorSanjay Patel <spatel@rotateright.com>
Sun, 10 Jan 2021 18:15:04 +0000 (13:15 -0500)
committerSanjay Patel <spatel@rotateright.com>
Sun, 10 Jan 2021 18:15:04 +0000 (13:15 -0500)
This snuck into 0aa75fb12faa , but I didn't catch it locally.

llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

index d0b6b43..5b91495 100644 (file)
@@ -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
 }