================
@@ -269,13 +269,18 @@ static unsigned getHashValueImpl(SimpleValue Val) {
                       hash_combine_range(Inst->operand_values()));
 }
 
+#ifndef NDEBUG
+// -earlycse-debug-hash of the function being processed, bound once per run.
+static LLVM_THREAD_LOCAL bool DebugHash;
----------------
aengelke wrote:

-1 to thread_local. We can get the options via the instruction's context.

https://github.com/llvm/llvm-project/pull/232599
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to