Transform statics to locals

Registered by Michael Hope

A popular embedded benchmark uses a lot of function level static variables that can be transformed into local variables. The speed up is very significant.

Our 4.4 had a -fremove-local-statics option that did this. The original discussion is here:
 http://lists.linaro.org/pipermail/linaro-toolchain/2010-July/000051.html

Blueprint information

Status:
Complete
Approver:
Michael Hope
Priority:
Not
Drafter:
Michael Hope
Direction:
Approved
Assignee:
None
Definition:
Approved
Series goal:
Accepted for 4.6
Implementation:
Informational Informational
Milestone target:
milestone icon backlog
Started by
Matthew Gretton-Dann
Completed by
Matthew Gretton-Dann

Related branches

Sprints

Whiteboard

"""Last time I talked with Richard we decided to not proceed as it's a benchmark specific optimisation that doesn't apply to real code. The implementation would be significantly different to what was posted."""

[2013-05-29 matthew-gretton-dann] Moved to Jira: http://cards.linaro.org/browse/TCWG-145

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.