Skip to content
  1. Dec 11, 2012
    • Han Ming Ong's avatar
      Removed debugging code. · df4dd923
      Han Ming Ong authored
      llvm-svn: 169799
      df4dd923
    • Bill Wendling's avatar
      Fix grammar-o. · ceb1577b
      Bill Wendling authored
      llvm-svn: 169798
      ceb1577b
    • Chad Rosier's avatar
      Fall back to the selection dag isel to select tail calls. · df42cf39
      Chad Rosier authored
      This shouldn't affect codegen for -O0 compiles as tail call markers are not
      emitted in unoptimized compiles.  Testing with the external/internal nightly
      test suite reveals no change in compile time performance.  Testing with -O1,
      -O2 and -O3 with fast-isel enabled did not cause any compile-time or
      execution-time failures.  All tests were performed on my x86 machine.
      I'll monitor our arm testers to ensure no regressions occur there.
      
      In an upcoming clang patch I will be marking the objc_autoreleaseReturnValue
      and objc_retainAutoreleaseReturnValue as tail calls unconditionally.  While
      it's theoretically true that this is just an optimization, it's an
      optimization that we very much want to happen even at -O0, or else ARC
      applications become substantially harder to debug.
      
      Part of rdar://12553082
      
      llvm-svn: 169796
      df42cf39
    • Anna Zaks's avatar
      [analyzer] Don't generate a summary for "freeWhenDone" if method is · a7b1c47c
      Anna Zaks authored
      inlined.
      
      Fixes a false positive that occurs if a user writes their own
      initWithBytesNoCopy:freeWhenDone wrapper.
      
      llvm-svn: 169795
      a7b1c47c
    • Michael J. Spencer's avatar
      db145080
    • Eric Christopher's avatar
      Refactor out the abbreviation handling into a separate class that · c8a310ed
      Eric Christopher authored
      controls each of the abbreviation sets (only a single one at the
      moment) and computes offsets separately as well for each set
      of DIEs.
      
      No real function change, ordering of abbreviations for the skeleton
      CU changed but only because we're computing in a separate order. Fix
      the testcase not to care.
      
      llvm-svn: 169793
      c8a310ed
    • Enrico Granata's avatar
      <rdar://problem/12709976> · e6a6d9ae
      Enrico Granata authored
      Adding a summary for NSError
      
      llvm-svn: 169792
      e6a6d9ae
    • Evan Cheng's avatar
      Some enhancements for memcpy / memset inline expansion. · 79e2ca90
      Evan Cheng authored
      1. Teach it to use overlapping unaligned load / store to copy / set the trailing
         bytes. e.g. On 86, use two pairs of movups / movaps for 17 - 31 byte copies.
      2. Use f64 for memcpy / memset on targets where i64 is not legal but f64 is. e.g.
         x86 and ARM.
      3. When memcpy from a constant string, do *not* replace the load with a constant
         if it's not possible to materialize an integer immediate with a single
         instruction (required a new target hook: TLI.isIntImmLegal()).
      4. Use unaligned load / stores more aggressively if target hooks indicates they
         are "fast".
      5. Update ARM target hooks to use unaligned load / stores. e.g. vld1.8 / vst1.8.
         Also increase the threshold to something reasonable (8 for memset, 4 pairs
         for memcpy).
      
      This significantly improves Dhrystone, up to 50% on ARM iOS devices.
      
      rdar://12760078
      
      llvm-svn: 169791
      79e2ca90
    • Arnold Schwaighofer's avatar
      Optimistically analyse Phi cycles · edd62b14
      Arnold Schwaighofer authored
      Analyse Phis under the starting assumption that they are NoAlias. Recursively
      look at their inputs.
      If they MayAlias/MustAlias there must be an input that makes them so.
      
      Addresses bug 14351.
      
      llvm-svn: 169788
      edd62b14
    • Han Ming Ong's avatar
      <rdar://problem/12850287> · 717c97e8
      Han Ming Ong authored
      When there is XPC connection error, we will report it now.
      
      llvm-svn: 169787
      717c97e8
  2. Dec 10, 2012
Loading