[LLVMbugs] [Bug 205] NEW: [llvmgcc] C front-end does not emit 'zeroinitializer' when possible

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Jan 11 16:05:00 PST 2004


           Summary: [llvmgcc] C front-end does not emit 'zeroinitializer'
                    when possible
           Product: tools
           Version: 1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llvm-gcc
        AssignedTo: sabre at nondot.org
        ReportedBy: sabre at nondot.org

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.


------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the llvm-bugs mailing list