Changes

Summary

  1. [lldb, win] Skip watchpoint tests on the Windows lldb bot (details)
Commit 20fea9d14963ad06b53bd489e4fd312b663fe269 by stilis
[lldb, win] Skip watchpoint tests on the Windows lldb bot

The watchpoint tests are particularly fragile, so skip these on the Windows buildbot.

Reviewed By: gkistanova, JDevlieghere

Differential Revision: https://reviews.llvm.org/D118403
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)

Summary

  1. [InstrProf][Correlate] Verify debug info with llvm-profdata show (details)
  2. [AMDGPU] SILoadStoreOptimizer: tweak API of CombineInfo::setMI. NFC. (details)
  3. [AMDGPU] SILoadStoreOptimizer: use separate lists for AGPR instructions (details)
  4. [AMDGPU] SILoadStoreOptimizer: reject AGPR DS_WRITE sooner (details)
  5. [NewPM] Add debugify and check-debugify to the PassRegistry (details)
  6. [test] Use -passes syntax in SROA test cases (details)
  7. [X86] Fold MOVMSK(CONCAT(X,Y)) -> MOVMSK(AND/OR(X,Y)) for all_of/any_of patterns (details)
  8. [libc] Guard sqrt_80_bit_long_double.h header to not be included with aarch64. (details)
  9. [flang] Expand the semantics test for co_sum (details)
  10. [ConstraintElimination] Use constraints with 0 or 1 coefficients. (details)
  11. [ARM][AArch64] Cleanup and autogenerate v8.1a vqdrmlah tests. NFC (details)
  12. Trivial update for debug location in LIT test. (details)
  13. [ARM][AArch64] Introduce qrdmlah and qrdmlsh intrinsics (details)
  14. [clang] Don't typo-fix an expression in a SFINAE context. (details)
  15. [libc++] Fix a typo in reverse_iterator::operator=. (details)
  16. [libc++] [ranges] ref_view and empty_view are borrowed ranges. Normalize borrowed_range tests. (details)
  17. [tosa][mlir] Add dynamic shape support for remaining ops (details)
  18. [RISCV] Prefer vmslt.vx v0, v8, zero over vmsle.vi v0, v8, -1. (details)
  19. OMPIRBuilder for Interop directive (details)
  20. Remove "awaiting-review" labels from closed issues. (details)
  21. [BOLT][DWARF] Fix gdb index section (details)
  22. Runtime for Interop directive (details)
  23. [RISCV] Use std::map::count != 0 instead of std::map::count == 1. NFC (details)
  24. [clangd] Fix a selection tree crash for unmatched-bracket code. (details)
  25. [clangd] Enable hover on character literal. (details)
  26. [libc] Add POSIX close, fsync, open, read and write functions. (details)
  27. [OpenMP][NFCI] Pipe the IdentTy object through more new RT functions (details)
  28. [InstrProf][NFC] Refactor Profile kind into a bitset enum. (details)
  29. [libc] Revert "Guard sqrt_80_bit_long_double.h header to not be included with aarch64." (details)
  30. [libc] Revert "Refactor sqrt implementations and add tests for generic sqrt implementations." (details)
  31. [clangd] Fix a typo , => ; in hovertest. (details)
  32. [compiler-rt][profile][AIX] pass extra link opts for test (details)
  33. Disable TestLldbGdbServer on Dwarf2 and clang versions below 14 (details)
  34. [MLIR] Workaround for python detection problems. (details)
  35. [VectorToGPU] Fix horizontal stride calculation for N-D memref (details)
  36. Revert "Disable TestLldbGdbServer on Dwarf2 and clang versions below 14" (details)
  37. [mlir] Set up boilerplate build for MLIR benchmarks (details)
  38. [NFC][Clang][OpaquePtr] Move away from deprecated Address constructor in EmitNewArrayInitializer() (details)
  39. Disable TestLldbGdbServer on Dwarf2 and clang versions below 14 (details)
  40. [unwind] fix build with GCC on PPC32 (details)
  41. [libc++] Add documentation about the libc++ review group (details)
  42. [SystemZ] Implement orderFrameObjects(). (details)
  43. Fixed typos in TestLldbGdbServer.py (details)
  44. [SystemZ] Don't shrink 64-bit FP constants. (details)
  45. [NFC][Clang][OpaquePtr] Move away from deprecated Address constructor in CreateTempAlloca() (details)
  46. unwind: fix typo for __powerpc__ (details)
  47. [BOLT] Fix AARCH64 registers aliasing (details)
  48. Omit atomic_{,un}signed_lock_free if unsupported (details)
  49. Revert "[clang] Don't typo-fix an expression in a SFINAE context." (details)
  50. [NFC][Clang][OpaquePtr] Move away from deprecated Address constructor in EmitCXXMemberDataPointerAddress() (details)
  51. [NFC][Clang][OpaquePtr] Move away from deprecated Address constructor in VisitArrayInitLoopExpr (details)
  52. [libc++] [P1614] Implement the second half of [cmp.alg]: compare_{strong,weak,partial}_fallback. (details)
  53. [gn build] Port bf20a09790cb (details)
  54. [mlir][scf] Update IfOp to have getInvocationBounds (details)
  55. [OpenMP] Only generate runtime flags with host input (details)
  56. [OpenMP] Ensure broken assumptions print once, not thousands of times. (details)
  57. [gn build] Add support for check-asan (details)
  58. [msan] Copy origin of byval arguments (details)
  59. [gn build] slighly reformat files to make sync script work (details)
Commit c9baa5608bad5a0d908887f17bc47e569cd8883c by ellis.sparky.hoag
[InstrProf][Correlate] Verify debug info with llvm-profdata show

Use the `llvm-profdata show` command to verify debug info for profile correlation using the `--debug-info` option.

Reviewed By: kyulee

Differential Revision: https://reviews.llvm.org/D118181
The file was addedcompiler-rt/test/profile/Linux/instrprof-show-debug-info-correlation.c
The file was modifiedllvm/include/llvm/ProfileData/InstrProfCorrelator.h
The file was modifiedllvm/lib/ProfileData/InstrProfCorrelator.cpp
The file was modifiedllvm/tools/llvm-profdata/llvm-profdata.cpp
The file was addedllvm/test/tools/llvm-profdata/errors.test
The file was modifiedllvm/include/llvm/ProfileData/InstrProf.h
Commit 8a52fef1e06c0b8fcf7fede9ec1c5fc1cf326be8 by jay.foad
[AMDGPU] SILoadStoreOptimizer: tweak API of CombineInfo::setMI. NFC.

