1. Apr 12, 2013
  2. Apr 11, 2013
    • Alexey Samsonov's avatar
      Explicitly list all sanitizer headers in CMake build rules. Make sure... · 9f3938e2
      Alexey Samsonov authored
      Explicitly list all sanitizer headers in CMake build rules. Make sure sanitizer lit_tests depend on fresh headers.
      
      llvm-svn: 179293
      9f3938e2
    • Kostya Serebryany's avatar
      [asan] improve the UAR reporting (try harder to find the correct frame), try... · 1c77de3a
      Kostya Serebryany authored
      [asan] improve the UAR reporting (try harder to find the correct frame), try to make the test more stable
      
      llvm-svn: 179292
      1c77de3a
    • Benjamin Kramer's avatar
      Fix for wrong instcombine on vector insert/extract · a95f8749
      Benjamin Kramer authored
      When trying to collapse sequences of insertelement/extractelement
      instructions into single shuffle instructions, there is one specific
      case where the Instruction Combiner wrongly updates the resulting
      Mask of shuffle indexes.
      
      The problem is in function CollectShuffleElments.
      
      If we have a sequence of insert/extract element instructions
      like the one below:
      
        %tmp1 = extractelement <4 x float> %LHS, i32 0
        %tmp2 = insertelement <4 x float> %RHS, float %tmp1, i32 1
        %tmp3 = extractelement <4 x float> %RHS, i32 2
        %tmp4 = insertelement <4 x float> %tmp2, float %tmp3, i32 3
      
      Where:
        . %RHS will have a mask of [4,5,6,7]
        . %LHS will have a mask of [0,1,2,3]
      
      The Mask of shuffle indexes is wrongly computed to [4,1,6,7]
      instead of [4,0,6,7].
      When analyzing %tmp2 in order to compute the Mask for the
      resulting shuffle instruction, the algorithm forgets to update
      the mask index at position 1 with the index associated to the
      element extracted from %LHS by instruction %tmp1.
      
      Patch by Andrea DiBiagio!
      
      llvm-svn: 179291
      a95f8749
    • Eli Bendersky's avatar
      Add a CHECK-NOT for a more faithful translation of the original grep | count 2. · 0840082c
      Eli Bendersky authored
      Thanks to Reid Kleckner for catching this.
      
      llvm-svn: 179289
      0840082c
    • Evgeniy Stepanov's avatar
      [sanitizer] Syscall hooks. · f5523116
      Evgeniy Stepanov authored
      Pre- and post- hooks for linux syscalls. Not wired into anything, but exposed
      through public interface.
      
      llvm-svn: 179288
      f5523116
    • Daniel Jasper's avatar
      Change clang-format's affinity for breaking after return types. · 6728fc11
      Daniel Jasper authored
      Function declarations are now broken with the following preferences:
      1) break amongst arguments.
      2) break after return type.
      3) break after (.
      4) break before after nested name specifiers.
      
      Options #2 or #3 are preferred over #1 only if a substantial number of
      lines can be saved by that.
      
      llvm-svn: 179287
      6728fc11