Displaying 2 results from an estimated 2 matches for "getleastcommontype".
2019 Mar 05
2
RFC: Contained stateful AliasAnalysis
...rder to keep BasicAA stateless. In the example given in
the patch, not clearing the isCapturedCache reduces compile times by
another second. In some pathological cases I'm looking at, not-clearing
this cache halves compile times (from 8s to 4s).
There are a few other examples such as TBAA's getLeastCommonType and
BasicAA's DecomposeGEP.
Ideally we'd would have something along the lines of:
void keepCaches()
void clearCaches(),
with the first one called just before building MemorySSA, and the second
one called afterwards.
Again, I'm looking into how to make this available but also contain t...
2019 Mar 05
2
RFC: Contained stateful AliasAnalysis
...stateless. In the example given in
> the patch, not clearing the isCapturedCache reduces compile times by
> another second. In some pathological cases I'm looking at, not-clearing
> this cache halves compile times (from 8s to 4s).
> There are a few other examples such as TBAA's getLeastCommonType and
> BasicAA's DecomposeGEP.
>
> Ideally we'd would have something along the lines of:
> void keepCaches()
> void clearCaches(),
> with the first one called just before building MemorySSA, and the second
> one called afterwards.
>
> Again, I'm looking into ho...