Change CombineInfo::setMI to take a reference to the
SILoadStoreOptimizer instance, for easy access to common fields like
TII and STM.

Differential Revision: https://reviews.llvm.org/D118366
The file was modifiedllvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
Commit 94a4594c5483a47b0dd17957093793dab610aff7 by jay.foad
[AMDGPU] SILoadStoreOptimizer: use separate lists for AGPR instructions

Using separate lists for AGPR and non-AGPR instructions seems like a
cleaner solution than putting them all in the same list and then later
refusing to merge instructions of different AGPR-ness.

Differential Revision: https://reviews.llvm.org/D118367
The file was modifiedllvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
Commit 4b133cee8026cb304ce486f090be0a5ec6aa4a27 by jay.foad
[AMDGPU] SILoadStoreOptimizer: reject AGPR DS_WRITE sooner

Rejecting AGPR DS_WRITE instructions before adding them to any mergeable
list seems cleaner than adding them to the list and rejecting them
later.

Differential Revision: https://reviews.llvm.org/D118368
The file was modifiedllvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
Commit 464be7af285929ec62c09d01ea1d07374b6b98be by bjorn.a.pettersson
[NewPM] Add debugify and check-debugify to the PassRegistry

Adding -debugify and -check-debugify in the PassRegistry will make
sure the passes are listed properly by -print-pipeline-passes as
well as -print-passes.

It also allows removal of the custom pipeline parsing callback that
has been used in the NewPMDriver.

Differential Revision: https://reviews.llvm.org/D118369
The file was modifiedllvm/tools/opt/NewPMDriver.cpp
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
The file was modifiedllvm/test/Other/new-pm-print-pipeline.ll
The file was modifiedllvm/lib/Passes/PassRegistry.def
Commit bf06bc1a6d6e72ea733d6a31cfbb829359f9cd14 by bjorn.a.pettersson
[test] Use -passes syntax in SROA test cases

Another step to move away from the legacy PM syntax when specifying
passes in opt.

Differential Revision: https://reviews.llvm.org/D118339
The file was modifiedllvm/test/Transforms/SROA/address-spaces.ll
The file was modifiedllvm/test/Transforms/SROA/phi-and-select.ll
The file was modifiedllvm/test/Transforms/SROA/select-load.ll
The file was modifiedllvm/test/Transforms/SROA/ignore-droppable.ll
The file was modifiedllvm/test/Transforms/SROA/ppcf128-no-fold.ll
The file was modifiedllvm/test/Transforms/SROA/big-endian.ll
The file was modifiedllvm/test/Transforms/SROA/dbg-inline.ll
The file was modifiedllvm/test/Transforms/SROA/pr26972.ll
The file was modifiedllvm/test/Transforms/SROA/basictest.ll
The file was modifiedllvm/test/Transforms/SROA/vector-lifetime-intrinsic.ll
The file was modifiedllvm/test/Transforms/SROA/vector-promotion-different-size.ll
The file was modifiedllvm/test/Transforms/SROA/vector-promotion.ll
The file was modifiedllvm/test/Transforms/SROA/dbg-addr-diamond.ll
The file was modifiedllvm/test/Transforms/SROA/mem-par-metadata-sroa-cast.ll
The file was modifiedllvm/test/Transforms/SROA/slice-order-independence.ll
The file was modifiedllvm/test/Transforms/SROA/tbaa-struct2.ll
The file was modifiedllvm/test/Transforms/SROA/slice-width.ll
The file was modifiedllvm/test/Transforms/SROA/phi-catchswitch.ll
The file was modifiedllvm/test/Transforms/SROA/non-integral-pointers.ll
The file was modifiedllvm/test/Transforms/SROA/alignment.ll
The file was modifiedllvm/test/Transforms/SROA/mem-par-metadata-sroa.ll
The file was modifiedllvm/test/Transforms/SROA/pointer-offset-size.ll
The file was modifiedllvm/test/Transforms/SROA/fca.ll
The file was modifiedllvm/test/Transforms/SROA/irregular-type.ll
The file was modifiedllvm/test/Transforms/SROA/phi-with-duplicate-pred.ll
The file was modifiedllvm/test/Transforms/SROA/scalable-vectors.ll
The file was modifiedllvm/test/Transforms/SROA/vector-conversion.ll
The file was modifiedllvm/test/Transforms/SROA/2009-02-20-InstCombine-SROA.ll
The file was modifiedllvm/test/Transforms/SROA/alloca-address-space.ll
The file was modifiedllvm/test/Transforms/SROA/pr37267.ll
The file was modifiedllvm/test/Transforms/SROA/tbaa-struct.ll
The file was modifiedllvm/test/Transforms/SROA/std-clamp.ll
The file was modifiedllvm/test/Transforms/SROA/dbg-single-piece.ll
The file was modifiedllvm/test/Transforms/SROA/tbaa-subload.ll
The file was modifiedllvm/test/Transforms/SROA/phi-gep.ll
The file was modifiedllvm/test/Transforms/SROA/select-gep.ll
The file was modifiedllvm/test/Transforms/SROA/alloca-struct.ll
The file was modifiedllvm/test/Transforms/SROA/preserve-nonnull.ll
The file was modifiedllvm/test/Transforms/SROA/addrspacecast.ll
The file was modifiedllvm/test/Transforms/SROA/assume.ll
Commit 9103b73fe05232fb233578117cd62b8b7d5f84c7 by llvm-dev
[X86] Fold MOVMSK(CONCAT(X,Y)) -> MOVMSK(AND/OR(X,Y)) for all_of/any_of patterns

Makes it easier for later folds and avoids unnecessary 256-bit ops (especially on AVX1-only targets where we miss a lot of integer instructions)
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-or-bool.ll
The file was modifiedllvm/test/CodeGen/X86/vector-compare-all_of.ll
The file was modifiedllvm/test/CodeGen/X86/vector-compare-any_of.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/movmsk-cmp.ll
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-and-bool.ll
Commit 4a979c42564e622fdf283ae8d0b7a59ebe567533 by lntue
[libc] Guard sqrt_80_bit_long_double.h header to not be included with aarch64.

