SuccessChanges

Summary

  1. [Polly][PM] Register polly passes with the opt tool for the new-pm path Summary: When polly is linked into the tools because of the LLVM_POLLY_LINK_INTO_TOOLS option being set, we need to register its passes with the PassBuilder. Because polly is linked in, we can directly call its callback registration method, which registers the appropriate callbacks with the new PM's PassBuilder. This essentially follows exactly the way it worked with the legacy PM. Reviewers: grosser, chandlerc, bollu Reviewed By: grosser Subscribers: pollydev, llvm-commits Differential Revision: https://reviews.llvm.org/D36273
  2. Fix typo and update documentation. The hasDeclaration documentation was outdated after r288366.
  3. [mips] Fix typo (missed space) in the warning message
  4. [mips] Code formatting fix. NFC
  5. [clang-tidy] Support initializer-list constructor cases in modernize-make-unique. Reviewers: alexfh Reviewed By: alexfh Subscribers: malcolm.parsons, JDevlieghere, xazax.hun, cfe-commits Differential Revision: https://reviews.llvm.org/D36016
  6. Do not declare a variable which is used only in assert. NFC
  7. [msan] Switch the pvalloc overflow test to a lit test The test was not passing on targets where allocator_may_return_null defaults to true. Change the test to a lit test so that we can test both situations. Patch by Kostya Kortchinsky! Differential Revision: https://reviews.llvm.org/D36302
  8. [IRCE] Handle loops with step different from 1/-1 This patch generalizes IRCE to handle IV steps that are not equal to 1 or -1. Differential Revision: https://reviews.llvm.org/D35539
  9. [AMDGPU] Preserve inverted bit in SI_IF in presence of SI_KILL In case if SI_KILL is in between of the SI_IF and SI_END_CF we need to preserve the bits actually flipped by if rather then restoring the original mask. Differential Revision: https://reviews.llvm.org/D36299
  10. Revert r309984, "Use "foo-12345.o" instead of "foo.o-12345" as temporary file name." It generates MODULE-XXXXXXXXXXXX-%%%%%%%%.pcm, then GlobalModuleIndex.cpp is confused with the suffix ".pcm"
  11. Avoid comparison between signed and unsigned in SCEVExitLimitForget tests
  12. [AVR] Update target machine to use new constructor parameters The required parameters were changed in r309911.
  13. [IRCE] Recognize loops with unsigned latch conditions This patch enables recognition of loops with ult/ugt latch conditions. Differential Revision: https://reviews.llvm.org/D35302
  14. Revert "[llvm][llvm-objcopy] Added support for outputting to binary in llvm-objcopy" This breaks the build on clang-s390x-linux. This reverts commit r310018.
  15. [InstCombine] Move the call to foldSelectICmpAnd into foldSelectInstWithICmp. NFCI
  16. [InstCombine] Remove unnecessary casts. NFC We're calling an overload of getOpcode that already returns Instruction::CastOps.
  17. Fix SCEVExitLimitForget tests to make Sanitizer happy
  18. Prevent unused warning in non-assert builds (introduced in r310014).
Revision 310043 by pfaffe:
[Polly][PM] Register polly passes with the opt tool for the new-pm path

Summary: When polly is linked into the tools because of the LLVM_POLLY_LINK_INTO_TOOLS option being set, we need to register its passes with the PassBuilder. Because polly is linked in, we can directly call its callback registration method, which registers the appropriate callbacks with the new PM's PassBuilder. This essentially follows exactly the way it worked with the legacy PM.

Reviewers: grosser, chandlerc, bollu

Reviewed By: grosser

Subscribers: pollydev, llvm-commits

Differential Revision: https://reviews.llvm.org/D36273
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/tools/opt/NewPMDriver.cppllvm.src/tools/opt/NewPMDriver.cpp
Revision 310041 by klimek:
Fix typo and update documentation.

The hasDeclaration documentation was outdated after r288366.
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/include/clang/ASTMatchers/ASTMatchers.hclang.src/include/clang/ASTMatchers/ASTMatchers.h
Revision 310038 by atanasyan:
[mips] Fix typo (missed space) in the warning message
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/include/clang/Basic/DiagnosticDriverKinds.tdclang.src/include/clang/Basic/DiagnosticDriverKinds.td
The file was modified/cfe/trunk/test/Driver/mips-gpopt-warning.cclang.src/test/Driver/mips-gpopt-warning.c
Revision 310037 by atanasyan:
[mips] Code formatting fix. NFC
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/Driver/ToolChains/Arch/Mips.cppclang.src/lib/Driver/ToolChains/Arch/Mips.cpp
Revision 310035 by hokein:
[clang-tidy] Support initializer-list constructor cases in modernize-make-unique.

Reviewers: alexfh

Reviewed By: alexfh

Subscribers: malcolm.parsons, JDevlieghere, xazax.hun, cfe-commits

Differential Revision: https://reviews.llvm.org/D36016
Change TypePath in RepositoryPath in Workspace
The file was modified/clang-tools-extra/trunk/clang-tidy/modernize/MakeSmartPtrCheck.cppclang-tools-extra.src/clang-tidy/modernize/MakeSmartPtrCheck.cpp
The file was added/clang-tools-extra/trunk/test/clang-tidy/Inputs/modernize-smart-ptr/initializer_list.hclang-tools-extra.src/test/clang-tidy/Inputs/modernize-smart-ptr/initializer_list.h
The file was modified/clang-tools-extra/trunk/test/clang-tidy/modernize-make-unique.cppclang-tools-extra.src/test/clang-tidy/modernize-make-unique.cpp
Revision 310034 by mkazantsev:
Do not declare a variable which is used only in assert. NFC
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Transforms/Scalar/InductiveRangeCheckElimination.cppllvm.src/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
Revision 310033 by d0k:
[msan] Switch the pvalloc overflow test to a lit test

The test was not passing on targets where allocator_may_return_null
defaults to true. Change the test to a lit test so that we can test both
situations.

Patch by Kostya Kortchinsky!

Differential Revision: https://reviews.llvm.org/D36302
Change TypePath in RepositoryPath in Workspace
The file was modified/compiler-rt/trunk/lib/msan/tests/msan_test.cccompiler-rt.src/lib/msan/tests/msan_test.cc
The file was added/compiler-rt/trunk/test/msan/pvalloc.cccompiler-rt.src/test/msan/pvalloc.cc
Revision 310032 by mkazantsev:
[IRCE] Handle loops with step different from 1/-1

This patch generalizes IRCE to handle IV steps that are not equal to 1 or -1.

Differential Revision: https://reviews.llvm.org/D35539
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Transforms/Scalar/InductiveRangeCheckElimination.cppllvm.src/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
The file was added/llvm/trunk/test/Transforms/IRCE/stride_more_than_1.llllvm.src/test/Transforms/IRCE/stride_more_than_1.ll
Revision 310031 by rampitec:
[AMDGPU] Preserve inverted bit in SI_IF in presence of SI_KILL

In case if SI_KILL is in between of the SI_IF and SI_END_CF we need
to preserve the bits actually flipped by if rather then restoring
the original mask.

Differential Revision: https://reviews.llvm.org/D36299
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/AMDGPU/SILowerControlFlow.cppllvm.src/lib/Target/AMDGPU/SILowerControlFlow.cpp
The file was added/llvm/trunk/test/CodeGen/AMDGPU/si-lower-control-flow-kill.llllvm.src/test/CodeGen/AMDGPU/si-lower-control-flow-kill.ll
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/skip-if-dead.llllvm.src/test/CodeGen/AMDGPU/skip-if-dead.ll
Revision 310030 by chapuni:
Revert r309984, "Use "foo-12345.o" instead of "foo.o-12345" as temporary file name."

