Changes

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. [x86] add signed compare variant test for PR50055; NFC (details)
  2. [NFC] Remove variable that was set but not used. (details)
  3. Fix dfsan handling of musttail calls. (details)
  4. [llvm-dwp] Skip type unit debug info sections (details)
  5. [SDAG] allow cast folding for vector sext-of-setcc with signed compare (details)
  6. [mlir] Add support for filtering patterns based on debug names and labels (details)
  7. [mlir-lsp] Avoid empty range diagnostic (details)
  8. Remove unused function from a previous iteration of unique-stable-name (details)
  9. [mlir] Resolve TODO and use the pass argument instead of the TypeID for registration (details)
  10. [llvm-dwp] Adding support for v5 index writing (details)
  11. [llvm-dwp] Add support for DWARFv5 type units                                                                                                                                                                ... (details)
  12. [llvm-dwp] Add support for rnglists and loclists (details)
  13. [mlir][NFC] Split the non-templated bits out of IROperand into a base class (details)
  14. Revert "[libc++] NFC: Move unwrap_iter to its own header" (details)
  15. [gn build] Port 05d164b25c40 (details)
  16. PR50337, PR50561: Fix determination of whether a template parameter list (details)
  17. Differential Revision: https://reviews.llvm.org/D99812 (details)
  18. [CodeGen][NFC] Remove unused virtual function (details)
  19. [SYCL] Fix __builtin_sycl_unique_stable_name to work on windows/spir (details)
  20. [clangd] TUScheduler uses last active file for file-less queries (details)
  21. [clangd][Protocol] Drop optional from WorkspaceEdit::changes (details)
  22. [X86][SSE] combineScalarToVector - only reuse broadcasts for scalar_to_vector if the source operands scalar types match (details)
  23. [NFC][trace][intel-pt] small test fixes (details)
  24. Add a .mailmap entry for my two email addresses (details)
  25. [clangd] Drop optional on ExternalIndexSpec (details)
  26. [NFC] Test commit. Fix typos. (details)
  27. [Fuchsia] Use libc++abi on Windows in Fuchsia toolchain (details)
  28. [Clang][OpenMP] Emit dependent PreInits before directive. (details)
  29. Revert "Differential Revision: https://reviews.llvm.org/D99812" (details)
  30. [libc++] Enable tests for the experimental library by default (details)
  31. [PowerPC] [GlobalISel] Implementation of formal arguments lowering in the IRTranslator for the PPC backend (details)
  32. [coro] Preserve scope line for compiler generated functions (details)
  33. [MC] Change "unexpected tokens" to "expected newline" and remove unneeded "in .xxx directive" (details)
  34. [MC] Delete unneeded MCAsmParser &Parser (details)
  35. [profile] Add -fprofile-instr-generate tests for weak definition and various linkages (details)
  36. [InstrProfiling] Delete linkage/visibility toggling for Windows (details)
  37. Recommit "Fix tmp files being left on Windows builds." with a fix for (details)
  38. Fix llvm/test/tools/llvm-dwp/X86/type_dedup_v5.test (details)
  39. [clangd] Improve resolution of static method calls in HeuristicResolver (details)
  40. [AArch64] Add regression test for missed bfi optimization. (details)
  41. Fix "control reaches end of non-void function" warnings on ppc64le (details)
  42. [clang] Fix fail of OpenMP/tile_codegen_tile_for.cpp. (details)
  43. [DFSan] Properly set argument ABI attributes (details)
Commit cfe32dd03f1645d1fc28ae194f30c135a408fc41 by spatel
[x86] add signed compare variant test for PR50055; NFC
The file was modifiedllvm/test/CodeGen/X86/sext-vsetcc.ll
Commit 1ed2e9b9a02f9cde9108233c045edde0d5893f34 by stefanp
[NFC] Remove variable that was set but not used.

The buildbot ppc64le-lld-multistage-test has been failing because the variable
Tag in Waymaking.h is set but not used. This patch removes that varaible.
The file was modifiedllvm/include/llvm/ADT/Waymarking.h
Commit 70804f2a2f7b87227a873cd6d8852ad295068e79 by browneee
Fix dfsan handling of musttail calls.

Without this change, a callsite like:
  [[clang::musttail]] return func_call(x);
will cause an error like:
  fatal error: error in backend: failed to perform tail call elimination
  on a call site marked musttail
