[clang] Don't omit null pointer checks with -fms-kernel (#193800)
In kernel space, a null (zero) address may be valid, so treating it as "always invalid" and bypassing null checks is not correct. With -fms-kernel, we override the default behavior and disable assumptions about null pointers. However, -fdelete-null-pointer-checks can still be used to re-enable these optimizations.
[lldb-dap] Make lldbDAP an OBJECT library (NFC) (#196108)
Convert lldbDAP from a static library to an OBJECT library and move its
LINK_COMPONENTS (Option, Support) and LINK_LIBS (liblldb, lldbHost) to
its consumers (the lldb-dap tool and the DAPTests unit test).
This avoids transitive propagation of LLVM's static components through
lldbDAP, which would otherwise collide with the same symbols re-exported
by liblldb when LLDB_EXPORT_ALL_SYMBOLS is enabled, breaking
llvm::Error's RTTI (e.g. ErrorInfoBase::ID) across library boundaries.
Extracted from #189718 for easier reviewing.
Reland "[Driver][HIP/SPIRV] Fix crash when llvm-link is executed" (#196131)
Originally reverted due to possible regression detected by buildbot.
This PR relands https://github.com/llvm/llvm-project/pull/196074.
Failures were due to flaky tests.
[SLP] Add test to demonstrate ordering changes in vectorizeStores() refactor (#196018)
Test is for #193616. Because this test has two overlapping chains with
different VFs, when the ordering that they are attempted to vectorize in
changes, the result will change since the smaller chain cannot vectorize
if the larger chain hasn't already vectorized due to the extract costs.
[OpenMP][amdgpu] Use max teams for amdgpu-max-num-workgroups (#195203)
The min teams value was used to set the amdgpu-max-num-workgroups
attribute. This commit switches to max teams, as done for the nvptx's
attribute.
[Clang] disallow selectany on non-global-variable declarations (#189641)
Fixes #189141
---
This PR prevents a crash by disallowing the use of the `selectany`
attribute in global variable declarations.
[scudo] Dumping allocator config when printStats()
So far printStats() dumps partial information of the allocator config.
Given that user is able to have custom config, we want to dump all the
configurations to reduce variances while reviewing the stats.