[PATCH] D114394: Compile-time computation of string attribute hashes

Yilong Guo via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 24 04:28:22 PST 2021


Nuullll added inline comments.


================
Comment at: llvm/include/llvm/IR/Attributes.h:54
+        size_(HashedS.size()) {
+    assert(hash_ == hasher(s.data(), s.size()) && "consistent hashing");
+  }
----------------



CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114394/new/

https://reviews.llvm.org/D114394



More information about the cfe-commits mailing list