due to DFSan inserting instrumentation between the musttail call and
the return.

Reviewed By: stephan.yichao.zhao

Differential Revision: https://reviews.llvm.org/D103542
The file was modifiedllvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
The file was addedllvm/test/Instrumentation/DataFlowSanitizer/musttailcall.ll
Commit 595b1683b79be089c3f72e7b3dcee4d1a9f6327b by dblaikie
[llvm-dwp] Skip type unit debug info sections

This patch makes llvm-dwp skip debug info sections that may not be encoding a compile unit.
In DWARF5, debug info sections are also used for type units. As in preparation to support type units,
make llvm-dwp aware of other uses of debug info sections but skip them for now.

The patch first records all .debug_info sections, then goes through them one by one and records
the cu debug info section for writing the index unit, and copies that section to the final dwp output
info section. If it's not a compile unit, skip.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D102312
The file was addedllvm/test/tools/llvm-dwp/X86/wrong-unit-type-info-v4.s
The file was modifiedllvm/test/tools/llvm-dwp/X86/invalid_cu_header_length.s
The file was addedllvm/test/tools/llvm-dwp/X86/no_cu_found.s
The file was modifiedllvm/tools/llvm-dwp/llvm-dwp.cpp
The file was addedllvm/test/tools/llvm-dwp/X86/cu_and_tu_info_section_v5.s
The file was removedllvm/test/tools/llvm-dwp/X86/wrong-unit-type-info-v5.s
The file was addedllvm/test/tools/llvm-dwp/X86/multiple_debug_info_sections_in_dwp.s
The file was addedllvm/test/tools/llvm-dwp/X86/invalid_tu_header_length.s
Commit 0718ac706d4df719a0f019d1c0c3050c96ac2b8b by spatel
[SDAG] allow cast folding for vector sext-of-setcc with signed compare

This extends 434c8e013a2c and ede3982792df to handle signed
predicates by sign-extending the setcc operands.

This is not shown directly in https://llvm.org/PR50055 ,
but the pattern is visible by changing the unsigned convert
to signed in the source code.
The file was modifiedllvm/test/CodeGen/X86/sext-vsetcc.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit 0289a2692e0e1b6b846f0627262d15daa58160ac by riddleriver
[mlir] Add support for filtering patterns based on debug names and labels

This revision allows for attaching "debug labels" to patterns, and provides to FrozenRewritePatternSet for  filtering patterns based on these labels (in addition to the debug name of the pattern). This will greatly simplify the ability to write tests targeted towards specific patterns (in cases where many patterns may interact),  will also simplify debugging pattern application by observing how application changes when enabling/disabling specific patterns.

To enable better reuse of pattern rewrite options between passes, this revision also adds a new PassUtil.td file to the Rewrite/ library that will allow for passes to easily hook into a common interface for pattern debugging. Two options are used to seed this utility, `disable-patterns` and `enable-patterns`, which are used to enable the filtering behavior indicated above.

Differential Revision: https://reviews.llvm.org/D102441
The file was modifiedmlir/include/mlir/Rewrite/FrozenRewritePatternSet.h
The file was modifiedmlir/lib/Transforms/Canonicalizer.cpp
The file was addedmlir/test/Transforms/test-canonicalize-filter.mlir
The file was modifiedmlir/docs/PatternRewriter.md
The file was modifiedmlir/include/mlir/Pass/PassOptions.h
The file was addedmlir/include/mlir/Rewrite/PassUtil.td
The file was modifiedmlir/include/mlir/IR/PatternMatch.h
The file was modifiedmlir/include/mlir/Transforms/Passes.td
The file was modifiedmlir/test/Pass/pipeline-options-parsing.mlir
The file was modifiedmlir/lib/Rewrite/FrozenRewritePatternSet.cpp
The file was modifiedmlir/test/lib/Dialect/Test/TestDialect.cpp
Commit 3f70b4e0336001ca379490d1481024ddb87a3501 by jpienaar
[mlir-lsp] Avoid empty range diagnostic
The file was modifiedmlir/lib/Tools/mlir-lsp-server/MLIRServer.cpp
Commit 8beaca8c1493f576431c3687329860e918616cd9 by erich.keane
Remove unused function from a previous iteration of unique-stable-name
The file was modifiedclang/lib/Sema/TreeTransform.h
Commit fa51c5af5d5de25a7824a939e90734ae5ca5448d by riddleriver
[mlir] Resolve TODO and use the pass argument instead of the TypeID for registration