Guard sqrt_80_bit_long_double.h header to not be included with aarch64.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D118389
The file was modifiedlibc/src/__support/FPUtil/generic/sqrt.h
Commit e065570c9f1242f6cc3db5e6540890a82271d5ca by rouson
[flang] Expand the semantics test for co_sum

Increase the coverage of standard-conforming and non-conforming
co_sum calls.

Reviewed By: ktras
The file was modifiedflang/test/Semantics/collectives01.f90
Commit 9fd7a2e37917ce1aee379caa016ee6439dc30057 by flo
[ConstraintElimination] Use constraints with 0 or 1 coefficients.

isConditionImplied is able to correctly handle 0 or 1 coefficients, so
let it handle those cases, rather than skipping them.
The file was modifiedllvm/lib/Transforms/Scalar/ConstraintElimination.cpp
The file was modifiedllvm/test/Transforms/ConstraintElimination/empty-constraint.ll
Commit 1fec2154b29f84b53dd578b9f87f34e255630771 by david.green
[ARM][AArch64] Cleanup and autogenerate v8.1a vqdrmlah tests. NFC
The file was modifiedllvm/test/CodeGen/AArch64/arm64-neon-v8.1a.ll
The file was modifiedllvm/test/CodeGen/ARM/neon-v8.1a.ll
The file was modifiedclang/test/CodeGen/arm-v8.1a-neon-intrinsics.c
The file was modifiedclang/test/CodeGen/aarch64-v8.1a-neon-intrinsics.c
Commit b75bdff4a0e91af1237ba77adce2f9fc7198ec26 by malhar.jajoo
Trivial update for debug location in LIT test.

This just updates debug location of a loop in a LIT test to point
to the correct source line.
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/vectorization-remarks-missed.ll
Commit 82973edfb72a95b442fa6d2bb404e15a4031855e by david.green
[ARM][AArch64] Introduce qrdmlah and qrdmlsh intrinsics

Since it's introduction, the qrdmlah has been represented as a qrdmulh
and a sadd_sat. This doesn't produce the same result for all input
values though. This patch fixes that by introducing a qrdmlah (and
qrdmlsh) intrinsic specifically for the vqrdmlah and sqrdmlah
instructions. The old test cases will now produce a qrdmulh and sqadd,
as expected.

Fixes #53120 and #50905 and #51761.

Differential Revision: https://reviews.llvm.org/D117592
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedclang/test/CodeGen/arm-v8.1a-neon-intrinsics.c
The file was modifiedllvm/include/llvm/IR/IntrinsicsARM.td
The file was modifiedclang/include/clang/Basic/arm_neon.td
The file was modifiedllvm/test/CodeGen/AArch64/arm64-neon-v8.1a.ll
The file was modifiedllvm/lib/Target/ARM/ARMInstrNEON.td
The file was modifiedclang/test/CodeGen/aarch64-v8.1a-neon-intrinsics.c
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.td
The file was modifiedllvm/test/CodeGen/ARM/neon-v8.1a.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrFormats.td
The file was modifiedllvm/include/llvm/IR/IntrinsicsAArch64.td
Commit 9be5f4d5afd9a1b6e88a268f6ea6eb282d77d9fe by arthur.j.odwyer
[clang] Don't typo-fix an expression in a SFINAE context.

If this is a SFINAE context, then continuing to look up names
(in particular, to treat a non-function as a function, and then
do ADL) might too-eagerly complete a type that it's not safe to
complete right now. We should just say "okay, that's a substitution
failure" and not do any more work than absolutely required.

Fixes #52970.

Differential Revision: https://reviews.llvm.org/D117603
The file was addedclang/test/SemaCXX/PR52970.cpp
The file was modifiedclang/lib/Sema/Sema.cpp
The file was modifiedclang/lib/Sema/SemaExprMember.cpp
Commit 8c98ce4dfa7966db48ca22ae6b2a9b6c3cc69648 by arthur.j.odwyer
[libc++] Fix a typo in reverse_iterator::operator=.

We should be checking `is_assignable<It&, ...>`.
`is_assignable<It, ...>` checks for an rvalue left-hand side, which
is basically never assignable-to.
Found while looking into https://cplusplus.github.io/LWG/issue3435 .

Differential Revision: https://reviews.llvm.org/D117660
The file was modifiedlibcxx/include/__iterator/reverse_iterator.h
Commit 9021f3682c973f04b0595c6b6b567a58887d34f5 by arthur.j.odwyer
[libc++] [ranges] ref_view and empty_view are borrowed ranges. Normalize borrowed_range tests.

Differential Revision: https://reviews.llvm.org/D118164
The file was modifiedlibcxx/test/std/ranges/range.factories/range.iota.view/borrowing.compile.pass.cpp
The file was modifiedlibcxx/include/__ranges/ref_view.h
The file was removedlibcxx/test/std/ranges/range.utility/range.subrange/enable_borrowed_range.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.reverse/borrowing.compile.pass.cpp
The file was addedlibcxx/test/std/ranges/range.factories/range.single.view/borrowing.compile.pass.cpp
The file was removedlibcxx/test/std/ranges/range.adaptors/range.ref.view.pass.cpp
The file was addedlibcxx/test/std/ranges/range.utility/range.subrange/borrowing.compile.pass.cpp
The file was addedlibcxx/test/std/ranges/range.adaptors/range.all/range.ref.view/borrowing.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.common.view/borrowing.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.take/borrowing.compile.pass.cpp
The file was addedlibcxx/test/std/ranges/range.adaptors/range.all/range.ref.view/range.ref.view.pass.cpp
The file was modifiedlibcxx/test/support/test_range.h
The file was addedlibcxx/test/std/ranges/range.adaptors/range.empty/borrowing.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.all/range.owning.view/borrowing.compile.pass.cpp
The file was modifiedlibcxx/include/__ranges/empty_view.h
Commit 024a1fab5c35f630c0b7de721eba497692d081fe by rob.suderman
[tosa][mlir] Add dynamic shape support for remaining ops

Added support for concat, tile, pad, argmax and table ops

Reviewed By: rsuderman

