[PATCH] D103422: [ADT] Move DenseMapInfo for APInt into APInt.h (PR50527)
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 1 00:16:36 PDT 2021
nikic added inline comments.
================
Comment at: llvm/lib/Support/APInt.cpp:553
+unsigned DenseMapInfo<APInt>::getHashValue(const APInt &Key) {
+ return static_cast<unsigned>(hash_value(Key));
----------------
craig.topper wrote:
> Why is this out of line now?
It avoids the need to include `Hashing.h` in `APInt.h` for the `hash_code` type.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103422/new/
https://reviews.llvm.org/D103422
More information about the llvm-commits
mailing list