SuccessChanges

Summary

  1. [Attributor] Provide easier checkForallReturnedValues functionality Summary: So far, whenever one wants to look at returned values, one had to deal with the AAReturnedValues and potentially with the AAIsDead attribute. In the same spirit as other checkForAllXXX methods, we add this functionality now to the Attributor. By adopting the use sites we got better results when return instructions were dead. Reviewers: sstefan1, uenoku Subscribers: hiraditya, bollu, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D65733
  2. [llvm-readobj][test] Add baseline tests for FreeBSD/AMD/AMDGPU note printing
  3. Revert Added Delta IR Reduction Tool This reverts r368071 (git commit a2584978f5bb41973d65a145b0d9459b81e3ac6d)
  4. [libc++] Remove temporary hack for D63883 This should fix the build bots, who now specify explicitly that they're building against libc++abi.
  5. [LoopVectorize][X86] Clamp interleave factor if we have a known constant trip count that is less than VF*interleave If we know the trip count, we should make sure the interleave factor won't cause the vectorized loop to exceed it. Improves one of the cases from PR42674 Differential Revision: https://reviews.llvm.org/D65896
  6. Added Delta IR Reduction Tool Summary: Tool parses input IR file, and runs the delta debugging algorithm to reduce the functions inside the input file. Reviewers: alexshap, chandlerc Subscribers: mgorny, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D63672 llvm-svn: 368071
  7. [libc++] Take 3: Do not cleverly link against libc++abi just because it happens to be there Summary: Otherwise, when libcxxabi is not an enabled project in the monorepo, we get a link error because we try to link against non-existent cxxabi_shared. More generally, we shouldn't change the behavior of the build based on implicit things like whether a file happens to be at a specific path or not. This is a re-application of r365222 that had been reverted in r365233 and then r365359 because it broke the build bots. The build bots should now specify explicitly what ABI library they want to use (libc++abi), so this commit should now be OK to merge. It takes a while for build bots to pick up configuration changes, which is why this failed the last time around. Differential Revision: https://reviews.llvm.org/D63883
  8. DebugInfo/DWARF: Remove unused return type from DWARFUnit::extractDIEsIfNeeded
  9. [NFC][LICM] Pre-commit test for unary FNeg support in LICM.
  10. [X86] Allow pack instructions to be used for 512->256 truncates when -mprefer-vector-width=256 is causing 512-bit vectors to be split If we're splitting the 512-bit vector anyway and we have zero/sign bits, then we might as well use pack instructions to concat and truncate at once. Differential Revision: https://reviews.llvm.org/D65904
Revision 368222 by jdoerfert:
[Attributor] Provide easier checkForallReturnedValues functionality

Summary:
So far, whenever one wants to look at returned values, one had to deal
with the AAReturnedValues and potentially with the AAIsDead attribute.
In the same spirit as other checkForAllXXX methods, we add this
functionality now to the Attributor. By adopting the use sites we got
better results when return instructions were dead.

Reviewers: sstefan1, uenoku

Subscribers: hiraditya, bollu, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D65733
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/Transforms/IPO/Attributor.hllvm.src/include/llvm/Transforms/IPO/Attributor.h
The file was modified/llvm/trunk/lib/Transforms/IPO/Attributor.cppllvm.src/lib/Transforms/IPO/Attributor.cpp
The file was modified/llvm/trunk/test/Transforms/FunctionAttrs/arg_nocapture.llllvm.src/test/Transforms/FunctionAttrs/arg_nocapture.ll
The file was modified/llvm/trunk/test/Transforms/FunctionAttrs/arg_returned.llllvm.src/test/Transforms/FunctionAttrs/arg_returned.ll
Revision 368221 by rupprecht:
[llvm-readobj][test] Add baseline tests for FreeBSD/AMD/AMDGPU note printing
Change TypePath in RepositoryPath in Workspace
The file was added/llvm/trunk/test/tools/llvm-readobj/note-amd.sllvm.src/test/tools/llvm-readobj/note-amd.s
The file was added/llvm/trunk/test/tools/llvm-readobj/note-amdgpu.testllvm.src/test/tools/llvm-readobj/note-amdgpu.test
The file was added/llvm/trunk/test/tools/llvm-readobj/note-freebsd.sllvm.src/test/tools/llvm-readobj/note-freebsd.s
Revision 368217 by diegotf30:
Revert Added Delta IR Reduction Tool

This reverts r368071 (git commit a2584978f5bb41973d65a145b0d9459b81e3ac6d)
Change TypePath in RepositoryPath in Workspace
The file was removed/llvm/trunk/docs/BugpointRedesign.mdllvm.src/docs/BugpointRedesign.md
The file was removed/llvm/trunk/test/Reducellvm.src/test/Reduce
The file was modified/llvm/trunk/tools/LLVMBuild.txtllvm.src/tools/LLVMBuild.txt
The file was removed/llvm/trunk/tools/llvm-reducellvm.src/tools/llvm-reduce
Revision 368216 by Louis Dionne:
[libc++] Remove temporary hack for D63883

This should fix the build bots, who now specify explicitly that they're
building against libc++abi.
Change TypePath in RepositoryPath in Workspace
The file was modified/libcxx/trunk/CMakeLists.txtlibcxx.src/CMakeLists.txt
Revision 368215 by ctopper:
[LoopVectorize][X86] Clamp interleave factor if we have a known constant trip count that is less than VF*interleave

If we know the trip count, we should make sure the interleave factor won't cause the vectorized loop to exceed it.

