Skip to content

[llvmgcc] C front-end does not emit 'zeroinitializer' when possible #577

@lattner

Description

@lattner
Bugzilla Link 205
Resolution FIXED
Resolved on Feb 22, 2010 12:50
Version 1.0
OS All

Extended Description

This is strictly a quality-of-implementation bug, but it does slow down the
C/C++ compiler needlessly.

In particular, the C front-end emits a .ll file containing an explicit list of
all of the zeros in cases like this:


int test[10000];

Instead, it would make the C front-end more efficient and the gccas tool parse
the result faster if it just emitted the zeroinitializer token.

-Chris

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions