[llvm] Avoid BlockFrequency overflow problems (PR #66280)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 13 13:31:53 PDT 2023


================
@@ -16,6 +16,8 @@
 #include <cassert>
 #include <cstdint>
 
+#include "llvm/Support/Compiler.h"
----------------
kazutakahirata wrote:

Once we switch to `[[nodiscard]]`, we shouldn't have to include `Compiler.h` here.

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


More information about the llvm-commits mailing list