Skip to content
  1. Sep 21, 2011
    • John McCall's avatar
      ANSI C requires that a call to an unprototyped function type succeed · cbc038a6
      John McCall authored
      if the definition has a non-variadic prototype with compatible
      parameters.  Therefore, the default rule for such calls must be to
      use a non-variadic convention.  Achieve this by casting the callee to
      the function type with which it is required to be compatible, unless
      the target specifically opts out and insists that unprototyped calls
      should use the variadic rules.  The only case of that I'm aware of is
      the x86-64 convention, which passes arguments the same way in both
      cases but also sets a small amount of extra information;  here we seek
      to maintain compatibility with GCC, which does set this when calling
      an unprototyped function.
      
      Addresses PR10810 and PR10713.
      
      llvm-svn: 140241
      cbc038a6
  2. Sep 20, 2011
  3. Sep 19, 2011
    • Bill Wendling's avatar
      Throw the switch to convert clang to the new exception handling model! · f0724e8e
      Bill Wendling authored
      This model uses the 'landingpad' instruction, which is pinned to the top of the
      landing pad. (A landing pad is defined as the destination of the unwind branch
      of an invoke instruction.) All of the information needed to generate the correct
      exception handling metadata during code generation is encoded into the
      landingpad instruction.
      
      The new 'resume' instruction takes the place of the llvm.eh.resume intrinsic
      call. It's lowered in much the same way as the intrinsic is.
      
      llvm-svn: 140049
      f0724e8e
  4. Sep 16, 2011
  5. Sep 14, 2011
  6. Sep 13, 2011
  7. Sep 10, 2011
  8. Sep 09, 2011
  9. Sep 08, 2011
  10. Sep 07, 2011
  11. Sep 02, 2011
  12. Aug 26, 2011
    • John McCall's avatar
      Track whether an AggValueSlot is potentially aliased, and do not · a5efa738
      John McCall authored
      emit call results into potentially aliased slots.  This allows us
      to properly mark indirect return slots as noalias, at the cost
      of requiring an extra memcpy when assigning an aggregate call
      result into a l-value.  It also brings us into compliance with
      the x86-64 ABI.
      
      llvm-svn: 138599
      a5efa738
  13. Aug 24, 2011
  14. Aug 23, 2011
  15. Aug 20, 2011
  16. Aug 16, 2011
  17. Aug 13, 2011
  18. Aug 11, 2011
  19. Aug 06, 2011
  20. Aug 05, 2011
  21. Aug 04, 2011
Loading