Differential Revision: https://reviews.llvm.org/D118397
The file was modifiedmlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir
The file was modifiedmlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
Commit 70e1cc67926dc43a4860156ea3755cebcf97fc09 by craig.topper
[RISCV] Prefer vmslt.vx v0, v8, zero over vmsle.vi v0, v8, -1.

At least when starting from a vmslt.vx intrinsic or ISD::SETLT. We
don't handle the case where the user used vmsle.vx intrinsic with -1.
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-setcc.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/setcc-integer-rv64.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
The file was modifiedllvm/test/CodeGen/RISCV/rvv/setcc-integer-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vmslt-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vmslt-rv64.ll
Commit 5aa24558cfa67e2a2e99c4e9c6d6b68bf372e00e by i
OMPIRBuilder for Interop directive

Implements the OMPIRBuilder portion for the
Interop directive.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D105876
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPConstants.h
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
The file was modifiedclang/lib/CodeGen/CodeGenFunction.h
The file was addedclang/test/OpenMP/interop_irbuilder.cpp
The file was modifiedllvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPKinds.def
The file was modifiedclang/lib/CodeGen/CGStmt.cpp
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
Commit 1f26aa42cedc110b5fab7516e33a3c432f473129 by anton
Remove "awaiting-review" labels from closed issues.

Fixes #53451
The file was added.github/workflows/closed-issues.yml
Commit 612f0f4568b9d2cbc809149d4c417bcb5ae0d062 by ayermolo
[BOLT][DWARF] Fix gdb index section

Since we now re-write .debug_info the DWARF CU Offsets can change.
Just like for .debug_aranges the GDB Index will need to be updated.

Reviewed By: Amir, maksfb

Differential Revision: https://reviews.llvm.org/D118273
The file was addedbolt/test/X86/Inputs/dwarfdump-gdbindex.s
The file was addedbolt/test/X86/Inputs/dwarfdump-gdbindex2.s
The file was modifiedbolt/include/bolt/Core/DebugData.h
The file was modifiedbolt/include/bolt/Rewrite/DWARFRewriter.h
The file was addedbolt/test/X86/gdbindex.test
The file was modifiedbolt/lib/Core/DebugData.cpp
The file was modifiedbolt/lib/Rewrite/DWARFRewriter.cpp
Commit f44e41af412196c8bd5ba0997460e96e17d3b969 by i
Runtime for Interop directive

This implements the runtime portion of the interop directive.
It expects the frontend and IRBuilder portions to be in place
for proper execution. It currently works only for GPUs
and has several TODOs that should be addressed going forward.

Reviewed By: RaviNarayanaswamy

Differential Revision: https://reviews.llvm.org/D106674
The file was modifiedopenmp/libomptarget/include/rtl.h
The file was modifiedopenmp/libomptarget/include/omptargetplugin.h
The file was modifiedopenmp/runtime/src/kmp_ftn_os.h
The file was modifiedopenmp/runtime/src/kmp_ftn_entry.h
The file was addedopenmp/libomptarget/src/interop.cpp
The file was modifiedopenmp/libomptarget/plugins/cuda/src/rtl.cpp
The file was modifiedopenmp/libomptarget/plugins/exports
The file was modifiedopenmp/libomptarget/src/CMakeLists.txt
The file was modifiedopenmp/libomptarget/src/private.h
The file was modifiedopenmp/libomptarget/src/rtl.cpp
The file was addedopenmp/libomptarget/test/offloading/interop.c
The file was addedopenmp/libomptarget/include/interop.h
The file was modifiedopenmp/libomptarget/include/omptarget.h
The file was modifiedopenmp/runtime/src/dllexports
The file was modifiedopenmp/libomptarget/src/exports
Commit 39057240f59b348e42c9807ab0d6eb85ccc229ad by craig.topper
[RISCV] Use std::map::count != 0 instead of std::map::count == 1. NFC

Maps always return 0 or 1 for count. Comparing to 0 can create
simpler compiled code.

Someday we'll get to use std::map::contains.
The file was modifiedllvm/lib/Support/RISCVISAInfo.cpp
Commit 4cb1686bfe8ef847b583922bb5650c33453ad096 by hokein.wu
[clangd] Fix a selection tree crash for unmatched-bracket code.

Fixes https://github.com/clangd/clangd/issues/999

Differential Revision: https://reviews.llvm.org/D118322
The file was modifiedclang-tools-extra/clangd/unittests/SelectionTests.cpp
The file was modifiedclang-tools-extra/clangd/Selection.cpp
Commit 0cf75aac42eb6bd800405d152dfe7414a9ab6d99 by hokein.wu
[clangd] Enable hover on character literal.

