Always-inline variadic HashStateBase::combine(). Annotate the variadic HashStateBase::combine() declaration in hash.h with ABSL_ATTRIBUTE_ALWAYS_INLINE while leaving hash_tuple() unforced. Inlining variadic HashStateBase::combine() during AlwaysInlinerPass collapses single-argument tuple dispatch in absl::HashOf before CGSCC optimizes its callers, exposing std::forward_as_tuple field-address calculations directly to SROA and SLPVectorizerPass and replacing multi-argument calls to absl::HashOf (passing 7+ reference arguments on the stack on x86-64) with a single tuple-pointer call into shared out-of-line hash_tuple(). PiperOrigin-RevId: 1014902020
diff --git a/absl/hash/internal/hash.h b/absl/hash/internal/hash.h index 8303ff9..5e00c0b 100644 --- a/absl/hash/internal/hash.h +++ b/absl/hash/internal/hash.h
@@ -293,7 +293,8 @@ // state = H::combine(std::move(state), value2); // state = H::combine(std::move(state), value3); template <typename T, typename... Ts> - static H combine(H state, const T& value, const Ts&... values); + ABSL_ATTRIBUTE_ALWAYS_INLINE inline static H combine(H state, const T& value, + const Ts&... values); static H combine(H state) { return state; } // Combines a contiguous array of `size` elements into a hash state, returning