Changes between Initial Version and Version 2 of Ticket #4308


Ignore:
Timestamp:
Sep 14, 2010 1:51:56 AM (5 years ago)
Author:
dterei
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4308 – Description

    initial v2  
    11Simon M. reported that compiled rts/Updates.cmm on x86-64 with the LLVM backend produced some pretty bad code. The ncg produces this:
    22
     3{{{
    34stg_upd_frame_info:
    45.Lco:
     
    1819.Lcf:
    1920       [...]
     21}}}
    2022
    2123The LLVM backend produces this though:
    2224
     25{{{
    2326stg_upd_frame_info:                     # @stg_upd_frame_info
    2427# BB#0:                                 # %co
     
    4750       movq    %rsi, 32(%rsp)          # 8-byte Spill
    4851       je      .LBB1_4
     52}}}
    4953
    5054This has two main problems: