Skip to content
  1. Dec 10, 2012
  2. Dec 09, 2012
  3. Dec 08, 2012
    • Craig Topper's avatar
      Teach DAG combine to handle vector logical operations with vectors of all 1s... · a183ddb0
      Craig Topper authored
      Teach DAG combine to handle vector logical operations with vectors of all 1s or all 0s. These cases can show up when vectors are split for legalizing. Fix some tests that were dependent on these cases not being combined.
      
      llvm-svn: 169684
      a183ddb0
    • Chandler Carruth's avatar
      Revert the patches adding a popcount loop idiom recognition pass. · 91e47532
      Chandler Carruth authored
      There are still bugs in this pass, as well as other issues that are
      being worked on, but the bugs are crashers that occur pretty easily in
      the wild. Test cases have been sent to the original commit's review
      thread.
      
      This reverts the commits:
        r169671: Fix a logic error.
        r169604: Move the popcnt tests to an X86 subdirectory.
        r168931: Initial commit adding the pass.
      
      llvm-svn: 169683
      91e47532
    • Benjamin Kramer's avatar
      Escape % in the TextDiagnosticBuffer so they aren't interpreted twice when fed... · 2fec65d3
      Benjamin Kramer authored
      Escape % in the TextDiagnosticBuffer so they aren't interpreted twice when fed into the diagnostic formatting machinery again.
      
      Fixes PR14543.
      
      llvm-svn: 169677
      2fec65d3
    • Benjamin Kramer's avatar
      Simplify code. Sort includes. No functionality change. · f242d8c3
      Benjamin Kramer authored
      llvm-svn: 169676
      f242d8c3
    • David Chisnall's avatar
      long double should be 64 bits on FreeBSD/MIPS64. It possibly should be on · a87d8599
      David Chisnall authored
      Linux too, as I think we inherited it from there.  The ABI spec says 128-bit,
      although I think SGI's compiler on IRIX may be the only thing ever to support
      this.
      
      llvm-svn: 169674
      a87d8599
    • Richard Smith's avatar
      Finish implementing 'selected constructor' rules for triviality in C++11. In · 6b02d46d
      Richard Smith authored
      the cases where we can't determine whether special members would be trivial
      while building the class, we eagerly declare those special members. The impact
      of this is bounded, since it does not trigger implicit declarations of special
      members in classes which merely *use* those classes.
      
      In order to determine whether we need to apply this rule, we also need to
      eagerly declare move operations and destructors in cases where they might be
      deleted. If a move operation were supposed to be deleted, it would instead
      be suppressed, and we could need overload resolution to determine if we fall
      back to a trivial copy operation. If a destructor were implicitly deleted,
      it would cause the move constructor of any derived classes to be suppressed.
      
      As discussed on cxx-abi-dev, C++11's selected constructor rules are also
      retroactively applied as a defect resolution in C++03 mode, in order to
      identify that class B has a non-trivial copy constructor (since it calls
      A's constructor template, not A's copy constructor):
      
      struct A { template<typename T> A(T &); };
      struct B { mutable A a; };
      
      llvm-svn: 169673
      6b02d46d
    • Logan Chien's avatar
      Fix Windows build breakage. · 6ebca4be
      Logan Chien authored
      Windows does not have <stdint.h>, should include
      "llvm/Support/DataTypes.h" instead.
      
      llvm-svn: 169672
      6ebca4be
    • Shuxin Yang's avatar
      Fix an inadvertent typo error. · 9c5c9764
      Shuxin Yang authored
      llvm-svn: 169671
      9c5c9764
Loading