SuccessChanges

Summary

  1. [powerpc] Remove XFAIL for sanitizer_coverage_no_prune.cc on powerpc64 This test case works fine on powerpc64 (both BE and LE).
  2. clang-tidy: add IgnoreMacros option to modernize-use-default-member-init Summary: And also enable it by default to be consistent with e.g. modernize-use-using. This helps e.g. when running this check on cppunit client code where the macro is provided by the system, so there is no easy way to modify it. Reviewers: alexfh, malcolm.parsons Reviewed By: malcolm.parsons Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D32945
  3. [clang-format] Convert AlignEscapedNewlinesLeft to an enum, adding DontAlign This converts the clang-format option AlignEscapedNewlinesLeft from a boolean to an enum, named AlignEscapedNewlines, with options Left (prev. true), Right (prev. false), and a new option DontAlign. When set to DontAlign, the backslashes are placed just after the last token in each line: #define EXAMPLE \ do { \ int x = aaaaa; \ int b; \ int dddddddddd; \ } while (0) Patch by jtbandes. Thank you!
  4. [clang-format] Don’t propagate AvoidBinPacking into argument subexpressions This is an attempt to fix the issue described in a recent email: http://lists.llvm.org/pipermail/cfe-dev/2017-April/053632.html Patch by jtbandes. Thank you! Review: https://reviews.llvm.org/D32475
  5. Adding reproducer for pr32967. NFC.
  6. [clang-tidy] Ignore private =deleted methods in macros. modernize-use-equals-delete is extremely noisy in code using DISALLOW_COPY_AND_ASSIGN-style macros and there's no easy way to automatically fix the warning when macros are in play.
  7. [X86][SSE] Improve combineLogicBlendIntoPBLENDV to use general masks. Currently combineLogicBlendIntoPBLENDV can only match ASHR to detect sign splatting of a bit mask, this patch generalises this to use computeNumSignBits instead. This is a first step in several things we can do to improve PBLENDV support: * Better matching of X86ISD::ANDNP patterns. * Handle floating point cases. * Better vector and bitcast support in computeNumSignBits. * Recognise that PBLENDV only uses the sign bit of the mask, we should be able strip away sign splats (ASHR, PCMPGT isNeg tests etc.). Differential Revision: https://reviews.llvm.org/D32953
Revision 302430 by seurer:
[powerpc] Remove XFAIL for sanitizer_coverage_no_prune.cc on powerpc64

This test case works fine on powerpc64 (both BE and LE).
Change TypePath in RepositoryPath in Workspace
The file was modified/compiler-rt/trunk/test/sanitizer_common/TestCases/sanitizer_coverage_no_prune.cc (diff)llvm-revision.src/compiler-rt/trunk/test/sanitizer_common/TestCases/sanitizer_coverage_no_prune.cc
Revision 302429 by vmiklos:
clang-tidy: add IgnoreMacros option to modernize-use-default-member-init

Summary:
And also enable it by default to be consistent with e.g.
modernize-use-using.

This helps e.g. when running this check on cppunit client code where the
macro is provided by the system, so there is no easy way to modify it.

Reviewers: alexfh, malcolm.parsons

Reviewed By: malcolm.parsons

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D32945
Change TypePath in RepositoryPath in Workspace
The file was modified/clang-tools-extra/trunk/clang-tidy/modernize/UseDefaultMemberInitCheck.cpp (diff)llvm-revision.src/clang-tools-extra/trunk/clang-tidy/modernize/UseDefaultMemberInitCheck.cpp
The file was modified/clang-tools-extra/trunk/clang-tidy/modernize/UseDefaultMemberInitCheck.h (diff)llvm-revision.src/clang-tools-extra/trunk/clang-tidy/modernize/UseDefaultMemberInitCheck.h
The file was modified/clang-tools-extra/trunk/clang-tidy/modernize/UseUsingCheck.cpp (diff)llvm-revision.src/clang-tools-extra/trunk/clang-tidy/modernize/UseUsingCheck.cpp
The file was modified/clang-tools-extra/trunk/docs/clang-tidy/checks/modernize-use-default-member-init.rst (diff)llvm-revision.src/clang-tools-extra/trunk/docs/clang-tidy/checks/modernize-use-default-member-init.rst
The file was added/clang-tools-extra/trunk/test/clang-tidy/modernize-use-default-member-init-macros.cppllvm-revision.src/clang-tools-extra/trunk/test/clang-tidy/modernize-use-default-member-init-macros.cpp
The file was modified/clang-tools-extra/trunk/test/clang-tidy/modernize-use-default-member-init.cpp (diff)llvm-revision.src/clang-tools-extra/trunk/test/clang-tidy/modernize-use-default-member-init.cpp
Revision 302428 by djasper:
[clang-format] Convert AlignEscapedNewlinesLeft to an enum, adding
DontAlign

This converts the clang-format option AlignEscapedNewlinesLeft from a
boolean to an enum, named AlignEscapedNewlines, with options Left (prev.
true), Right (prev. false), and a new option DontAlign.

When set to DontAlign, the backslashes are placed just after the last token in each line:
  #define EXAMPLE \
    do { \
        int x = aaaaa; \
        int b; \
        int dddddddddd; \
    } while (0)

Patch by jtbandes. Thank you!
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/docs/ClangFormatStyleOptions.rst (diff)llvm-revision.src/cfe/trunk/docs/ClangFormatStyleOptions.rst
The file was modified/cfe/trunk/include/clang/Format/Format.h (diff)llvm-revision.src/cfe/trunk/include/clang/Format/Format.h
The file was modified/cfe/trunk/lib/Format/Format.cpp (diff)llvm-revision.src/cfe/trunk/lib/Format/Format.cpp
The file was modified/cfe/trunk/lib/Format/WhitespaceManager.cpp (diff)llvm-revision.src/cfe/trunk/lib/Format/WhitespaceManager.cpp
The file was modified/cfe/trunk/unittests/Format/FormatTest.cpp (diff)llvm-revision.src/cfe/trunk/unittests/Format/FormatTest.cpp
The file was modified/cfe/trunk/unittests/Format/FormatTestSelective.cpp (diff)llvm-revision.src/cfe/trunk/unittests/Format/FormatTestSelective.cpp
Revision 302427 by djasper:
[clang-format] Don’t propagate AvoidBinPacking into argument
subexpressions

This is an attempt to fix the issue described in a recent email:
http://lists.llvm.org/pipermail/cfe-dev/2017-April/053632.html

Patch by jtbandes. Thank you!
Review: https://reviews.llvm.org/D32475
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/Format/ContinuationIndenter.cpp (diff)llvm-revision.src/cfe/trunk/lib/Format/ContinuationIndenter.cpp
The file was modified/cfe/trunk/unittests/Format/FormatTest.cpp (diff)llvm-revision.src/cfe/trunk/unittests/Format/FormatTest.cpp
Revision 302426 by zvi:
Adding reproducer for pr32967. NFC.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/CodeGen/X86/vector-shuffle-512-v32.ll (diff)llvm-revision.src/llvm/trunk/test/CodeGen/X86/vector-shuffle-512-v32.ll
Revision 302425 by alexfh:
[clang-tidy] Ignore private =deleted methods in macros.

modernize-use-equals-delete is extremely noisy in code using
DISALLOW_COPY_AND_ASSIGN-style macros and there's no easy way to automatically
fix the warning when macros are in play.
Change TypePath in RepositoryPath in Workspace
The file was modified/clang-tools-extra/trunk/clang-tidy/modernize/UseEqualsDeleteCheck.cpp (diff)llvm-revision.src/clang-tools-extra/trunk/clang-tidy/modernize/UseEqualsDeleteCheck.cpp
The file was modified/clang-tools-extra/trunk/test/clang-tidy/modernize-use-equals-delete.cpp (diff)llvm-revision.src/clang-tools-extra/trunk/test/clang-tidy/modernize-use-equals-delete.cpp
Revision 302424 by rksimon:
[X86][SSE] Improve combineLogicBlendIntoPBLENDV to use general masks.

Currently combineLogicBlendIntoPBLENDV can only match ASHR to detect sign splatting of a bit mask, this patch generalises this to use computeNumSignBits instead.

This is a first step in several things we can do to improve PBLENDV support:

* Better matching of X86ISD::ANDNP patterns.
* Handle floating point cases.
* Better vector and bitcast support in computeNumSignBits.
* Recognise that PBLENDV only uses the sign bit of the mask, we should be able strip away sign splats (ASHR, PCMPGT isNeg tests etc.).

Differential Revision: https://reviews.llvm.org/D32953
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (diff)llvm-revision.src/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
The file was modified/llvm/trunk/test/CodeGen/X86/cast-vsel.ll (diff)llvm-revision.src/llvm/trunk/test/CodeGen/X86/cast-vsel.ll
The file was modified/llvm/trunk/test/CodeGen/X86/pr32907.ll (diff)llvm-revision.src/llvm/trunk/test/CodeGen/X86/pr32907.ll
The file was modified/llvm/trunk/test/CodeGen/X86/vselect-pcmp.ll (diff)llvm-revision.src/llvm/trunk/test/CodeGen/X86/vselect-pcmp.ll