In the initial hover expression patch (https://reviews.llvm.org/D72500), we
disabled all literals.

There is some value on running hover on character literals (e.g. see the
int value of the char).

Differential Revision: https://reviews.llvm.org/D117864
The file was modifiedclang-tools-extra/clangd/unittests/HoverTests.cpp
The file was modifiedclang-tools-extra/clangd/Hover.cpp
Commit dc2b01b3f7b0e89cb57a29542da2492276c61678 by sivachandra
[libc] Add POSIX close, fsync, open, read and write functions.

They are implemented as simple syscall wrappers. The file creation
macros have been put in a header file as a temporary solution until we
have a cleaner approach to listing platform relevant macros.

Reviewed By: abrachet

Differential Revision: https://reviews.llvm.org/D118396
The file was addedlibc/src/fcntl/linux/CMakeLists.txt
The file was addedlibc/src/unistd/linux/fsync.cpp
The file was modifiedlibc/src/CMakeLists.txt
The file was removedlibc/test/src/unistd/write_test.cpp
The file was modifiedlibc/config/linux/x86_64/entrypoints.txt
The file was modifiedlibc/src/unistd/linux/write.cpp
The file was modifiedlibc/test/src/unistd/CMakeLists.txt
The file was modifiedlibc/src/unistd/linux/CMakeLists.txt
The file was addedlibc/src/unistd/fsync.h
The file was addedlibc/src/fcntl/linux/open.cpp
The file was modifiedlibc/spec/posix.td
The file was addedlibc/include/llvm-libc-macros/linux/CMakeLists.txt
The file was modifiedlibc/include/llvm-libc-types/CMakeLists.txt
The file was addedlibc/include/llvm-libc-types/mode_t.h
The file was modifiedlibc/src/unistd/CMakeLists.txt
The file was modifiedlibc/include/CMakeLists.txt
The file was addedlibc/include/fcntl.h.def
The file was modifiedlibc/config/linux/api.td
The file was addedlibc/src/unistd/close.h
The file was addedlibc/include/llvm-libc-macros/fcntl-macros.h
The file was addedlibc/src/fcntl/CMakeLists.txt
The file was addedlibc/src/fcntl/open.h
The file was addedlibc/src/unistd/linux/close.cpp
The file was addedlibc/include/llvm-libc-macros/linux/fcntl-macros.h
The file was addedlibc/src/unistd/linux/read.cpp
The file was addedlibc/test/src/unistd/read_write_test.cpp
The file was addedlibc/src/unistd/read.h
The file was addedlibc/include/llvm-libc-macros/CMakeLists.txt
Commit 1e1215689656459ad41d4501d9204dcea4004a71 by i
[OpenMP][NFCI] Pipe the IdentTy object through more new RT functions

IdentTy objects are useful for debugging and profiling so we want to
keep them around in more places, especially those that have a large
impact on performance, e.g., everything related to state.

Reviewed By: tianshilei1992

Differential Revision: https://reviews.llvm.org/D112494
The file was modifiedopenmp/libomptarget/DeviceRTL/src/Tasking.cpp
The file was modifiedopenmp/libomptarget/DeviceRTL/src/State.cpp
The file was modifiedopenmp/libomptarget/DeviceRTL/include/State.h
The file was modifiedopenmp/libomptarget/DeviceRTL/src/Parallelism.cpp
Commit 13d89477be56e60d7c953569347b76c24c34546a by snehasishk
[InstrProf][NFC] Refactor Profile kind into a bitset enum.

This change refactors the ProfileKind enum into a bitset enum to
represent the different attributes a profile can have. This change
simplifies the logic in the instrprof writer when multiple profiles are
merged together. In the future we plan on introducing a new memory
profile section which will extend the enum by one additional entry.
Without this change when accounting for memory profiles will have to be
maintained separately and will make the logic more complex.

Differential Revision: https://reviews.llvm.org/D115393
The file was modifiedllvm/include/llvm/ProfileData/InstrProfWriter.h
The file was modifiedllvm/include/llvm/ProfileData/InstrProf.h
The file was modifiedllvm/lib/ProfileData/InstrProfWriter.cpp
The file was modifiedllvm/include/llvm/ProfileData/InstrProfReader.h
The file was modifiedllvm/tools/llvm-profdata/llvm-profdata.cpp
The file was modifiedllvm/lib/ProfileData/InstrProfReader.cpp
Commit fdd4269f2e0c1c7fdee28aa7d10e0940476c0be8 by sivachandra
[libc] Revert "Guard sqrt_80_bit_long_double.h header to not be included with aarch64."

This reverts commit 4a979c42564e622fdf283ae8d0b7a59ebe567533.
The file was modifiedlibc/src/__support/FPUtil/generic/sqrt.h
Commit 4beba3a32a6537b80e88ea7c5e4f5a425599ca5d by sivachandra
[libc] Revert "Refactor sqrt implementations and add tests for generic sqrt implementations."

This reverts commit 21c4c82c2026bac1f53be54923c0663d41d0a0aa.
The file was modifiedlibc/test/src/math/CMakeLists.txt
The file was removedlibc/test/src/math/generic_sqrtf_test.cpp
The file was addedlibc/src/math/x86_64/sqrt.cpp
The file was modifiedlibc/src/math/generic/sqrt.cpp
The file was addedlibc/src/__support/FPUtil/Sqrt.h
The file was modifiedlibc/src/math/generic/sqrtl.cpp
The file was modifiedlibc/src/math/generic/sqrtf.cpp
The file was modifiedlibc/src/math/generic/CMakeLists.txt
The file was removedlibc/test/src/math/generic_sqrtl_test.cpp
The file was modifiedlibc/src/__support/FPUtil/CMakeLists.txt
The file was addedlibc/src/math/x86_64/sqrtf.cpp
The file was modifiedlibc/src/math/x86_64/CMakeLists.txt
The file was removedlibc/src/__support/FPUtil/aarch64/sqrt.h
The file was removedlibc/src/__support/FPUtil/generic/sqrt_80_bit_long_double.h
The file was addedlibc/src/__support/FPUtil/x86_64/SqrtLongDouble.h
The file was modifiedlibc/src/math/aarch64/CMakeLists.txt
The file was modifiedutils/bazel/llvm-project-overlay/libc/BUILD.bazel
The file was removedlibc/src/__support/FPUtil/x86_64/sqrt.h
The file was removedlibc/src/__support/FPUtil/generic/sqrt.h
The file was removedlibc/src/__support/FPUtil/sqrt.h
The file was removedlibc/src/__support/FPUtil/generic/CMakeLists.txt
The file was addedlibc/src/math/x86_64/sqrtl.cpp
The file was removedlibc/test/src/math/generic_sqrt_test.cpp
Commit 15dfe7a3f12c4862999e275195a14ef746ab975a by hokein.wu
[clangd] Fix a typo , => ; in hovertest.

I somehow missed it.
The file was modifiedclang-tools-extra/clangd/unittests/HoverTests.cpp
Commit 492cbbc36a8fcc4414e09950c2a09d701dbd3d0e by daltenty
[compiler-rt][profile][AIX] pass extra link opts for test

This is a follow up to D118101, that added bexpfull to the test on instrprof-get-filename-merge-mode.c AIX, in order to get the
necessary symbols exported. But unfortunately the extra dependent symbols this exports actually cause segfaults, which is why
this isn't really recommended in the first place, so just use an actual export list.

Differential Revision: https://reviews.llvm.org/D118310
The file was modifiedcompiler-rt/test/profile/Posix/instrprof-get-filename-merge-mode.c
The file was modifiedcompiler-rt/test/profile/Posix/lit.local.cfg.py
Commit cd317637708decd8faf34dd9773a8b2dec424010 by srastogi22
Disable TestLldbGdbServer on Dwarf2 and clang versions below 14

We have been noticing issues with the lldb bots on builds using versions below clang 14 and dwarf 2, so to make sure we can get clean builds for a while, we are disabling the tests for those versions

Differential Revision: https://reviews.llvm.org/D118395
The file was modifiedlldb/test/API/tools/lldb-server/TestLldbGdbServer.py
Commit 84fe34a0b7fdd7bbf179981d1583693d5d5ec68b by stephen.neuendorffer
[MLIR] Workaround for python detection problems.

Although cmake should be platform-independent, we've observed
that some aspects of Python detection don't work on all platforms,
even with recent versions of cmake.  This appears to be due to bugs
in the python detection logic, especially when the NumPy component
is required and not located within the python installation.
As a workaround, this patch first searches for "Development" before
searching for "Development.Module", which seems to workaround the
issue.

Differential Revision: https://reviews.llvm.org/D118148
The file was modifiedmlir/cmake/modules/MLIRDetectPythonEnv.cmake
Commit a57ccad5a6a55f127df79adf86ccd169e9d6ccc8 by thomasraoux
[VectorToGPU] Fix horizontal stride calculation for N-D memref

Fix a bug in how we calculate the stride of mma load/store ops for N-D
memrefs

Differential Revision: https://reviews.llvm.org/D118378
The file was modifiedmlir/test/Conversion/VectorToGPU/vector-to-mma-ops.mlir
The file was modifiedmlir/lib/Conversion/VectorToGPU/VectorToGPU.cpp
Commit ee54868a76e32fdfa8d1efe5e418460e54246a4e by srastogi22
Revert "Disable TestLldbGdbServer on Dwarf2 and clang versions below 14"

This reverts commit cd317637708decd8faf34dd9773a8b2dec424010.
The file was modifiedlldb/test/API/tools/lldb-server/TestLldbGdbServer.py
Commit fa90c9d5e7a310ea87b7032c39c0ca657c794abc by saurabh.jhaa
[mlir] Set up boilerplate build for MLIR benchmarks

This is is the start of the MLIR benchmarks. It sets up a command
line tool along with conventions to define and run benchmarks
using mlir's python bindings.

Reviewed By: aartbik

Differential Revision: https://reviews.llvm.org/D115174
The file was addedmlir/utils/mbr/mbr/main.py
The file was modifiedmlir/CMakeLists.txt
The file was addedmlir/utils/mbr/CMakeLists.txt
The file was addedmlir/utils/mbr/mbr/__init__.py
The file was addedmlir/utils/mbr/setup.py
The file was addedmlir/utils/mbr/README.md
The file was addedmlir/utils/mbr/mbr/config.ini
The file was addedmlir/benchmark/python/benchmark_sparse.py
The file was addedmlir/benchmark/python/common.py
The file was addedmlir/benchmark/python/__init__.py
The file was addedmlir/utils/mbr/mbr/stats.py
The file was addedmlir/utils/mbr/mlir-mbr.in
The file was addedmlir/utils/mbr/mbr/discovery.py
The file was addedmlir/utils/mbr/requirements.txt
Commit 63cf2063a20bf051b7d7d748311b0e0c426a56c1 by aeubanks
[NFC][Clang][OpaquePtr] Move away from deprecated Address constructor in EmitNewArrayInitializer()

Specify the Address element type, which is the same for all pointers in the array.
The file was modifiedclang/lib/CodeGen/CGExprCXX.cpp
Commit 867fdec1945df3c1031d3cefdc97903131a3482b by srastogi22
Disable TestLldbGdbServer on Dwarf2 and clang versions below 14

We have been noticing issues with the lldb bots on builds using versions below clang 14 and dwarf 2, so to make sure we can get clean builds for a while, we are disabling the tests for those versions

Differential Revision: https://reviews.llvm.org/D118395
The file was modifiedlldb/test/API/tools/lldb-server/TestLldbGdbServer.py
Commit cd20e579df07517a4ddbf6eef58b96d04f6bd9a9 by mgorny
[unwind] fix build with GCC on PPC32

Originally reported downstream in Gentoo: https://bugs.gentoo.org/832140

```
/var/tmp/portage/sys-libs/llvm-libunwind-13.0.0/work/libunwind/src/libunwind.cpp:77:3: error: #error Architecture not supported
   77 | # error Architecture not supported
      |   ^~~~~
[...]
/var/tmp/portage/sys-libs/llvm-libunwind-13.0.0/work/libunwind/src/libunwind.cpp: In function ‘int __unw_init_local(unw_cursor_t*, unw_context_t*)’:
/var/tmp/portage/sys-libs/llvm-libunwind-13.0.0/work/libunwind/src/libunwind.cpp:80:57: error: ‘REGISTER_KIND’ was not declared in this scope
   80 |   new (reinterpret_cast<UnwindCursor<LocalAddressSpace, REGISTER_KIND> *>(cursor))
      |                                                         ^~~~~~~~~~~~~
[...]
```

PPC is actually a supported architecture, but GCC (tested with 11.2.0)
on powerpc32 seems to only define: `__PPC__, _ARCH_PPC, __PPC,
__powerpc` and //not// `__ppc__`.

This instead uses `__powerpc__` which should be around on PPC32
and PPC64 (but we check it after PPC64, so it's fine).

Signed-off-by: Sam James <sam@gentoo.org>
Differential Revision: https://reviews.llvm.org/D118320
The file was modifiedlibunwind/src/libunwind.cpp
The file was modifiedlibunwind/src/UnwindRegistersRestore.S
The file was modifiedlibunwind/src/UnwindRegistersSave.S
The file was modifiedlibunwind/src/assembly.h
The file was modifiedlibunwind/src/config.h
The file was modifiedlibunwind/include/__libunwind_config.h
Commit 02ae5e9fbf48630d18802f766008ad6df88027ed by Louis Dionne
[libc++] Add documentation about the libc++ review group

This explains stuff that most contributors already know, but it's always
good to write down explicitly.

Differential Revision: https://reviews.llvm.org/D118278
The file was modifiedlibcxx/docs/Contributing.rst
Commit f541a5048a12b5fdd8a6ae1b6d1bd67366f00ecf by paulsson
[SystemZ] Implement orderFrameObjects().

By reordering the objects on the stack frame after looking at the users, a
better utilization of displacement operands will result. This means less
needed Load Address instructions for the accessing of these objects.

This is important for very large functions where otherwise small changes
could cause a lot more/less accesses go out of range.

Note: this is not yet enabled for SystemZXPLINKFrameLowering, but should be.

Review: Ulrich Weigand

Differential Revision: https://reviews.llvm.org/D115690
The file was modifiedllvm/test/CodeGen/SystemZ/args-11.ll
The file was modifiedllvm/test/DebugInfo/SystemZ/variable-loc.ll
The file was modifiedllvm/test/CodeGen/SystemZ/foldmemop-imm-02.mir
The file was modifiedllvm/test/CodeGen/SystemZ/foldmemop-msc.mir
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/systemz_generated_funcs.ll.nogenerated.expected
The file was modifiedllvm/lib/Target/SystemZ/SystemZFrameLowering.h
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/systemz_generated_funcs.ll.generated.expected
The file was modifiedllvm/test/CodeGen/SystemZ/foldmemop-imm-01.ll
The file was modifiedllvm/lib/Target/SystemZ/SystemZFrameLowering.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZInstrInfo.h
The file was modifiedllvm/test/CodeGen/SystemZ/vector-constrained-fp-intrinsics.ll
The file was addedllvm/test/CodeGen/SystemZ/frame-27.mir
The file was modifiedllvm/test/CodeGen/SystemZ/int-conv-01.ll
The file was modifiedllvm/test/CodeGen/SystemZ/int-conv-02.ll
The file was modifiedllvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
The file was modifiedllvm/test/CodeGen/SystemZ/int-conv-06.ll
Commit cf93a085754e221f73a2877c946dcb2beb6039d7 by srastogi22
Fixed typos in TestLldbGdbServer.py

Fixed more typos
The file was modifiedlldb/test/API/tools/lldb-server/TestLldbGdbServer.py
Commit 9ca9fee6e8440d31b121773c9aa9513296a3ca26 by paulsson
[SystemZ] Don't shrink 64-bit FP constants.

Return false from ShouldShrinkFPConstant(), so that these constants are stored
in their full size on the constant pool, even if they could have been shrunk
and used with an extending load.

This is better since LD is faster than LDE, and it also enables reg/mem opcodes.

Review: Ulrich Weigand

Differential Revision: https://reviews.llvm.org/D117927
The file was modifiedllvm/lib/Target/SystemZ/SystemZISelLowering.h
The file was modifiedllvm/test/CodeGen/SystemZ/fp-conv-12.ll
The file was modifiedllvm/test/CodeGen/SystemZ/args-07.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-conv-10.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-strict-conv-12.ll
The file was modifiedllvm/test/CodeGen/SystemZ/vector-constrained-fp-intrinsics.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-strict-conv-10.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-const-04.ll
Commit f17123831e47073f7850ea17560bc1f756b65298 by aeubanks
[NFC][Clang][OpaquePtr] Move away from deprecated Address constructor in CreateTempAlloca()

Specify the Address element type, which is the bitcast destination type.
(the whole bitcast won't be needed after opaque pointers)
The file was modifiedclang/lib/CodeGen/CGExpr.cpp
Commit 11c2ef5638c3cff489744f1d342cd92e2a864614 by mgorny
unwind: fix typo for __powerpc__

Fixes: cd20e579df07517a4ddbf6eef58b96d04f6bd9a9
Signed-off-by: Sam James <sam@gentoo.org>
The file was modifiedlibunwind/src/UnwindRegistersSave.S
Commit e900f0584e904e884207e40c80a8126824ef4c41 by och95
[BOLT] Fix AARCH64 registers aliasing

The aarch64 platform has special registers like X0_X1_X2_X3_X4_X5_X6_X7.
Using the downwards propagation this register will become a super
register for all X0..X7 and its super registers which is not right. This
patch replaces the downwards propagation with caching all the aliases using MCRegAliasIterator.

Vladislav Khmelevsky,
Advanced Software Technology Lab, Huawei

Reviewed By: maksfb

Differential Revision: https://reviews.llvm.org/D117394
The file was modifiedbolt/unittests/CMakeLists.txt
The file was addedbolt/unittests/Core/CMakeLists.txt
The file was modifiedbolt/lib/Core/MCPlusBuilder.cpp
The file was addedbolt/unittests/Core/MCPlusBuilder.cpp
Commit d5ab243c6f79f881121a80487f0879d2ab0acc41 by bcain
Omit atomic_{,un}signed_lock_free if unsupported

On targets that have limited atomic support, e.g. ones that define
ATOMIC_*_LOCK_FREE to '1' ("sometimes lock free"), we would end up
referencing yet-undefined __libcpp_{,un}signed_lock_free.

This commit adds a guard to prevent these references for such
targets.

Differential Revision: https://reviews.llvm.org/D118391
The file was modifiedlibcxx/include/atomic
Commit f9a00b3cbc580cf79688fa813c6e898e90b4fd43 by arthur.j.odwyer
Revert "[clang] Don't typo-fix an expression in a SFINAE context."

This reverts commit 9be5f4d5afd9a1b6e88a268f6ea6eb282d77d9fe.

I'm not sure if this caused
https://lab.llvm.org/buildbot/#/builders/60/builds/6350
https://lab.llvm.org/buildbot/#/builders/119/builds/7433
but I'm acting as if it did.
The file was modifiedclang/lib/Sema/Sema.cpp
The file was removedclang/test/SemaCXX/PR52970.cpp
The file was modifiedclang/lib/Sema/SemaExprMember.cpp
Commit 6e8a66bdad59d7e1bd87528c0fbefc88ae761ca2 by aeubanks
[NFC][Clang][OpaquePtr] Move away from deprecated Address constructor in EmitCXXMemberDataPointerAddress()
The file was modifiedclang/lib/CodeGen/CGClass.cpp
Commit 662ef6d177fe8eec7f88f523293eec44f238a2aa by aeubanks
[NFC][Clang][OpaquePtr] Move away from deprecated Address constructor in VisitArrayInitLoopExpr

With this we can bootstrap an `-O0 -g0` clang with `-mllvm -opaque-pointers`!
The file was modifiedclang/lib/CodeGen/CGExprAgg.cpp
Commit bf20a09790cb2e5194f3f008ec1f2edbd4e2f709 by arthur.j.odwyer
[libc++] [P1614] Implement the second half of [cmp.alg]: compare_{strong,weak,partial}_fallback.

The tests for these are just copy-pasted from the tests for std::{strong,weak,partial}_order,
and then I added an extra clause in each (test_2()) to test the stuff that's not just the same
as std::*_order.

This also includes the fix for https://wg21.link/LWG3465 (which falls naturally out of the
"you must write it three times" style, but I've added test cases for it also).

There is an action item here to go back and give good diagnostics for SFINAE failures
in these CPOs. I've filed this as https://github.com/llvm/llvm-project/issues/53456 .

Differential Revision: https://reviews.llvm.org/D111514
The file was modifiedlibcxx/test/std/library/description/conventions/customization.point.object/cpo.compile.pass.cpp
The file was addedlibcxx/include/__compare/compare_partial_order_fallback.h
The file was addedlibcxx/test/std/language.support/cmp/cmp.alg/compare_strong_order_fallback.pass.cpp
The file was modifiedlibcxx/docs/Status/SpaceshipProjects.csv
The file was modifiedlibcxx/docs/Status/Cxx2bIssues.csv
The file was addedlibcxx/test/libcxx/diagnostics/detail.headers/compare/compare_partial_order_fallback.module.verify.cpp
The file was addedlibcxx/include/__compare/compare_strong_order_fallback.h
The file was addedlibcxx/include/__compare/compare_weak_order_fallback.h
The file was modifiedlibcxx/docs/Status/Spaceship.rst
The file was modifiedlibcxx/include/module.modulemap
The file was addedlibcxx/test/libcxx/diagnostics/detail.headers/compare/compare_strong_order_fallback.module.verify.cpp
The file was modifiedlibcxx/include/compare
The file was addedlibcxx/test/std/language.support/cmp/cmp.alg/compare_partial_order_fallback.pass.cpp
The file was addedlibcxx/test/libcxx/diagnostics/detail.headers/compare/compare_weak_order_fallback.module.verify.cpp
The file was modifiedlibcxx/include/CMakeLists.txt
The file was addedlibcxx/test/std/language.support/cmp/cmp.alg/compare_weak_order_fallback.pass.cpp
Commit aa53d0781b887eae3e8a5025989f5ffaaa4ec7fa by llvmgnsyncbot
[gn build] Port bf20a09790cb
The file was modifiedllvm/utils/gn/secondary/libcxx/include/BUILD.gn
Commit 1e3a02162db20264e9615b1346420c8d199cb347 by jeffniu22
[mlir][scf] Update IfOp to have getInvocationBounds

This allows `scf.if` to be used by Control-Flow sink.

Depends on D115088

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D115089
The file was modifiedmlir/lib/Dialect/SCF/SCF.cpp
The file was modifiedmlir/include/mlir/Dialect/SCF/SCFOps.td
The file was modifiedmlir/include/mlir/Interfaces/ControlFlowInterfaces.td
The file was addedmlir/test/Dialect/SCF/control-flow-sink.mlir
Commit 2945f11c605b059446ac997f62458a6c489e46f7 by jhuber6
[OpenMP] Only generate runtime flags with host input

This patch changes the code generation of runtime flags to only occur if
a host bitcode file was passed in. This is a cheap way to determine if
we are compiling the OpenMP device runtime itself or user code. This is
needed because the global flags we generate for the device runtime e.g.
__omp_rtl_debug_kind were being generated with default values when we
compiled the runtime library. This would then invalidate the ones we
want to be able to add in when the user defines it.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D118399
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
The file was modifiedclang/test/OpenMP/target_globals_codegen.cpp
Commit 27c799ecc9e9e3bfb8232c93fd500f45ca0cb345 by jhuber6
[OpenMP] Ensure broken assumptions print once, not thousands of times.

If we have a broken assumption we want to print a message to the user.
If the assumption is broken by many threads in many teams this can
become a problem. To avoid it we use a hash that tracks if a broken
assumption has (likely) been printed and avoid printing it again. This
is not fool proof and has some caveats that might cause problems in
the future (see comment) but it should improve the situation
considerably for now.

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D112156
The file was modifiedopenmp/libomptarget/DeviceRTL/include/Debug.h
The file was modifiedopenmp/libomptarget/DeviceRTL/include/Utils.h
The file was modifiedopenmp/libomptarget/DeviceRTL/include/Synchronization.h
The file was modifiedopenmp/libomptarget/DeviceRTL/src/Synchronization.cpp
Commit 0c425b43b952f4f5a93792437c52d5b6e43c74d3 by aeubanks
[gn build] Add support for check-asan

With these changes, check-asan passes on Linux and Windows.

There are a couple libraries we need to add support for, asan_static, asan_preinit, and the shared library version of asan proper.
Since we need to build the asan proper sources twice, once with -DASAN_DYNAMIC and once without, those sources are no longer in a source_set.
Much of the check-asan target is taken from the existing check-hwasan target.

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D118307
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/sanitizer_common/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/BUILD.gn
The file was addedllvm/utils/gn/secondary/compiler-rt/test/asan/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/ubsan/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/compiler-rt/test/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/asan/BUILD.gn
The file was modifiedllvm/utils/gn/build/BUILD.gn
Commit bddc814b442ae9f30d62e2f881274d6255411225 by Vitaly Buka
[msan] Copy origin of byval arguments

Depends on D117278

Reviewed By: kda, eugenis

Differential Revision: https://reviews.llvm.org/D117285
The file was modifiedllvm/test/Instrumentation/MemorySanitizer/byval.ll
The file was modifiedllvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
Commit 912f1c8ce355339aaab281f5908e349453b76eca by thakis
[gn build] slighly reformat files to make sync script work
The file was modifiedcompiler-rt/lib/ubsan/CMakeLists.txt
The file was modifiedcompiler-rt/lib/asan/CMakeLists.txt
The file was modifiedcompiler-rt/lib/sanitizer_common/CMakeLists.txt

Summary

  1. [lldb, win] Skip watchpoint tests on the Windows lldb bot (details)
Commit 20fea9d14963ad06b53bd489e4fd312b663fe269 by stilis
[lldb, win] Skip watchpoint tests on the Windows lldb bot

The watchpoint tests are particularly fragile, so skip these on the Windows buildbot.

Reviewed By: gkistanova, JDevlieghere

Differential Revision: https://reviews.llvm.org/D118403
The file was modifiedbuildbot/osuosl/master/config/builders.py