• Ömer Sinan Ağacan's avatar
    Make non-streaming LLVM and C backends streaming · a8300520
    Ömer Sinan Ağacan authored
    This adds a Stream.consume function, uses it in LLVM and C code
    generators, and removes the use of Stream.collect function which was
    used to collect streaming Cmm generation results into a list.
    
    LLVM and C backends now properly use streamed Cmm generation, instead of
    collecting Cmm groups into a list before generating LLVM/C code.
    a8300520
LlvmCodeGen.hs 7.77 KB