1. Jul 13, 2015
  2. Jul 12, 2015
  3. Jul 11, 2015
    • Renato Golin's avatar
      Revert "[ExecutionEngine] Use std::function rather than a function pointer for... · 9d9be7dd
      Renato Golin authored
      Revert "[ExecutionEngine] Use std::function rather than a function pointer for the LazyFunctionCreator."
      
      This reverts commit r241962, as it was breaking all ARM buildbots.
      
      It also reverts the two subsequent related commits:
      
      r241974: "[ExecutionEngine] Add a static cast to the unittest for r241962 to suppress a warning."
      
      r241973: "[ExecutionEngine] Remove cruft and fix a couple of warnings in the test case for r241962."
      llvm-svn: 241983
      9d9be7dd
    • Hal Finkel's avatar
      Revert "Revert r236894 "[BasicAA] Fix zext & sext handling"" · ef28aad9
      Hal Finkel authored
      r236894 caused PR23626 (Clang miscompiles webkit's base64 decoder), and was
      reverted in r237984. This reapplies the patch with an additional test case for
      PR23626 and the associated fix (both scales and offsets in the
      BasicAliasAnalysis::constantOffsetHeuristic should initially be zero).
      
      Patch by Nick White, thanks!
      
      llvm-svn: 241981
      ef28aad9
    • Hal Finkel's avatar
      Move getStrideFromPointer and friends from LoopVectorize to VectorUtils · 9cf58c40
      Hal Finkel authored
      The following functions are moved from the LoopVectorizer to VectorUtils:
      
        - getGEPInductionOperand
        - stripGetElementPtr
        - getUniqueCastUse
        - getStrideFromPointer
      
      These used to be static functions in LoopVectorize, but will also be used by
      the upcoming loop versioning LICM transformation.
      
      Patch by Ashutosh Nema!
      
      llvm-svn: 241980
      9cf58c40
    • Igor Laevsky's avatar
      Add argmemonly attribute. · 39d662f7
      Igor Laevsky authored
      This change adds new attribute called "argmemonly". Function marked with this attribute can only access memory through it's argument pointers. This attribute directly corresponds to the "OnlyAccessesArgumentPointees" ModRef behaviour in alias analysis.
      
      Differential Revision: http://reviews.llvm.org/D10398
      
      llvm-svn: 241979
      39d662f7