This simplifies various pieces of code that interact with the pass registry, e.g. this removes the need to register passes to get accurate pass pipelines descriptions when generating crash reproducers.

Differential Revision: https://reviews.llvm.org/D101880
The file was modifiedmlir/include/mlir/Pass/PassRegistry.h
The file was modifiedmlir/include/mlir/Pass/Pass.h
The file was modifiedmlir/lib/Pass/PassRegistry.cpp
The file was modifiedmlir/test/lib/Pass/TestPassManager.cpp
Commit 6e2d3049d25bcd96af7b0af8d572f3a7ccefecde by dblaikie
[llvm-dwp] Adding support for v5 index writing

This patch adds general support for DWARFv5 index writing.
In particular, this means only allowing inputs with one version,
either DWARFv5 or DWARFv4.

This patch adds the .debug_macro section as an example,
but the DWARFv5 type support and loc and rangelists are still
missing (and upcoming).

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D102315
The file was modifiedllvm/tools/llvm-dwp/llvm-dwp.cpp
The file was addedllvm/test/tools/llvm-dwp/X86/incompatible_cu_index_versions.s
The file was addedllvm/test/tools/llvm-dwp/X86/debug_macro_v5.s
The file was removedllvm/test/tools/llvm-dwp/X86/unsupported_cu_index_version.s
The file was modifiedllvm/test/tools/llvm-dwp/X86/info-v5.s
The file was modifiedllvm/test/tools/llvm-dwp/X86/unsupported_tu_index_version.s
Commit 316da543af14fb4b40ef0377fe770f430745f5ea by dblaikie
[llvm-dwp] Add support for DWARFv5 type units                                                                                                                                                                ...

This patch adds support for DWARFv5 type units: parsing from
the .debug_info section, and writing index to the type unit index.
Previously, the type units were part of the .debug_types section
which is no longer used in DWARFv5.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D101818
The file was modifiedllvm/test/tools/llvm-dwp/X86/cu_and_tu_info_section_v5.s
The file was removedllvm/test/tools/llvm-dwp/X86/unsupported_tu_index_version.s
The file was addedllvm/test/tools/llvm-dwp/X86/type_dedup_v5.test
The file was addedllvm/test/tools/llvm-dwp/X86/incompatible_tu_index_version.s
The file was modifiedllvm/tools/llvm-dwp/llvm-dwp.cpp
The file was modifiedllvm/test/tools/llvm-dwp/X86/missing_tu_index.test
The file was addedllvm/test/tools/llvm-dwp/Inputs/type_dedup_v5/b.s
The file was addedllvm/test/tools/llvm-dwp/X86/tu_units_v5.s
The file was addedllvm/test/tools/llvm-dwp/Inputs/type_dedup_v5/a.s
Commit de51c48ed3e0934855b107d4524f49c5edfcb3cc by dblaikie
[llvm-dwp] Add support for rnglists and loclists

This patch updates llvm-dwp to include rnglists and loclists
when parsing debug sections.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D101894
The file was modifiedllvm/tools/llvm-dwp/llvm-dwp.cpp
The file was addedllvm/test/tools/llvm-dwp/X86/rnglists.s
The file was addedllvm/test/tools/llvm-dwp/X86/loclists.s
Commit c89dff5855bb32d47751cce087537c2b12a90f1b by riddleriver
[mlir][NFC] Split the non-templated bits out of IROperand into a base class

This removes the need to define the derived Operand class before the derived
Value class. The major benefit of this refactoring is that we no longer need
the OpaqueValue class, as OpOperand can now be defined after Value. As part of
this refactoring the BlockOperand and OpOperand classes are moved out of
UseDefLists.h and to more suitable locations in BlockSupport and Value. After
this change, UseDefLists.h is almost entirely composed of generic use def utilities.

Differential Revision: https://reviews.llvm.org/D103353
The file was modifiedmlir/include/mlir/IR/Value.h
The file was modifiedmlir/include/mlir/IR/BlockSupport.h
The file was modifiedmlir/include/mlir/IR/UseDefLists.h
The file was modifiedmlir/lib/IR/Value.cpp
Commit 05d164b25c403c0ab9a114f25e750c6410d4d86c by Louis Dionne
Revert "[libc++] NFC: Move unwrap_iter to its own header"

This reverts commit 924ea3bb53 *again*, this time because it broke the
LLDB build with modules. We need to figure out what's up with the libc++
modules build once and for all.

Differential Revision: https://reviews.llvm.org/D103369
The file was modifiedlibcxx/include/algorithm
The file was modifiedlibcxx/include/module.modulemap
The file was modifiedlibcxx/include/CMakeLists.txt
The file was removedlibcxx/include/__algorithm/unwrap_iter.h
Commit 01ba355268071bea0b9432b51b6a66b5be159da8 by llvmgnsyncbot
[gn build] Port 05d164b25c40
The file was modifiedllvm/utils/gn/secondary/libcxx/include/BUILD.gn
Commit 13659f48a1d7814fe893d2383acdc0b0313740a9 by richard
PR50337, PR50561: Fix determination of whether a template parameter list
contains constrained parameters.
The file was modifiedclang/test/SemaTemplate/concepts.cpp
The file was modifiedclang/lib/AST/DeclTemplate.cpp
Commit c729f2a48a6ef6b20554494c5630082c89c3680c by angandhi
Differential Revision: https://reviews.llvm.org/D99812
The file was modifiedllvm/lib/Target/PowerPC/GISel/PPCCallLowering.h
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was addedllvm/test/CodeGen/PowerPC/GlobalISel/irtranslator-args-lowering.ll
The file was modifiedllvm/lib/Target/PowerPC/GISel/PPCCallLowering.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.h
The file was removedllvm/test/CodeGen/PowerPC/GlobalISel/irtranslator-ret.ll
Commit 344e919b1a33cd69fe023cbe5a49bbdf4f5ea037 by minyihh
[CodeGen][NFC] Remove unused virtual function

`TargetFrameLowering::emitCalleeSavedFrameMoves` with 4 arguments is not
used anywhere in CodeGen. Thus it shouldn't be exposed as a virtual
function. NFC.

Differential Revision: https://reviews.llvm.org/D103328
The file was modifiedllvm/lib/Target/M68k/M68kFrameLowering.cpp
The file was modifiedllvm/lib/Target/M68k/M68kFrameLowering.h
The file was modifiedllvm/include/llvm/CodeGen/TargetFrameLowering.h
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.h
Commit d8e0ae9a76a62bdc6117630d59bf9967ac9bb4ea by erich.keane
[SYCL] Fix __builtin_sycl_unique_stable_name to work on windows/spir

In the case where the device is an itanium target, and the host is a
windows target, we were getting the names wrong, since in the itanium
case we filter by lambda-signature.

The fix is to always filter by the signature rather than just on
non-windows builds. I considered doing the reverse (that is, checking
the aux-triple), but doing so would result in duplicate lambda mangling
numbers (from linux reusing the same number for different signatures).
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was addedclang/test/CodeGenSYCL/unique_stable_name_windows_diff.cpp
Commit 6c2a4e28f4d1c0f525c53302c08808c1b4f8073b by kadircet
[clangd] TUScheduler uses last active file for file-less queries

This enables requests like workspaceSymbols to be dispatched using the
file user was most recently operating on. A replacement for D103179.

Differential Revision: https://reviews.llvm.org/D103476
The file was modifiedclang-tools-extra/clangd/TUScheduler.h
The file was modifiedclang-tools-extra/clangd/unittests/TUSchedulerTests.cpp
The file was modifiedclang-tools-extra/clangd/TUScheduler.cpp
Commit dc10bf1a4ed0b34b27284b5260ce5c6cc132bd6f by kadircet
[clangd][Protocol] Drop optional from WorkspaceEdit::changes

This is causing weird code patterns in various places and I can't see
any difference between None and empty change list. Neither in the current use
cases nor in the spec.

Differential Revision: https://reviews.llvm.org/D103449
The file was modifiedclang-tools-extra/clangd/Diagnostics.cpp
The file was modifiedclang-tools-extra/clangd/ClangdLSPServer.cpp
The file was modifiedclang-tools-extra/clangd/Protocol.h
The file was modifiedclang-tools-extra/clangd/Protocol.cpp
Commit 9f5d783d467523d6218a63883b45192c8a875c96 by llvm-dev
[X86][SSE] combineScalarToVector - only reuse broadcasts for scalar_to_vector if the source operands scalar types match

We were hitting an issue when the scalar_to_vector source was being implicitly truncated (in this case to i8 to vXi1) but we were also using the i8 source in a broadcast to a vXi8 value.

Fixes PR50374
The file was addedllvm/test/CodeGen/X86/pr50374.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit e65242e37a7284dc2f24c7f686867da665af3a63 by walter erquinigo
[NFC][trace][intel-pt] small test fixes

These tests started failing after a change in the disassembler. The fix
is pretty simple though.
The file was modifiedlldb/source/Target/Trace.cpp
The file was modifiedlldb/test/API/commands/trace/TestTraceDumpInstructions.py
Commit 07c2a912ddf1641b969fdbae3418f77c362f67c6 by rnk
Add a .mailmap entry for my two email addresses

I'm using rnk@google.com as the canonical email for now, but I guess I
can always update .mailmap in the future.
The file was modified.mailmap
Commit 9e9ac4138890425b92d2196344ab59305caa32d7 by kadircet
[clangd] Drop optional on ExternalIndexSpec

Differential Revision: https://reviews.llvm.org/D100308
The file was modifiedclang-tools-extra/clangd/unittests/ConfigCompileTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/ProjectAwareIndexTests.cpp
The file was modifiedclang-tools-extra/clangd/Config.h
The file was modifiedclang-tools-extra/clangd/index/ProjectAware.h
The file was modifiedclang-tools-extra/clangd/ConfigCompile.cpp
The file was modifiedclang-tools-extra/clangd/index/ProjectAware.cpp
Commit b73a1e67782bb56552c0f343cebe93985a85293d by amy.zhuang
[NFC] Test commit. Fix typos.
The file was modifiedmlir/lib/Analysis/AffineAnalysis.cpp
Commit b5dd421a3afa02907777fddf61073274e2a4aa9a by phosek
[Fuchsia] Use libc++abi on Windows in Fuchsia toolchain

Don't use vcruntime, this makes our toolchain more hermetic and avoids
some compiler errors we've encountered in compiler-rt.

Differential Revision: https://reviews.llvm.org/D103555
The file was modifiedclang/cmake/caches/Fuchsia-stage2.cmake
Commit 07a6beb402150d25ec7c93a5747520ac2804731d by llvm-project
[Clang][OpenMP] Emit dependent PreInits before directive.

The PreInits of a loop transformation (atm moment only tile) include the computation of the trip count. The trip count is needed by any loop-associated directives that consumes the transformation-generated loop. Hence, we must ensure that the PreInits of consumed loop transformations are emitted with the consuming directive.

This is done by addinging the inner loop transformation's PreInits to the outer loop-directive's PreInits. The outer loop-directive will consume the de-sugared AST such that the inner PreInits are not emitted twice. The PreInits of a loop transformation are still emitted directly if its generated loop(s) are not associated with another loop-associated directive.

Reviewed By: ABataev

Differential Revision: https://reviews.llvm.org/D102180
The file was modifiedclang/lib/AST/StmtOpenMP.cpp
The file was modifiedclang/test/OpenMP/tile_codegen.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was addedclang/test/OpenMP/tile_codegen_for_dependent.cpp
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/include/clang/AST/StmtOpenMP.h
The file was addedclang/test/OpenMP/tile_codegen_tile_for.cpp
Commit 3e5ddb83e387281bc9b3dea8766bcc633a6fcee5 by gandhi21299
Revert "Differential Revision: https://reviews.llvm.org/D99812"

This reverts commit c729f2a48a6ef6b20554494c5630082c89c3680c.
The file was modifiedllvm/lib/Target/PowerPC/GISel/PPCCallLowering.h
The file was addedllvm/test/CodeGen/PowerPC/GlobalISel/irtranslator-ret.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.h
The file was removedllvm/test/CodeGen/PowerPC/GlobalISel/irtranslator-args-lowering.ll
The file was modifiedllvm/lib/Target/PowerPC/GISel/PPCCallLowering.cpp
Commit 875ff8e059b73f65f5ad08d416a0a9caf0673d1a by Louis Dionne
[libc++] Enable tests for the experimental library by default

This matches the fact that we build the experimental library by default.
Otherwise, by default we'd be building the library but not testing it,
which is inconsistent.

Differential Revision: https://reviews.llvm.org/D102109
The file was modifiedlibcxx/utils/libcxx/test/params.py
The file was modifiedlibunwind/test/lit.site.cfg.in
The file was modifiedlibcxx/test/configs/libcxx-trunk-static.cfg.in
The file was modifiedlibcxxabi/test/lit.site.cfg.in
Commit 1c5ff0b03f4e5b03619f58634396b5370d61b086 by gandhi21299
[PowerPC] [GlobalISel] Implementation of formal arguments lowering in the IRTranslator for the PPC backend

Differential Revision: https://reviews.llvm.org/D99812
The file was modifiedllvm/lib/Target/PowerPC/GISel/PPCCallLowering.h
The file was modifiedllvm/lib/Target/PowerPC/GISel/PPCCallLowering.cpp
The file was addedllvm/test/CodeGen/PowerPC/GlobalISel/irtranslator-args-lowering.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.h
The file was removedllvm/test/CodeGen/PowerPC/GlobalISel/irtranslator-ret.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
Commit 60ce8babf77e65836d844741fbe50f297ad00781 by davelee.com
[coro] Preserve scope line for compiler generated functions

Coro-split functions with an active suspend point have their scope line set to
the line of the suspend point. However for compiler generated functions, this
results in debug info with unconventional results: a file named
`<compiler-generated>` with a non-zero line number. The convention for
`<compiler-generated>` is that the line number is zero.

This change propagates the scope line only for non-compiler generated
functions.

Differential Revision: https://reviews.llvm.org/D102412
The file was modifiedllvm/test/Transforms/Coroutines/coro-async.ll
The file was modifiedllvm/lib/Transforms/Coroutines/CoroSplit.cpp
Commit c980d93d91280a8e0a6618ece1960bb71c45d950 by i
[MC] Change "unexpected tokens" to "expected newline" and remove unneeded "in .xxx directive"
The file was modifiedllvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
The file was modifiedllvm/test/MC/COFF/cv-fpo-errors.s
Commit aba67ba7840a771262ddc72e090bd653170ff85a by i
[MC] Delete unneeded MCAsmParser &Parser
The file was modifiedllvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
Commit effb87dfa810a28e763f914fe3e6e984782cc846 by i
[profile] Add -fprofile-instr-generate tests for weak definition and various linkages
The file was addedcompiler-rt/test/profile/Linux/coverage-linkage-lld.cpp
The file was addedcompiler-rt/test/profile/Windows/coverage-linkage-lld.cpp
The file was addedcompiler-rt/test/profile/Linux/coverage-linkage.cpp
The file was addedcompiler-rt/test/profile/Windows/coverage-linkage.cpp
The file was addedcompiler-rt/test/profile/Linux/coverage-weak-lld.cpp
The file was addedcompiler-rt/test/profile/Windows/coverage-weak-lld.cpp
Commit 87c43f3aa99d778755c7f5420e955885f855ecad by i
[InstrProfiling] Delete linkage/visibility toggling for Windows

The linkage/visibility of `__profn_*` variables are derived
from the profiled functions.

    extern_weak => linkonce
    available_externally => linkonce_odr
    internal => private
    extern => private
    _ => unchanged

The linkage/visibility of `__profc_*`/`__profd_*` variables are derived from
`__profn_*` with linkage/visibility wrestling for Windows.

The changes can be folded to the following without changing semantics.

```
if (TT.isOSBinFormatCOFF() && !NeedComdat) {
  Linkage = GlobalValue::InternalLinkage;
  Visibility = GlobalValue::DefaultVisibility;
}
```

That said, I think we can just delete the code block.

An extern/internal function will now use private `__profc_*`/`__profd_*`
variables, instead of internal ones. This saves some symbol table entries.

