Skip to content

Conversation

@zGoldthorpe
Copy link

[LICM] Sink unused l-invariant loads in preheader.

Unused loop invariant loads were not sunk from preheader to exit block, increasing live range.

This commit moves the sinkUnusedInvariant logic from indvarsimplify to LICM and also adds functionality to sinks unused load that's not clobbered by loop body.

@z1-cciauto
Copy link
Collaborator

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.

3 participants