It generates MODULE-XXXXXXXXXXXX-%%%%%%%%.pcm, then GlobalModuleIndex.cpp is confused with the suffix ".pcm"
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/Frontend/CompilerInstance.cppclang.src/lib/Frontend/CompilerInstance.cpp
Revision 310029 by mkazantsev:
Avoid comparison between signed and unsigned in SCEVExitLimitForget tests
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/unittests/Analysis/ScalarEvolutionTest.cppllvm.src/unittests/Analysis/ScalarEvolutionTest.cpp
Revision 310028 by dylanmckay:
[AVR] Update target machine to use new constructor parameters

The required parameters were changed in r309911.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/AVR/AVRTargetMachine.cppllvm.src/lib/Target/AVR/AVRTargetMachine.cpp
The file was modified/llvm/trunk/lib/Target/AVR/AVRTargetMachine.hllvm.src/lib/Target/AVR/AVRTargetMachine.h
Revision 310027 by mkazantsev:
[IRCE] Recognize loops with unsigned latch conditions

This patch enables recognition of loops with ult/ugt latch conditions.

Differential Revision: https://reviews.llvm.org/D35302
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Transforms/Scalar/InductiveRangeCheckElimination.cppllvm.src/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
The file was modified/llvm/trunk/test/Transforms/IRCE/eq_ne.llllvm.src/test/Transforms/IRCE/eq_ne.ll
The file was added/llvm/trunk/test/Transforms/IRCE/unsigned_comparisons_ugt.llllvm.src/test/Transforms/IRCE/unsigned_comparisons_ugt.ll
The file was added/llvm/trunk/test/Transforms/IRCE/unsigned_comparisons_ult.llllvm.src/test/Transforms/IRCE/unsigned_comparisons_ult.ll
Revision 310026 by phosek:
Revert "[llvm][llvm-objcopy] Added support for outputting to binary in llvm-objcopy"

This breaks the build on clang-s390x-linux.

This reverts commit r310018.
Change TypePath in RepositoryPath in Workspace
The file was removed/llvm/trunk/test/tools/llvm-objcopy/basic-align-copy.testllvm.src/test/tools/llvm-objcopy/basic-align-copy.test
The file was removed/llvm/trunk/test/tools/llvm-objcopy/basic-binary-copy.testllvm.src/test/tools/llvm-objcopy/basic-binary-copy.test
The file was modified/llvm/trunk/tools/llvm-objcopy/LLVMBuild.txtllvm.src/tools/llvm-objcopy/LLVMBuild.txt
The file was modified/llvm/trunk/tools/llvm-objcopy/Object.cppllvm.src/tools/llvm-objcopy/Object.cpp
The file was modified/llvm/trunk/tools/llvm-objcopy/Object.hllvm.src/tools/llvm-objcopy/Object.h
The file was modified/llvm/trunk/tools/llvm-objcopy/llvm-objcopy.cppllvm.src/tools/llvm-objcopy/llvm-objcopy.cpp
Revision 310025 by ctopper:
[InstCombine] Move the call to foldSelectICmpAnd into foldSelectInstWithICmp. NFCI
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Transforms/InstCombine/InstCombineSelect.cppllvm.src/lib/Transforms/InstCombine/InstCombineSelect.cpp
Revision 310024 by ctopper:
[InstCombine] Remove unnecessary casts. NFC

We're calling an overload of getOpcode that already returns Instruction::CastOps.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Transforms/InstCombine/InstCombineCasts.cppllvm.src/lib/Transforms/InstCombine/InstCombineCasts.cpp
Revision 310023 by mkazantsev:
Fix SCEVExitLimitForget tests to make Sanitizer happy
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/unittests/Analysis/ScalarEvolutionTest.cppllvm.src/unittests/Analysis/ScalarEvolutionTest.cpp
Revision 310022 by djasper:
Prevent unused warning in non-assert builds (introduced in r310014).
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/IR/DIBuilder.cppllvm.src/lib/IR/DIBuilder.cpp