Improves one of the cases from PR42674

Differential Revision: https://reviews.llvm.org/D65896
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cppllvm.src/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modified/llvm/trunk/test/Transforms/LoopVectorize/X86/pr42674.llllvm.src/test/Transforms/LoopVectorize/X86/pr42674.ll
Revision 368214 by diegotf30:
Added Delta IR Reduction Tool

Summary: Tool parses input IR file, and runs the delta debugging algorithm to reduce the functions inside the input file.

Reviewers: alexshap, chandlerc

Subscribers: mgorny, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D63672

llvm-svn: 368071
Change TypePath in RepositoryPath in Workspace
The file was added/llvm/trunk/docs/BugpointRedesign.mdllvm.src/docs/BugpointRedesign.md
The file was added/llvm/trunk/test/Reducellvm.src/test/Reduce
The file was added/llvm/trunk/test/Reduce/Inputsllvm.src/test/Reduce/Inputs
The file was added/llvm/trunk/test/Reduce/Inputs/remove-funcs.shllvm.src/test/Reduce/Inputs/remove-funcs.sh
The file was added/llvm/trunk/test/Reduce/remove-funcs.llllvm.src/test/Reduce/remove-funcs.ll
The file was modified/llvm/trunk/tools/LLVMBuild.txtllvm.src/tools/LLVMBuild.txt
The file was added/llvm/trunk/tools/llvm-reducellvm.src/tools/llvm-reduce
The file was added/llvm/trunk/tools/llvm-reduce/CMakeLists.txtllvm.src/tools/llvm-reduce/CMakeLists.txt
The file was added/llvm/trunk/tools/llvm-reduce/DeltaManager.hllvm.src/tools/llvm-reduce/DeltaManager.h
The file was added/llvm/trunk/tools/llvm-reduce/LLVMBuild.txtllvm.src/tools/llvm-reduce/LLVMBuild.txt
The file was added/llvm/trunk/tools/llvm-reduce/TestRunner.cppllvm.src/tools/llvm-reduce/TestRunner.cpp
The file was added/llvm/trunk/tools/llvm-reduce/TestRunner.hllvm.src/tools/llvm-reduce/TestRunner.h
The file was added/llvm/trunk/tools/llvm-reduce/deltasllvm.src/tools/llvm-reduce/deltas
The file was added/llvm/trunk/tools/llvm-reduce/deltas/Delta.cppllvm.src/tools/llvm-reduce/deltas/Delta.cpp
The file was added/llvm/trunk/tools/llvm-reduce/deltas/Delta.hllvm.src/tools/llvm-reduce/deltas/Delta.h
The file was added/llvm/trunk/tools/llvm-reduce/deltas/ReduceFunctions.cppllvm.src/tools/llvm-reduce/deltas/ReduceFunctions.cpp
The file was added/llvm/trunk/tools/llvm-reduce/deltas/ReduceFunctions.hllvm.src/tools/llvm-reduce/deltas/ReduceFunctions.h
The file was added/llvm/trunk/tools/llvm-reduce/llvm-reduce.cppllvm.src/tools/llvm-reduce/llvm-reduce.cpp
Revision 368213 by Louis Dionne:
[libc++] Take 3: Do not cleverly link against libc++abi just because it happens to be there

Summary:
Otherwise, when libcxxabi is not an enabled project in the monorepo, we
get a link error because we try to link against non-existent cxxabi_shared.

More generally, we shouldn't change the behavior of the build based on
implicit things like whether a file happens to be at a specific path or
not.

This is a re-application of r365222 that had been reverted in r365233
and then r365359 because it broke the build bots. The build bots
should now specify explicitly what ABI library they want to use
(libc++abi), so this commit should now be OK to merge. It takes a while
for build bots to pick up configuration changes, which is why this failed
the last time around.

Differential Revision: https://reviews.llvm.org/D63883
Change TypePath in RepositoryPath in Workspace
The file was modified/libcxx/trunk/CMakeLists.txtlibcxx.src/CMakeLists.txt
The file was modified/libcxx/trunk/cmake/Modules/HandleLibCXXABI.cmakelibcxx.src/cmake/Modules/HandleLibCXXABI.cmake
Revision 368212 by dblaikie:
DebugInfo/DWARF: Remove unused return type from DWARFUnit::extractDIEsIfNeeded
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFUnit.hllvm.src/include/llvm/DebugInfo/DWARF/DWARFUnit.h
The file was modified/llvm/trunk/lib/DebugInfo/DWARF/DWARFUnit.cppllvm.src/lib/DebugInfo/DWARF/DWARFUnit.cpp
Revision 368211 by mcinally:
[NFC][LICM] Pre-commit test for unary FNeg support in LICM.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/Transforms/LICM/hoisting.llllvm.src/test/Transforms/LICM/hoisting.ll
Revision 368210 by ctopper:
[X86] Allow pack instructions to be used for 512->256 truncates when -mprefer-vector-width=256 is causing 512-bit vectors to be split

If we're splitting the 512-bit vector anyway and we have zero/sign bits, then we might as well use pack instructions to concat and truncate at once.

Differential Revision: https://reviews.llvm.org/D65904
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/X86/X86ISelLowering.cppllvm.src/lib/Target/X86/X86ISelLowering.cpp
The file was modified/llvm/trunk/test/CodeGen/X86/min-legal-vector-width.llllvm.src/test/CodeGen/X86/min-legal-vector-width.ll