[PATCH] D75970: Fix compiler warning when compiling without asserts

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 12 22:36:59 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG263c4a3c75a4: Fix compiler warning when compiling without asserts (authored by rathod-sahaab, committed by jdoerfert).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75970/new/

https://reviews.llvm.org/D75970

Files:
  llvm/lib/Transforms/IPO/OpenMPOpt.cpp


Index: llvm/lib/Transforms/IPO/OpenMPOpt.cpp
===================================================================
--- llvm/lib/Transforms/IPO/OpenMPOpt.cpp
+++ llvm/lib/Transforms/IPO/OpenMPOpt.cpp
@@ -44,7 +44,7 @@
 STATISTIC(NumOpenMPRuntimeFunctionUsesIdentified,
           "Number of OpenMP runtime function uses identified");
 
-#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
+#if !defined(NDEBUG)
 static constexpr auto TAG = "[" DEBUG_TYPE "]";
 #endif
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75970.250128.patch
Type: text/x-patch
Size: 465 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200313/e2ef6db2/attachment.bin>


More information about the llvm-commits mailing list