[llvm] [VPlan][UTC] Add `-vplan-print-instance` filter option (PR #211424)
Andrei Elovikov via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 23 08:57:05 PDT 2026
================
@@ -22,6 +22,10 @@
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Regex.h"
+#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
+#include <map>
+#endif
+
----------------
eas wrote:
`DenseMapInfo.h:88:48: error: no member named 'getHashValue' in 'llvm::DenseMapInfo<std::basic_string<char>>'`
`StringMap` doesn't support `std::pair` as the key. I could join two strings into one and use that, but that would be awkward, IMO.
Regarding conditional include, this condition should be the same for all TUs for a given CMake configuration, so I'm not sure what kind of issues do you expect.
https://github.com/llvm/llvm-project/pull/211424
More information about the llvm-commits
mailing list