SuccessChanges

Summary

  1. [Attributor][NFC] Re-run clang-format on the Attributor.cpp
  2. [Attributor] Deduce "dereferenceable" attribute Summary: Deduce dereferenceable attribute in Attributor. These will be added in a later patch. * dereferenceable(_or_null)_globally (D61652) * Deduction based on load instruction (similar to D64258) Reviewers: jdoerfert, sstefan1 Reviewed By: jdoerfert Subscribers: hiraditya, jfb, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D64876
  3. [llvm-objcopy] Allow strip symtab in executables and DSOs Re-commit of the patch after addressing -Wl,--emit-relocs case. Differential revision: https://reviews.llvm.org/D61672
  4. Fix gold-plugin Windows build r365588 missed one instance of integer file descriptor use in gold-plugin.cpp.
  5. [yaml2elf] - Treat the SHN_UNDEF section as kind of regular section. We have a logic that adds a few sections implicitly. Though the SHT_NULL section with section number 0 is an exception. In D64913 I want to teach yaml2obj to redefine the null section. And in this patch I add it to the sections list, to make it kind of a regular section. Differential revision: https://reviews.llvm.org/D65087
  6. [CrossTU] Added CTU argument to diagnostic consumer create fn. Summary: The PListDiagnosticConsumer needs a new CTU parameter that is passed through the create functions. Reviewers: NoQ, Szelethus, xazax.hun, martong Reviewed By: Szelethus Subscribers: rnkovacs, dkrupp, Szelethus, gamesh411, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D64635
  7. [AMDGPU][NFC] Simplify test file for amdgcn intrinsics Summary: Remove unchecked attribute in the call site and use FileCheck String Substitution for `convergent` check. Reviewers: nhaehnle Reviewed By: nhaehnle Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D64901
  8. [DAGCombiner] Make ShrinkLoadReplaceStoreWithStore return an SDValue instead of an SDNode*. NFCI The function was calling getNode() on an SDValue to return and the caller turned the result back into a SDValue. So just return the original SDValue to avoid this.
  9. [DAGCombiner] Use SDNode::isOperandOf to simplify some code. NFCI
  10. [LLVM-C] Improve Bindings to The Internalize Pass Summary: Adds a binding to the internalize pass that allows the caller to pass a function pointer that acts as the visibility-preservation predicate. Previously, one could only pass an unsigned value (not LLVMBool?) that directed the pass to consider "main" or not. Reviewers: whitequark, deadalnix, harlanhaskins Reviewed By: whitequark, harlanhaskins Subscribers: kren1, hiraditya, llvm-commits, harlanhaskins Tags: #llvm Differential Revision: https://reviews.llvm.org/D62456
  11. Implement most of P1612R1: Relocate endian. Moves the std::endian functionality from 'type-traits' to 'bit'. No other change. The reason that this is 'partial' is that P1621 also recommends a feature-test macro, but I don't have the value for that one yet. In a month or so, I'll add that
Revision 366789 by uenoku:
[Attributor][NFC] Re-run clang-format on the Attributor.cpp
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Transforms/IPO/Attributor.cpp (diff)llvm.src/lib/Transforms/IPO/Attributor.cpp
Revision 366788 by uenoku:
[Attributor] Deduce "dereferenceable" attribute

Summary:
Deduce dereferenceable attribute in Attributor.

These will be added in a later patch.
* dereferenceable(_or_null)_globally (D61652)
* Deduction based on load instruction (similar to D64258)

Reviewers: jdoerfert, sstefan1

Reviewed By: jdoerfert

Subscribers: hiraditya, jfb, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D64876
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/Transforms/IPO/Attributor.h (diff)llvm.src/include/llvm/Transforms/IPO/Attributor.h
The file was modified/llvm/trunk/lib/Transforms/IPO/Attributor.cpp (diff)llvm.src/lib/Transforms/IPO/Attributor.cpp
The file was modified/llvm/trunk/test/Transforms/FunctionAttrs/arg_nocapture.ll (diff)llvm.src/test/Transforms/FunctionAttrs/arg_nocapture.ll
The file was added/llvm/trunk/test/Transforms/FunctionAttrs/dereferenceable.llllvm.src/test/Transforms/FunctionAttrs/dereferenceable.ll
The file was modified/llvm/trunk/test/Transforms/FunctionAttrs/noalias_returned.ll (diff)llvm.src/test/Transforms/FunctionAttrs/noalias_returned.ll
The file was modified/llvm/trunk/test/Transforms/FunctionAttrs/nonnull.ll (diff)llvm.src/test/Transforms/FunctionAttrs/nonnull.ll
Revision 366787 by evgeny777:
[llvm-objcopy] Allow strip symtab in executables and DSOs

Re-commit of the patch after addressing -Wl,--emit-relocs case.
Differential revision: https://reviews.llvm.org/D61672
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/tools/llvm-objcopy/ELF/preserve-segment-contents-ehdr-phdrs.test (diff)llvm.src/test/tools/llvm-objcopy/ELF/preserve-segment-contents-ehdr-phdrs.test
The file was modified/llvm/trunk/test/tools/llvm-objcopy/ELF/remove-multiple-sections.test (diff)llvm.src/test/tools/llvm-objcopy/ELF/remove-multiple-sections.test
The file was modified/llvm/trunk/test/tools/llvm-objcopy/ELF/segment-shift-section-remove.test (diff)llvm.src/test/tools/llvm-objcopy/ELF/segment-shift-section-remove.test
The file was modified/llvm/trunk/test/tools/llvm-objcopy/ELF/segment-test-remove-section.test (diff)llvm.src/test/tools/llvm-objcopy/ELF/segment-test-remove-section.test
The file was added/llvm/trunk/test/tools/llvm-objcopy/ELF/strip-unneeded-all-symbols.testllvm.src/test/tools/llvm-objcopy/ELF/strip-unneeded-all-symbols.test
The file was modified/llvm/trunk/tools/llvm-objcopy/ELF/ELFObjcopy.cpp (diff)llvm.src/tools/llvm-objcopy/ELF/ELFObjcopy.cpp
The file was modified/llvm/trunk/tools/llvm-objcopy/ELF/Object.cpp (diff)llvm.src/tools/llvm-objcopy/ELF/Object.cpp
The file was modified/llvm/trunk/tools/llvm-objcopy/ELF/Object.h (diff)llvm.src/tools/llvm-objcopy/ELF/Object.h
Revision 366786 by kongyi:
Fix gold-plugin Windows build

r365588 missed one instance of integer file descriptor use in
gold-plugin.cpp.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/tools/gold/gold-plugin.cpp (diff)llvm.src/tools/gold/gold-plugin.cpp
Revision 366785 by grimar:
[yaml2elf] - Treat the SHN_UNDEF section as kind of regular section.

We have a logic that adds a few sections implicitly.
Though the SHT_NULL section with section number 0
is an exception.

In D64913 I want to teach yaml2obj to redefine the null section.
And in this patch I add it to the sections list,
to make it kind of a regular section.

Differential revision: https://reviews.llvm.org/D65087
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/tools/yaml2obj/duplicate-section-names.test (diff)llvm.src/test/tools/yaml2obj/duplicate-section-names.test
The file was modified/llvm/trunk/tools/yaml2obj/yaml2elf.cpp (diff)llvm.src/tools/yaml2obj/yaml2elf.cpp
Revision 366782 by balazske:
[CrossTU] Added CTU argument to diagnostic consumer create fn.

Summary:
The PListDiagnosticConsumer needs a new CTU parameter that is passed
through the create functions.

Reviewers: NoQ, Szelethus, xazax.hun, martong

Reviewed By: Szelethus

Subscribers: rnkovacs, dkrupp, Szelethus, gamesh411, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D64635
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/include/clang/StaticAnalyzer/Core/PathDiagnosticConsumers.h (diff)clang.src/include/clang/StaticAnalyzer/Core/PathDiagnosticConsumers.h
The file was modified/cfe/trunk/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp (diff)clang.src/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
The file was modified/cfe/trunk/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp (diff)clang.src/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
The file was modified/cfe/trunk/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp (diff)clang.src/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp
The file was modified/cfe/trunk/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp (diff)clang.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
Revision 366781 by uenoku:
[AMDGPU][NFC] Simplify test file for amdgcn intrinsics

Summary: Remove unchecked attribute in the call site and use FileCheck String Substitution for `convergent` check.

Reviewers: nhaehnle

Reviewed By: nhaehnle

Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D64901
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/Transforms/InstCombine/AMDGPU/amdgcn-intrinsics.ll (diff)llvm.src/test/Transforms/InstCombine/AMDGPU/amdgcn-intrinsics.ll
Revision 366779 by ctopper:
[DAGCombiner] Make ShrinkLoadReplaceStoreWithStore return an SDValue instead of an SDNode*. NFCI

The function was calling getNode() on an SDValue to return and the
caller turned the result back into a SDValue. So just return the
original SDValue to avoid this.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp (diff)llvm.src/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Revision 366778 by ctopper:
[DAGCombiner] Use SDNode::isOperandOf to simplify some code. NFCI
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp (diff)llvm.src/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Revision 366777 by codafi:
[LLVM-C] Improve Bindings to The Internalize Pass

Summary: Adds a binding to the internalize pass that allows the caller to pass a function pointer that acts as the visibility-preservation predicate.  Previously, one could only pass an unsigned value (not LLVMBool?) that directed the pass to consider "main" or not.

Reviewers: whitequark, deadalnix, harlanhaskins

Reviewed By: whitequark, harlanhaskins

Subscribers: kren1, hiraditya, llvm-commits, harlanhaskins

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D62456
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm-c/Transforms/IPO.h (diff)llvm.src/include/llvm-c/Transforms/IPO.h
The file was modified/llvm/trunk/lib/Transforms/IPO/IPO.cpp (diff)llvm.src/lib/Transforms/IPO/IPO.cpp
Revision 366776 by marshall:
Implement most of P1612R1: Relocate endian.  Moves the std::endian functionality from 'type-traits' to 'bit'. No other change. The reason that this is 'partial' is that P1621 also recommends a feature-test macro, but I don't have the value for that one yet. In a month or so, I'll add that
Change TypePath in RepositoryPath in Workspace
The file was modified/libcxx/trunk/include/bit (diff)libcxx.src/include/bit
The file was modified/libcxx/trunk/include/type_traits (diff)libcxx.src/include/type_traits
The file was added/libcxx/trunk/test/std/numerics/bit/bit.endianlibcxx.src/test/std/numerics/bit/bit.endian
The file was added/libcxx/trunk/test/std/numerics/bit/bit.endian/endian.pass.cpplibcxx.src/test/std/numerics/bit/bit.endian/endian.pass.cpp
The file was removed/libcxx/trunk/test/std/utilities/meta/meta.type.synop/endian.pass.cpplibcxx.src/test/std/utilities/meta/meta.type.synop/endian.pass.cpp