Skip to content
  1. Dec 12, 2012
    • John McCall's avatar
      Rewrite calls to bitcast unprototyped functions when emitting a definition. · 49954ca0
      John McCall authored
      My variadics patch, r169588, changed these calls to typically be
      bitcasts rather than calls to a supposedly variadic function.
      This totally subverted a hack where we intentionally dropped
      excess arguments from such calls in order to appease the inliner
      and a "warning" from the optimizer.  This patch extends the hack
      to also work with bitcasts, as well as teaching it to rewrite
      invokes.
      
      llvm-svn: 170034
      49954ca0
  2. 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
  3. Jun 28, 2011
  4. Apr 28, 2010
  5. Feb 24, 2010
  6. Dec 15, 2009
  7. Nov 08, 2009
    • Daniel Dunbar's avatar
      Eliminate &&s in tests. · 8b576979
      Daniel Dunbar authored
       - 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious.
      
      llvm-svn: 86430
      8b576979
  8. Sep 09, 2009
  9. Jul 21, 2009
  10. Jun 23, 2009
  11. May 05, 2009
  12. Mar 24, 2009
  13. Mar 22, 2009
  14. Feb 19, 2009
  15. Feb 16, 2009
  16. Jul 31, 2008
  17. Dec 02, 2007
Loading