Skip to content

Conversation

zyn0217
Copy link

@zyn0217 zyn0217 commented Jul 1, 2025

This helps reduce the time cost of time_zone.cpp from 44s -> 6s. Though it still fails as of now.

The substitution complexity should be O(N) than previous O(N!).

I didn't add/fix any cache mechanism in this patch.

It still needs improvements & investigation, as previous clang only takes 3s to compile.

zyn0217 added 3 commits July 1, 2025 19:02
This helps reduce the time cost of time_zone.cpp from 44s -> 14s

It still needs improvements, as previous clang only takes 3s.
There are 6 tests failing now!

Failed Tests (6):
  Clang :: AST/ByteCode/libcxx/deref-to-array.cpp
  Clang :: AST/ByteCode/libcxx/primitive-temporary.cpp
  Clang :: CXX/expr/expr.prim/expr.prim.req/nested-requirement.cpp
  Clang :: CXX/temp/temp.constr/temp.constr.normal/p1.cpp
  Clang :: Modules/GH60336.cpp
  Clang :: SemaTemplate/concepts-recursive-inst.cpp
Failed Tests (3):
  Clang :: CXX/expr/expr.prim/expr.prim.req/nested-requirement.cpp
  Clang :: CXX/temp/temp.constr/temp.constr.normal/p1.cpp
  Clang :: SemaTemplate/concepts-recursive-inst.cpp
@zyn0217 zyn0217 changed the title Add parameter mapping cache Fix the parameter mapping complexity Jul 4, 2025
@cor3ntin cor3ntin merged commit 38b63c0 into cor3ntin:corentin/use_normalization_for_satisfaction Jul 4, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants