Skip to content

[pull] master from openjdk:master#330

Merged
pull[bot] merged 6 commits intoMu-L:masterfrom
openjdk:master
Nov 11, 2020
Merged

[pull] master from openjdk:master#330
pull[bot] merged 6 commits intoMu-L:masterfrom
openjdk:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Nov 11, 2020

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

prsadhuk and others added 6 commits November 11, 2020 08:05
…entially

Prevent exponential number of calls to ConvI2LNode::Ideal() when AddIs are used
multiple times by other AddIs in the optimization ConvI2L(AddI(x, y)) ->
AddL(ConvI2L(x), ConvI2L(y)). This is achieved by (1) reusing existing ConvI2Ls
if possible rather than eagerly creating new ones and (2) postponing the
optimization of newly created ConvI2Ls. Remove hook node solution introduced in
8217359, since this is subsumed by (2). Use phase->is_IterGVN() rather than
can_reshape to check if ConvI2LNode::Ideal() is called within iterative GVN, for
clarity. Add regression tests that cover different shapes and sizes of AddI
subgraphs, implicitly checking (by not timing out) that there is no
combinatorial explosion.

Co-authored-by: Vladimir Ivanov <vlivanov@openjdk.org>
Reviewed-by: vlivanov, kvn
@pull pull bot added the ⤵️ pull label Nov 11, 2020
@pull pull bot merged commit 432c387 into Mu-L:master Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants