mcst-linux-kernel/patches-2024.06.26/amdvlk-1.0.0/0001-workaround-bug152613.p...

21 lines
1.0 KiB
Diff

--- a/drivers/llvm-project/llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp 2023-09-15 12:13:35.095107873 +0300
+++ b/drivers/llvm-project/llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp 2023-08-08 14:32:11.000000000 +0300
@@ -1825,7 +1825,7 @@
}
template <typename DerivedCCG, typename FuncTy, typename CallTy>
-struct GraphTraits<const CallsiteContextGraph<DerivedCCG, FuncTy, CallTy> *> {
+struct llvm::GraphTraits<const CallsiteContextGraph<DerivedCCG, FuncTy, CallTy> *> {
using GraphType = const CallsiteContextGraph<DerivedCCG, FuncTy, CallTy> *;
using NodeRef = const ContextNode<DerivedCCG, FuncTy, CallTy> *;
@@ -1869,7 +1869,7 @@
};
template <typename DerivedCCG, typename FuncTy, typename CallTy>
-struct DOTGraphTraits<const CallsiteContextGraph<DerivedCCG, FuncTy, CallTy> *>
+struct llvm::DOTGraphTraits<const CallsiteContextGraph<DerivedCCG, FuncTy, CallTy> *>
: public DefaultDOTGraphTraits {
DOTGraphTraits(bool IsSimple = false) : DefaultDOTGraphTraits(IsSimple) {}