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 copyable. Differential Revision: https://reviews.llvm.org/D71134
|
 | clang/lib/Sema/SemaOpenMP.cpp |
 | clang/test/OpenMP/distribute_simd_loop_messages.cpp |
 | clang/test/OpenMP/teams_distribute_simd_loop_messages.cpp |
 | clang/test/OpenMP/distribute_parallel_for_lastprivate_messages.cpp |
 | clang/test/OpenMP/distribute_simd_lastprivate_messages.cpp |
 | clang/test/OpenMP/distribute_simd_linear_messages.cpp |
 | clang/test/OpenMP/teams_distribute_simd_aligned_messages.cpp |
 | clang/test/OpenMP/target_firstprivate_messages.cpp |
 | clang/test/OpenMP/target_teams_distribute_firstprivate_messages.cpp |
 | clang/test/OpenMP/distribute_simd_firstprivate_messages.cpp |
 | clang/test/OpenMP/teams_distribute_simd_linear_messages.cpp |
 | clang/test/OpenMP/target_parallel_for_private_messages.cpp |
 | clang/test/OpenMP/target_simd_private_messages.cpp |
 | clang/test/OpenMP/target_parallel_for_simd_private_messages.cpp |
 | clang/test/OpenMP/distribute_parallel_for_private_messages.cpp |
 | clang/test/OpenMP/target_private_messages.cpp |
 | clang/test/OpenMP/distribute_parallel_for_firstprivate_messages.cpp |
 | clang/test/OpenMP/distribute_parallel_for_reduction_messages.cpp |
 | clang/test/OpenMP/teams_distribute_parallel_for_simd_loop_messages.cpp |
 | clang/test/OpenMP/distribute_firstprivate_messages.cpp |
 | clang/test/OpenMP/distribute_simd_private_messages.cpp |
 | clang/test/OpenMP/teams_distribute_loop_messages.cpp |
 | clang/test/OpenMP/distribute_parallel_for_simd_private_messages.cpp |
 | clang/test/OpenMP/distribute_parallel_for_simd_shared_messages.cpp |
 | clang/test/OpenMP/teams_distribute_parallel_for_simd_linear_messages.cpp |
 | clang/test/OpenMP/distribute_simd_aligned_messages.cpp |
 | clang/test/OpenMP/teams_distribute_parallel_for_loop_messages.cpp |
 | clang/test/OpenMP/teams_distribute_parallel_for_simd_aligned_messages.cpp |
 | clang/include/clang/Basic/DiagnosticSemaKinds.td |
 | clang/test/OpenMP/distribute_simd_reduction_messages.cpp |
 | clang/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 <rcor.cs@gmail.com> Reviewers: fhahn, lebedev.ri, spatel Reviewed By: spatel Differential Revision: https://reviews.llvm.org/D69963
|
 | llvm/lib/Transforms/Utils/SimplifyCFG.cpp |
 | llvm/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: https://reviews.llvm.org/D71162
|
 | llvm/test/CodeGen/BPF/BTF/weak-global-2.ll |
 | llvm/lib/Target/BPF/BTFDebug.cpp |
 | llvm/test/CodeGen/BPF/BTF/weak-global.ll |
Commit
c25de56905b104fb2b90559ce5863f4fec93a974
by flo[SimplifyCFG] Account for N being null. Fixes a crash, e.g. http://lab.llvm.org:8011/builders/clang-with-lto-ubuntu/builds/15119/
|
 | llvm/lib/Transforms/Utils/SimplifyCFG.cpp |
Commit
6dcb1003f2022cba36e9f5a6d39648c3a3a213a0
by aaronOptionally exclude bitfield definitions from magic numbers check Adds the IgnoreBitFieldsWidths option to readability-magic-numbers.
|
 | clang-tools-extra/test/clang-tidy/checkers/readability-magic-numbers-bitfields.cpp |
 | clang-tools-extra/test/clang-tidy/checkers/readability-magic-numbers.cpp |
 | clang-tools-extra/clang-tidy/readability/MagicNumbersCheck.h |
 | clang-tools-extra/docs/clang-tidy/checks/readability-magic-numbers.rst |
 | clang-tools-extra/clang-tidy/readability/MagicNumbersCheck.cpp |
 | clang-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 -Wcovered-switch-default. 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 getVectorComparison (SystemZISelLowering.cpp).
|
 | llvm/lib/Target/SystemZ/SystemZISelLowering.cpp |
Commit
4ec7bb42aa67b8a03a9be497dd44195990c3ac74
by Saleem AbdulrasoolSymbol: 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.
|
 | lldb/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: https://reviews.llvm.org/D71071
|
 | llvm/lib/Transforms/Vectorize/LoopVectorize.cpp |
 | llvm/test/Transforms/LoopVectorize/SystemZ/predicated-first-order-recurrence.ll |