SuccessChanges

Summary

  1. [AutoFDO] Statistic for context sensitive profile guided inlining (details)
  2. [OpenMP][Docs] Mark 5.0 features worked on and list 5.1 features (details)
  3. [Syntax] Build nodes for simple cases of top level declarations (details)
  4. Fix an error in the block ABI documentation sample code (details)
  5. [ARM][MVE] Sink vector shift operand (details)
  6. [libc++] Fix -Wdeprecated-copy warnings in __bit_reference (details)
  7. Revert "[ARM][MVE] Sink vector shift operand" (details)
  8. [DWARF5][DWARFVerifier] Check that Skeleton compilation unit does not (details)
  9. Temporarily Revert "[libc++] Fix -Wdeprecated-copy warnings in (details)
  10. [compiler-rt] Add a critical section when flushing gcov counters (details)
  11. Revert unintentional change to compiler-rt as part of the (details)
  12. [NFC][llvm][MIRVRegNamerUtils] Moving methods around. Making some (details)
Commit d275a064871763ab3a7712c74712d2fd1d0bef5d by aktoon
[AutoFDO] Statistic for context sensitive profile guided inlining
Summary: AutoFDO compilation has two places that do inlining - the
sample profile loader that does inlining with context sensitive profile,
and the regular inliner as CGSCC pass. Ideally we want most inlining to
come from sample profile loader as that is driven by context sensitive
profile and also retains context sensitivity after inlining. However the
reality is most of the inlining actually happens during regular inliner.
To track the number of inline instances from sample profile loader and
help move more inlining to sample profile loader, I'm adding statistics
and optimization remarks for sample profile loader's inlining.
Reviewers: wmi, davidxl
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70584
The file was modifiedllvm/test/Transforms/SampleProfile/inline-coverage.ll (diff)
The file was modifiedllvm/lib/Transforms/IPO/SampleProfile.cpp (diff)
The file was addedllvm/test/Transforms/SampleProfile/inline-stats.ll
The file was modifiedllvm/test/Transforms/SampleProfile/remarks.ll (diff)
Commit bdaf31ec95e071b87e4cf160eb1ce570dc37a8c0 by johannes
[OpenMP][Docs] Mark 5.0 features worked on and list 5.1 features
The file was modifiedclang/docs/OpenMPSupport.rst (diff)
Commit be14a22b47e5c61ff36e4183dcb4f8b138466157 by ibiryukov
[Syntax] Build nodes for simple cases of top level declarations
Summary: More complicated nodes (e.g. template declarations) will be
implemented in the follow-up patches.
Reviewers: gribozavr2
Reviewed By: gribozavr2
Subscribers: merge_guards_bot, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D70856
The file was modifiedclang/unittests/Tooling/Syntax/TreeTest.cpp (diff)
The file was modifiedclang/include/clang/Tooling/Syntax/Nodes.h (diff)
The file was modifiedclang/lib/Tooling/Syntax/BuildTree.cpp (diff)
The file was modifiedclang/lib/Tooling/Syntax/Nodes.cpp (diff)
Commit 7292c2823063fdb9e2200ef7e4571d4f2443e6ca by Akira
Fix an error in the block ABI documentation sample code
rdar://problem/38663011
The file was modifiedclang/docs/Block-ABI-Apple.rst (diff)
Commit e0b966643fc2030442ffbae9b677247be697673b by grubbymitts69
[ARM][MVE] Sink vector shift operand
The shift amount operand can be provided in a general purpose register
so sink it. Flip the vdup and negate so the existing patterns can be
used for matching.
Differential Revision: https://reviews.llvm.org/D70841
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td (diff)
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp (diff)
The file was addedllvm/test/CodeGen/Thumb2/mve-shifts-scalar.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-shifts.ll (diff)
Commit 02bb20223bda5add729402962c70d0ebd0d98af2 by echristo
[libc++] Fix -Wdeprecated-copy warnings in __bit_reference
Add a couple of default copy constructors to fix the warning.
Reviewed By: dblaikie
Differential Revision: https://reviews.llvm.org/D71395
The file was modifiedlibcxx/include/__bit_reference (diff)
Commit f8ff3bf55b26673ff3f3857fd17031ea27478ebe by grubbymitts69
Revert "[ARM][MVE] Sink vector shift operand"
This reverts commit e0b966643fc2030442ffbae9b677247be697673b.
Instruction selection is failing with expensive checks.
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td (diff)
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/mve-shifts.ll (diff)
The file was removedllvm/test/CodeGen/Thumb2/mve-shifts-scalar.ll
Commit 71aaebc82468c8982b6d80bb35cbafed6dea91cc by a.v.lapshin
[DWARF5][DWARFVerifier] Check that Skeleton compilation unit does not
have children.
  That patch adds checking into DWARFVerifier that the Skeleton
compilation unit does not have children.
Differential Revision: https://reviews.llvm.org/D71244
The file was addedllvm/test/DebugInfo/X86/skeleton-unit-verify.s
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp (diff)
Commit fa0fc04a4f950461e3f5675487b477c94e456842 by echristo
Temporarily Revert "[libc++] Fix -Wdeprecated-copy warnings in
__bit_reference" as it's causing test failures due to mismatched
visibility.
This reverts commit 02bb20223bda5add729402962c70d0ebd0d98af2.
The file was modifiedlibcxx/include/__bit_reference (diff)
The file was modifiedcompiler-rt/lib/sanitizer_common/scripts/check_lint.sh (diff)
Commit 02ce9d8ef5a84bc884de4105eae5f8736ef67634 by calixte.denizet
[compiler-rt] Add a critical section when flushing gcov counters
Summary: Counters can be flushed in a multi-threaded context for example
when the process is forked in different threads
(https://github.com/llvm/llvm-project/blob/master/llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp#L632-L663).
In order to avoid pretty bad things, a critical section is needed around
the flush. We had a lot of crashes in this code in Firefox CI when we
switched to clang for linux ccov builds and those crashes disappeared
with this patch.
Reviewers: marco-c, froydnj, dmajor, davidxl, vsk
Reviewed By: marco-c, dmajor
Subscribers: ahatanak, froydnj, dmajor, dberris, jfb, #sanitizers,
llvm-commits, sylvestre.ledru
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D70910
The file was modifiedcompiler-rt/lib/profile/GCDAProfiling.c (diff)
Commit 6c79095576e0faa388dff08d16a214df1beb9190 by echristo
Revert unintentional change to compiler-rt as part of the
__bit_reference revert.
The file was modifiedcompiler-rt/lib/sanitizer_common/scripts/check_lint.sh (diff)
Commit 756db63af9642f56138e2ab6ac26627205c1992e by puyan
[NFC][llvm][MIRVRegNamerUtils] Moving methods around. Making some
private.
Making all externally unused methods private in MIRVRegNamerUtils.h.
Moving or deleting a couple other methods around.
The file was modifiedllvm/lib/CodeGen/MIRVRegNamerUtils.cpp (diff)
The file was modifiedllvm/lib/CodeGen/MIRVRegNamerUtils.h (diff)