Skip to content
  1. May 07, 2016
    • Paul Osmialowski's avatar
      Fine tuning of TC* macros · 52bef53f
      Paul Osmialowski authored
      This patch introduces following:
      * TCI_* and TCD_* macros for incrementation and decrementation
      * Fix for invalid use of TCR_8 in one expression
      
      Differential Revision: http://reviews.llvm.org/D19880
      
      llvm-svn: 268826
      52bef53f
    • Bruno Cardoso Lopes's avatar
      [CrashReproducer] Always use realpath for destination · 0df3e044
      Bruno Cardoso Lopes authored
      When running reproducer scripts we need that original symlinks from the
      source filesystem are reproduced in the VFS so that different virtual
      paths can map to the same file, allowing the FileManager to share the
      same UID between these virtual entries. This avoids all sorts of module
      redefinition errors when using frameworks.
      
      llvm-svn: 268825
      0df3e044
    • Kostya Serebryany's avatar
      [libFuzzer] modify the docs for startup/init · ceca476b
      Kostya Serebryany authored
      llvm-svn: 268824
      ceca476b
    • Jim Ingham's avatar
      Fix the way the ShouldStopHere checker handles the general case of "stepping... · 9b8eb155
      Jim Ingham authored
      Fix the way the ShouldStopHere checker handles the general case of "stepping through line 0 code".  
      That's good 'cause it means all the different kinds of source line stepping won't leave user in the middle of
      compiler implementation code or code inlined from odd places, etc.  But it turns out that the compiler
      also marks functions it MIGHT inline as all being of line 0.  That would mean we single step through this code
      instead of just stepping out.  That is both inefficient, and more error prone 'cause these little nuggets tend
      to be bits of hand-written assembly and the like and are hard to step through.
      
      This change just checks and if the entire function is marked with line 0, we step out rather than step through.
      
      <rdar://problem/25966460>
      
      llvm-svn: 268823
      9b8eb155
    • Kostya Serebryany's avatar
      [libFuzzer] tweak the documentation about rss_limit · 1ed1aeaa
      Kostya Serebryany authored
      llvm-svn: 268822
      1ed1aeaa
    • Kostya Serebryany's avatar
    • Bruno Cardoso Lopes's avatar
      [VFS] Add dump methods to the VFS overlay tree · b2e2e21b
      Bruno Cardoso Lopes authored
      Useful when debugging issues within the VFS overlay.
      
      llvm-svn: 268820
      b2e2e21b
    • Bruno Cardoso Lopes's avatar
      [CrashReproducer] Change module map callback signature. NFC · f0841790
      Bruno Cardoso Lopes authored
      Use a StringRef instead of a FileEntry in the moduleMapAddHeader
      callback to allow more flexibility on what to collect on further
      patches. This changes the interface I introduced in r264971.
      
      llvm-svn: 268819
      f0841790
    • Rong Xu's avatar
      [PGO] Use rsplit to parse value-data line in text profile file. · 35723644
      Rong Xu authored
      The value-data line is <PGOFuncName>:<Count_Value>. PGOFuncName might contain
      ':' for the internal linkage functions. We therefore need to use rsplit,
      rather split, to extract the data from the line. This fixes the error when
      merging a text profile file to an indexed profile file.
      
      llvm-svn: 268818
      35723644
    • Richard Smith's avatar
      [modules] Attempt to improve performance for declaration merging without a Sema · 10379099
      Richard Smith authored
      object in C. Rather than using the DeclContext (which is very slow because it
      triggers us to build a lookup table for the DeclContext), use a separate map
      from identifiers to decls for this case, containing only the ones we've
      actually deserialized. For convenience, this map is implemented as an
      IdentifierResolver.
      
      llvm-svn: 268817
      10379099
    • Adrian Prantl's avatar
      Implement a safer bitcode upgrade for DISubprogram. · 85338cbd
      Adrian Prantl authored
      The bitcode upgrade I added for DISubprogram in r266446 was based on the
      assumption that the CU node for the subprogram was already materialized by the
      time the DISubprogram is visited. This assumption may not hold true as future
      versions of LLVM may decide to write out bitcode in a different order. This
      patch corrects this by introducing a versioning bit next to the distinct flag to
      unambiguously differentiate the new from the old record layouts.
      
      Note for people stabilizing LLVM out-of-tree: This patch introduces a bitcode
      incompatibility with llvm trunk revisions from r266446 — this commit. (But
      D19987 will ensure that it degrades gracefully).
      
      http://reviews.llvm.org/D20004
      rdar://problem/26074194
      
      llvm-svn: 268816
      85338cbd
    • Matthias Braun's avatar
      DetectDeadLanes: Increase precision when detecting undef inputs · 22152acf
      Matthias Braun authored
      In case of COPY-like instruction we may be able to deduce that a certain
      input is unused, based on the used lanes of the register defined by the
      instruction.
      This even works accross otherwise incompatible copies (no need to have
      compatible lanemasks, completely unused operands are still completely
      unused). It even makes sense to redo the analysis in this case since we
      gained information for a case we previously stopped at because of the
      incompatible masks.
      
      llvm-svn: 268815
      22152acf
    • Matthias Braun's avatar
      DetectDeadLanes: Cleanup, assert on some impossible cases. · 8f429ead
      Matthias Braun authored
      llvm-svn: 268814
      8f429ead
    • Zachary Turner's avatar
      Drop error when trying to fallback from PDB to DWARF. · 5d105a97
      Zachary Turner authored
      llvm-svn: 268813
      5d105a97
    • Justin Bogner's avatar
      cmake: Avoid continue, apparently that's new · 658c0a21
      Justin Bogner authored
      llvm-svn: 268812
      658c0a21
    • Simon Pilgrim's avatar
      [SLPVectorizer][X86] Regenerated SEXT/ZEXT cast vectorization tests · 45964c37
      Simon Pilgrim authored
      Added 256-bit vector test as well
      
      llvm-svn: 268811
      45964c37
    • Weiming Zhao's avatar
      [ARM] Fix Scavenger assert due to underestimated stack size · 74f12d31
      Weiming Zhao authored
      (this is resubmit of r268529 with minor refactoring. r268529 was reverted
       at r268536 due a memory sanitizer failure.  I have not been able to
       reproduce that failure and I checked all the variable used in my change
       but I could not spot an issue. I did some refactoring and see if it will
       give a clearer hint)
      
      Summary:
      Currently, when checking if a stack is "BigStack" or not, it doesn't count into spills and arguments. Therefore, LLVM won't reserve spill slot for this actually "BigStack". This may cause scavenger failure.
      
      Reviewers: rengolin
      
      Subscribers: vitalybuka, aemerson, rengolin, tberghammer, danalbert, srhines, llvm-commits
      
      Differential Revision: http://reviews.llvm.org/D19896
      
      llvm-svn: 268810
      74f12d31
    • Philip Reames's avatar
      Reapply 267210 with fix for PR27490 · 6f4d0088
      Philip Reames authored
      Original Commit Message
      Extend load/store type canonicalization to handle unordered operations
      
      Extend the type canonicalization logic to work for unordered atomic loads and stores.  Note that while this change itself is fairly simple and low risk, there's a reasonable chance this will expose problems in the backends by suddenly generating IR they wouldn't have seen before.  Anything of this nature will be an existing bug in the backend (you could write an atomic float load), but this will definitely change the frequency with which such cases are encountered.  If you see problems, feel free to revert this change, but please make sure you collect a test case. 
      
      Note that the concern about lowering is now much less likely.  PR27490 proved that we already *were* mucking with the types of ordered atomics and volatiles.  As a result, this change doesn't introduce as much new behavior as originally thought.
      
      llvm-svn: 268809
      6f4d0088
    • Zachary Turner's avatar
      Make llvm-pdbdump print CV type records · 5a1b5ef9
      Zachary Turner authored
      This reuses the CVTypeDumper from libcodeview to dump full
      information about type records within a PDB file.
      
      Differential Revision: http://reviews.llvm.org/D20022
      Reviewed By: rnk
      
      llvm-svn: 268808
      5a1b5ef9
  2. May 06, 2016
Loading