A non-comdat {linkonce,weak}_odr function will now use hidden external
`__profc_*`/`__profd_*` variables instead of internal ones.  There is potential
object file size increase because such symbols need `/INCLUDE:` directives.
However such non-comdat functions are rare (note that non-comdat weak
definitions don't prevent duplicate definition error).

The behavior changes match ELF.

Reviewed By: rnk

Differential Revision: https://reviews.llvm.org/D103355
The file was modifiedllvm/test/Instrumentation/InstrProfiling/linkage.ll
The file was modifiedllvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
The file was modifiedllvm/test/Instrumentation/InstrProfiling/platform.ll
The file was modifiedllvm/test/Instrumentation/InstrProfiling/profiling.ll
The file was modifiedcompiler-rt/test/profile/Windows/coverage-weak-lld.cpp
Commit 9d070b2f4889887f9ce497592ef01df7b9601a1c by akhuang
Recommit "Fix tmp files being left on Windows builds." with a fix for
incorrect std::string use. (Also remove redundant call to
RemoveFileOnSignal.)

Clang writes object files by first writing to a .tmp file and then
renaming to the final .obj name. On Windows, if a compile is killed
partway through the .tmp files don't get deleted.

Currently it seems like RemoveFileOnSignal takes care of deleting the
tmp files on Linux, but on Windows we need to call
setDeleteDisposition on tmp files so that they are deleted when
closed.

This patch switches to using TempFile to create the .tmp files we write
when creating object files, since it uses setDeleteDisposition on Windows.
This change applies to both Linux and Windows for consistency.

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

This reverts commit 20797b129f844d4b12ffb2b12cf33baa2d42985c.
The file was modifiedllvm/lib/Support/Windows/Path.inc
The file was modifiedllvm/lib/Support/Path.cpp
The file was modifiedclang/lib/Frontend/CompilerInstance.cpp
The file was modifiedclang/include/clang/Frontend/CompilerInstance.h
Commit 2541075c22aec261e45e2c4edba65b29ed472d2e by jyknight
Fix llvm/test/tools/llvm-dwp/X86/type_dedup_v5.test

It was writing files to the source dir after
316da543af14fb4b40ef0377fe770f430745f5ea.
The file was modifiedllvm/test/tools/llvm-dwp/X86/type_dedup_v5.test
Commit f976b9997ee55a130b139efe7b6e6f3b0384016b by zeratul976
[clangd] Improve resolution of static method calls in HeuristicResolver

Differential Revision: https://reviews.llvm.org/D101741
The file was modifiedclang-tools-extra/clangd/unittests/InlayHintTests.cpp
The file was modifiedclang-tools-extra/clangd/HeuristicResolver.cpp
Commit d8b9ed72ee838145a5c48d8b6fdccd00dc200c42 by efriedma
[AArch64] Add regression test for missed bfi optimization.

(See https://reviews.llvm.org/D60358 for the transform that breaks this
case.)
The file was modifiedllvm/test/CodeGen/AArch64/bitfield-insert.ll
Commit b2c8bcbab8a44c4582632845697b9425c3200230 by yitzhakm
Fix "control reaches end of non-void function" warnings on ppc64le

Warnings can be found here: https://lab.llvm.org/buildbot/#/builders/76/builds/2640

Reviewed By: ymandel

Differential Revision: https://reviews.llvm.org/D103565
The file was modifiedclang/lib/ASTMatchers/GtestMatchers.cpp
Commit 64e5a3bbdde25af0fd9f2b9b8539e23f36c80601 by llvm-project
[clang] Fix fail of OpenMP/tile_codegen_tile_for.cpp.

Clang's version string can be customized using CLANG_VENDOR which the
test did not consider. Change the test to accept any version string.
The file was modifiedclang/test/OpenMP/tile_codegen_tile_for.cpp
Commit 1faff79b7ca144e505da6bc74aa2b2f7cffbbf23 by aeubanks
[DFSan] Properly set argument ABI attributes

Calls must properly match argument ABI attributes with the callee.

Found via D103412.

Reviewed By: morehouse

Differential Revision: https://reviews.llvm.org/D103414
The file was modifiedllvm/test/Instrumentation/DataFlowSanitizer/origin_track_load.ll
The file was modifiedllvm/test/Instrumentation/DataFlowSanitizer/origin_store_threshold.ll
The file was modifiedllvm/test/Instrumentation/DataFlowSanitizer/shadow-args-zext.ll
The file was modifiedllvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
The file was modifiedllvm/test/Instrumentation/DataFlowSanitizer/origin_mem_intrinsic.ll
The file was modifiedllvm/test/Instrumentation/DataFlowSanitizer/memset.ll
The file was modifiedllvm/test/Instrumentation/DataFlowSanitizer/origin_store.ll