Skip to content
  1. Dec 21, 2015
  2. Dec 20, 2015
    • Craig Topper's avatar
      [X86] Use range-based for loop. NFC · ca66fc54
      Craig Topper authored
      llvm-svn: 256127
      ca66fc54
    • Craig Topper's avatar
      [X86] Prevent constant hoisting for a couple compare immediates that the... · 074e8452
      Craig Topper authored
      [X86] Prevent constant hoisting for a couple compare immediates that the selection DAG knows how to optimize into a shift.
      
      This allows "icmp ugt %a, 4294967295" and "icmp uge %a, 4294967296" to be optimized into right shifts by 32 which can fold the immediate into the shift instruction. These patterns show up with some regularity in real code.
      
      Unfortunately, since getImmCost can't see the icmp predicate we can't be tell if we're only catching these specific cases.
      
      llvm-svn: 256126
      074e8452
    • Dylan McKay's avatar
      Add AVR.td and AVRRegisterInfo.td · 029346f4
      Dylan McKay authored
      Summary:
      This adds the core AVR TableGen file, along with the register descriptions.
      
      Lines in AVR.td which require other TableGen files which haven't been committed
      yet are commented out.
      
      This is a fairly trivial patch, and should only require a quick review.
      
      I kept the line width smaller than 80 columns, but there are a few exceptions
      because I'm not sure how to split a string over several lines.
      
      Reviewers: stoklund
      
      Subscribers: dylanmckay, agnat
      
      Differential Revision: http://reviews.llvm.org/D14684
      
      llvm-svn: 256120
      029346f4
    • Davide Italiano's avatar
      [llvm-objdump] Move COFF function to where it belongs. · e85abf72
      Davide Italiano authored
      Ideally much more stuff should be moved out of llvm-objdump.cpp, but that
      will happen later.
      
      llvm-svn: 256118
      e85abf72
    • Xinliang David Li's avatar
      Fix a bug in test case -- duplicate entries · 242ad0ad
      Xinliang David Li authored
      llvm-svn: 256117
      242ad0ad
    • Xinliang David Li's avatar
      Fix a latent UAF bug in profwriter · 60057288
      Xinliang David Li authored
      llvm-svn: 256116
      60057288
    • Weiming Zhao's avatar
      Fix mapping of @llvm.arm.ssat/usat intrinsics to ssat/usat instructions for Thumb2 · 613c6862
      Weiming Zhao authored
      Summary:
      r250697 fixed the mapping for ARM mode. We have to do the same for Thumb2 otherwise the same llvm.arm.ssat() will generate different saturating amount for ARM and Thumb.
      
      r250697: http://reviews.llvm.org/rL250697
      
      Reviewers: rmaprath
      
      Subscribers: aemerson, llvm-commits, rengolin
      
      Differential Revision: http://reviews.llvm.org/D15653
      
      llvm-svn: 256115
      613c6862
    • Xinliang David Li's avatar
      [PGO] Improve Indexed Profile Reader efficiency · a716cc5c
      Xinliang David Li authored
      With the support of value profiling added, the Indexed prof
      reader gets less efficient. The prof reader initialization
      used to be just reading the file header, but with VP support
      added, initialization needs to walk through all profile keys
      of ondisk hash table resulting in very poor locality and large
      memory increase (keys are stored together with the profile data
      in the mapped profile buffer). Even worse, when the reader is 
      used by the compiler (not llvm-profdata too), the penalty becomes
      very high as compilation of each single module requires touching
      profile data buffer for the whole program. 
      
      In this patch, the icall target values (MD5hash) are no longer eargerly 
      converted back to name strings when the data is read into memory. New
      interface is added to to profile reader so that InstrProfSymtab can be
      lazily created for Indexed profile reader on-demand. Creating of the 
      symtab is intended to be used by llvm-profdata tool for symbolic dumping
      of  VP data. It can be used with compiler (for legacy out of tree uses)
      too but not recommended due to compile time and memory reasons 
      mentioned above.
      
      Some other cleanups are also included: Function Addr to md5 map is now
      consolated into InstrProfSymtab. InstrProfStringtab is no longer used and
      eliminated.
      
      llvm-svn: 256114
      a716cc5c
    • Xinliang David Li's avatar
      5c24da5d
    • NAKAMURA Takumi's avatar
      Revert r219171, "llvm/test/lit.cfg: Suppress dwarf stuff for targeting... · 68369b1c
      NAKAMURA Takumi authored
      Revert r219171, "llvm/test/lit.cfg: Suppress dwarf stuff for targeting x86_64-mingw32 while investigating since r219108."
      
      It has been fixed since r219280 by David Majnemer.
      
      llvm-svn: 256112
      68369b1c
  3. Dec 19, 2015
Loading