1. Sep 08, 2015
  2. Sep 07, 2015
  3. Sep 06, 2015
    • Simon Pilgrim's avatar
      [X86]][SSE3] Added SSE3 IR + assembly codegen builtin tests · 8391ac70
      Simon Pilgrim authored
      llvm-svn: 246945
      8391ac70
    • Simon Pilgrim's avatar
      [X86]][SSE42] Added SSE42 IR + assembly codegen builtin tests · de06f318
      Simon Pilgrim authored
      llvm-svn: 246944
      de06f318
    • Simon Pilgrim's avatar
      [X86][AVX512] Added 512-bit vector shift tests. · b38c09d7
      Simon Pilgrim authored
      Only works for avx512f (dq) targets so far - need to add avx512bw tests once char/short shifts are supported.
      
      llvm-svn: 246943
      b38c09d7
    • Tobias Grosser's avatar
      Drop alias metadata in checks of RuntimeDebugBuilder test · 12e650d6
      Tobias Grosser authored
      Our alias metadata is currently not emitted in a deterministic order. As it
      is not needed in this test, we just drop it for now (but keep in mind to fix
      this).
      
      llvm-svn: 246942
      12e650d6
    • Tobias Grosser's avatar
      Add option -polly-codegen-add-debug-printing · 86bc93a9
      Tobias Grosser authored
      When this option is enabled, Polly will emit printf calls for each scalar
      load/and store which dump the scalar value loaded/stored at run time.
      
      This patch also refactors the RuntimeDebugBuilder to use variadic templates
      when generating CPU printfs. As result, it now becomes easier to print
      strings that consist of a set of arguments. Also, as a single printf
      call is emitted, it is more likely for such strings to be emitted atomically
      if executed multi-threaded.
      
      llvm-svn: 246941
      86bc93a9
    • Tobias Grosser's avatar
      RuntimeDebugPrinter: Simplify code [NFC] · e58d3581
      Tobias Grosser authored
      llvm-svn: 246940
      e58d3581
    • David Majnemer's avatar
      [InstCombine] Don't divide by zero when evaluating a potential transform · 135ca40a
      David Majnemer authored
      Trivial multiplication by zero may survive the worklist.  We tried to
      reassociate the multiplication with a division instruction, causing us
      to divide by zero; bail out instead.
      
      This fixes PR24726.
      
      llvm-svn: 246939
      135ca40a
    • Hal Finkel's avatar
      [SelectionDAG] Swap commutative binops before constant-based folding · 10aac5fd
      Hal Finkel authored
      In searching for a fix for the underlying code-quality bug highlighted by
      r246937 (that SDAG simplification can lead to us generating an ISD::OR node
      with a constant zero LHS), I ran across this:
      
      We generically canonicalize commutative binary-operation nodes in SDAG getNode
      so that, if only one operand is a constant, it will be on the RHS.  However, we
      were doing this only after a bunch of constant-based simplification checks that
      all assume this canonical form (that any constant will be on the RHS). Moving
      the operand-swapping canonicalization prior to these checks seems like the
      right thing to do (and, as it turns out, causes SDAG to completely fold away the
      computation in test/CodeGen/ARM/2012-11-14-subs_carry.ll, just like InstCombine
      would do).
      
      llvm-svn: 246938
      10aac5fd
    • Hal Finkel's avatar
      [PowerPC] Don't commute trivial rlwimi instructions · ccf9259c
      Hal Finkel authored
      To commute a trivial rlwimi instructions (meaning one with a full mask and zero
      shift), we'd need to ability to form an all-zero mask (instead of an all-one
      mask) using rlwimi. We can't represent this, however, and we'll miscompile code
      if we try.
      
      The code quality problem that this highlights (that SDAG simplification can
      lead to us generating an ISD::OR node with a constant zero LHS) will be fixed
      as a follow-up.
      
      Fixes PR24719.
      
      llvm-svn: 246937
      ccf9259c
    • Craig Topper's avatar
      [TableGen] Use make_unique. NFC. · 1c8fbd24
      Craig Topper authored
      llvm-svn: 246936
      1c8fbd24