1. [OpenMP] Require trivially copyable type for mapping (details)
  2. [SimplifyCFG] Handle AssumptionCache being null. (details)
  3. [BPF] Support weak global variables for BTF (details)
  4. [SimplifyCFG] Account for N being null. (details)
  5. Optionally exclude bitfield definitions from magic numbers check (details)
  6. [SystemZ] Fix build bot failures (details)
  7. Symbol: use elaborated types for `DataExtractor` (details)
  8. [LV] Pick correct BB as insert point when fixing PHI for FORs. (details)
Commit 071dca24cea9dcabe25cbe98c4053d874183be37 by hahnjo
[OpenMP] Require trivially copyable type for mapping
A trivially copyable type provides a trivial copy constructor and a
trivial copy assignment operator. This is enough for the runtime to
memcpy the data to the device. Additionally there must be no virtual
functions or virtual base classes and the destructor is guaranteed to be
trivial, ie performs no action. The runtime does not require trivial
default constructors because on alloc the memory is undefined. Thus,
weaken the warning to be only issued if the mapped type is not trivially
Differential Revision:
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_loop_messages.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_loop_messages.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_lastprivate_messages.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_lastprivate_messages.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_linear_messages.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_aligned_messages.cpp
The file was modifiedclang/test/OpenMP/target_firstprivate_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_firstprivate_messages.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_firstprivate_messages.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_linear_messages.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_private_messages.cpp
The file was modifiedclang/test/OpenMP/target_simd_private_messages.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_private_messages.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_private_messages.cpp
The file was modifiedclang/test/OpenMP/target_private_messages.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_firstprivate_messages.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_reduction_messages.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_loop_messages.cpp
The file was modifiedclang/test/OpenMP/distribute_firstprivate_messages.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_private_messages.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_loop_messages.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_private_messages.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_shared_messages.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_linear_messages.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_aligned_messages.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_loop_messages.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_aligned_messages.cpp
The file was modifiedclang/include/clang/Basic/
The file was modifiedclang/test/OpenMP/distribute_simd_reduction_messages.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_aligned_messages.cpp
Commit d714aa0dfdb16270fc279e8e91d4a83ace531529 by flo
[SimplifyCFG] Handle AssumptionCache being null.
AssumptionCache can be null in SimplifyCFGOptions. However,
FoldCondBranchOnPHI() was not properly handling that when passing a null
AssumptionCache to simplifyCFG.
Patch by Rodrigo Caetano Rocha <>
Reviewers: fhahn, lebedev.ri, spatel
Reviewed By: spatel
Differential Revision:
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
The file was modifiedllvm/unittests/Transforms/Utils/LocalTest.cpp
Commit 5ea611daf9cb51ba3d6492e50a6b568348fb62c0 by yhs
[BPF] Support weak global variables for BTF
Generate types for global variables with "weak" attribute. Keep
allocation scope the same for both weak and non-weak globals as ELF
symbol table can determine whether a global symbol is weak or not.
Differential Revision:
The file was addedllvm/test/CodeGen/BPF/BTF/weak-global-2.ll
The file was modifiedllvm/lib/Target/BPF/BTFDebug.cpp
The file was addedllvm/test/CodeGen/BPF/BTF/weak-global.ll
Commit c25de56905b104fb2b90559ce5863f4fec93a974 by flo
[SimplifyCFG] Account for N being null.
Fixes a crash, e.g.
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
Commit 6dcb1003f2022cba36e9f5a6d39648c3a3a213a0 by aaron
Optionally exclude bitfield definitions from magic numbers check
Adds the IgnoreBitFieldsWidths option to readability-magic-numbers.
The file was addedclang-tools-extra/test/clang-tidy/checkers/readability-magic-numbers-bitfields.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-magic-numbers.cpp
The file was modifiedclang-tools-extra/clang-tidy/readability/MagicNumbersCheck.h
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/readability-magic-numbers.rst
The file was modifiedclang-tools-extra/clang-tidy/readability/MagicNumbersCheck.cpp
The file was modifiedclang-tools-extra/docs/ReleaseNotes.rst
Commit a6fcdb211d259f3a18787da89d9a079a10d4f80f by ulrich.weigand
[SystemZ] Fix build bot failures
My patch 9db13b5a7d43096a9ab5f7cef6e1b7e2dc9c9c63 seems to have caused
some build bots to fail due to warnings that appear only when using
This patch is an attempt to fix this by trying to avoid both the warning
"default label in switch which covers all enumeration values" for the
inner switch statements and at the same time the warning
"this statement may fall through" for the outer switch statement in
The file was modifiedllvm/lib/Target/SystemZ/SystemZISelLowering.cpp
Commit 4ec7bb42aa67b8a03a9be497dd44195990c3ac74 by Saleem Abdulrasool
Symbol: use elaborated types for `DataExtractor`
Use type elaborated spellings for the parameter to avoid the ambiguity
between `llvm` and `lldb_private` names.  This is needed for building
with Visual Studio.
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
Commit c49194969430f0ee817498a7000a979a7a0ded03 by flo
[LV] Pick correct BB as insert point when fixing PHI for FORs.
Currently we fail to pick the right insertion point when
PreviousLastPart of a first-order-recurrence is a PHI node not in the
LoopVectorBody. This can happen when PreviousLastPart is produce in a
predicated block. In that case, we should pick the insertion point in
the BB the PHI is in.
Fixes PR44020.
Reviewers: hsaito, fhahn, Ayal, dorit
Reviewed By: Ayal
Differential Revision:
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was addedllvm/test/Transforms/LoopVectorize/SystemZ/predicated-first-order-recurrence.ll