public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] Merge #1265
@ 2022-06-08 12:48 Thomas Schwinge
0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-06-08 12:48 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:55ec3454d0d45829431d8904aa0b6363ac362616
commit 55ec3454d0d45829431d8904aa0b6363ac362616
Merge: 93e59035536 39ae84825c5
Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Date: Mon May 23 08:58:04 2022 +0000
Merge #1265
1265: Canonicalize types based on hashing than HirIds and TyTy equality r=philberty a=philberty
This patch updates how we canonicalize the types. The old method was not
able to handle more complex cases involving generic associated types. So
this now uses a moe generic hashing system which now speeds up the lookups.
The commit message gives much more detail here.
Co-authored-by: Philip Herron <philip.herron@embecosm.com>
Diff:
gcc/rust/Make-lang.in | 1 +
gcc/rust/backend/rust-compile-block.h | 1 -
gcc/rust/backend/rust-compile-context.cc | 139 ++++++++++++
gcc/rust/backend/rust-compile-context.h | 71 ++----
gcc/rust/backend/rust-compile-expr.h | 1 -
gcc/rust/backend/rust-compile-resolve-path.h | 1 -
gcc/rust/backend/rust-compile-stmt.h | 1 -
gcc/rust/backend/rust-compile-struct-field-expr.h | 1 -
gcc/rust/backend/rust-compile-type.cc | 202 ++++++++++-------
gcc/rust/backend/rust-compile-type.h | 12 +-
gcc/rust/backend/rust-compile-tyty.h | 260 ----------------------
gcc/rust/backend/rust-mangle.h | 3 +-
12 files changed, 291 insertions(+), 402 deletions(-)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-08 12:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-08 12:48 [gcc/devel/rust/master] Merge #1265 Thomas Schwinge
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).