Skip to content
  • Evan Cheng's avatar
    For whatever the reason, x86 CallingConv::Fast (i.e. fastcc) was not passing... · 6c94b99c
    Evan Cheng authored
    For whatever the reason, x86 CallingConv::Fast (i.e. fastcc) was not passing scalar arguments in registers. This patch defines a new fastcc CC which is slightly different from the FastCall CC. In addition to passing integer arguments in ECX and EDX, it also specify doubles are passed in 8-byte slots which are 8-byte aligned (instead of 4-byte aligned). This avoids a potential performance hazard where doubles span cacheline boundaries.
    
    llvm-svn: 55807
    6c94b99c
Loading