[clang] [llvm] [CodeGen][KCFI] Allow setting type hash from xxHash64 to FNV-1a (PR #167254)

Pranav Kant via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 3 19:28:46 PST 2025


================
@@ -11,17 +11,18 @@
 //===----------------------------------------------------------------------===//
 
 #include "llvm/Transforms/Utils/ModuleUtils.h"
-#include "llvm/Analysis/VectorUtils.h"
 #include "llvm/ADT/SmallString.h"
+#include "llvm/Analysis/VectorUtils.h"
 #include "llvm/IR/DerivedTypes.h"
 #include "llvm/IR/Function.h"
 #include "llvm/IR/IRBuilder.h"
 #include "llvm/IR/MDBuilder.h"
 #include "llvm/IR/Module.h"
 #include "llvm/Support/Casting.h"
+#include "llvm/Support/Hash.h"
 #include "llvm/Support/MD5.h"
 #include "llvm/Support/raw_ostream.h"
-#include "llvm/Support/xxhash.h"
+#include "llvm/Transforms/Instrumentation/KCFI.h"
----------------
pranavk wrote:

this is introducing a cycling dependency between `TransformUtils` and `Instrumentation` library. `Instrumentation` already depends on `TransformUtils`. 

https://github.com/llvm/llvm-project/pull/167254


More information about the cfe-commits mailing list