Skip to content
  1. Jan 16, 2013
    • Eli Bendersky's avatar
      Optimize the memory usage of MC bundling, by creating a new type of fragment · cf6009b9
      Eli Bendersky authored
      into which we can emit single instructions without fixups (which is most
      instructions). This is an optimization required because MCDataFragment
      is prety large (240 bytes on x64), with no change in functionality.
      
      For large programs, this reduces memory usage overhead required for bundling
      by 40%.
      
      To make the code as palatable as possible, the MCEncodedFragment interface was
      further fragmented (no pun intended) and MCEncodedFragmentWithFixups is used
      as the interface to work against when the user expects fixups. MCDataFragment
      and MCRelaxableFragment implement this interface, while the new
      MCCompactEncodedInstFragment implements MCEncodeFragment.
      
      llvm-svn: 172572
      cf6009b9
    • David Greene's avatar
      Fix signed/unsigned Compare · 464d2195
      David Greene authored
      Do some casting to avoid a signed/unsigned compare.
      
      llvm-svn: 172571
      464d2195
    • David Greene's avatar
      Avoid unsigned Compare to int · c5ff6242
      David Greene authored
      Cast arithmetic results to avoid comparison of an unsigned to an int.
      
      llvm-svn: 172570
      c5ff6242
    • Chad Rosier's avatar
      [ms-inline asm] Address the FIXME in AsmParser.cpp. · 7245033a
      Chad Rosier authored
      // FIXME: Constraints are hard coded to 'm', but we need an 'r'
      // constraint for addressof.  This needs to be cleaned up!
      
      Test cases are already in place.  Specifically,
      clang/test/CodeGen/ms-inline-asm.c t15(), t16(), and t24().
      
      llvm-svn: 172569
      7245033a
  2. Jan 15, 2013
Loading