[SandboxVec][Legality] Implement unsupported alignment check (#224081)
This patch implements the legality check for unsupported alignment by
the target.
[X86][NewPM] Add UnpackMachineBundlePass to x86 newPM pipeline (#228468)
The pass was not added to x86 newPM pipeline when the pass was ported
here: https://github.com/llvm/llvm-project/pull/184918
[flang] Update leftover tests after merging #226602 (#228540)
#226602 Change the assembly format for the flang dialects. These tests
were likely newer than the last rebase of the PR and need some updates.
[scudo] Disable tagging when running with asan. (#227516)
The fuzzer defaults to running with asan, and adding tags to pointers
confuses asan and causes crashes. Therefore, disable memory tagging when
asan is detected.
[CAS] Support boot time on Windows and tolerate a moving boot time (#227433)
Compute the boot time on Windows from the current time and
GetTickCount64(), so that validate-if-needed can skip validation once
the data has been validated since boot.
A boot time computed from the current time moves when the clock is
adjusted, so a later computation during the same boot can be earlier
than the recorded one, which the exact comparison treated as a reboot.
Treat a recorded boot time that is not earlier than the current one
as the same boot instead, since a reboot always makes the boot time
later.
[NFC][SLP] Make choice of dyn_cast_or_null vs dyn_cast_or_present consistent (#228180)
Are functionally idenitical (dyn_cast_or_null is wrapper around
dyn_cast_if_present). Should be consistent within SLPVectorizer which
one we choose to use.
relayd: do not treat a missing Host header as a url match
Return RES_BAD if the request has no Host header, consistent with the
handling of empty or malformed Host values.
Spotted by Acts1631 (with diff), OK kirill@
[Attributor] Remove unused functions (NFC) (#226906)
AA::isGPUGenericAddressSpace, AA::isGPUGlobalAddressSpace:
Introduced on April 27, 2026 in commit
97dc0fcbceea0871ab86ecf6d534be42b42bc7d3 without any callers.
AADepGraphNode::getDeps:
Introduced on July 28, 2020 in commit
5ee07dc53fcaaad35d33478e8702e443ac1cb058 without any callers.
IRPosition::getNumArgs, IRPosition::getArg:
Introduced on June 19, 2023 in commit
5186c2f9f83131f87ee3dc308ac5f18c019998c5 without any callers.
IRPosition::isReturnPosition (0-argument overload):
Introduced on April 17, 2020 in commit
8228153f87707e9760a648608806cdba5e58141c without any callers.
Attributor::ArgumentReplacementInfo::getReplacementTypes:
[47 lines not shown]
[CIR][mlir] Use cached symbol tables for comdat lookups (#227127)
Every function or global with a comdat looked its selector up by name
with a linear scan of the comdat region, making CIR to LLVM lowering
quadratic in the number of comdats. This happened in three places:
- CIR's lowering of functions and globals: use the patterns' shared
SymbolTableCollection.
- The LLVM dialect comdat verifier, run on every function and global in
each verification: check the comdat in verifySymbolUses, which gets a
SymbolTableCollection.
- ModuleTranslation: use its existing SymbolTableCollection.
On the most expensive self-host TUs this cuts lowering from 30-96 s to
8-11 s and total compile time by 18-61%. Output is unchanged.
Remove implementation details from the NTP server create schema
- Drop the NTPServerCreate docstring
- Give the overridden `address` field its description back; the
generated JSON schema had lost the inherited one
Check chrony server addresses for whitespace in one pass
Use any(c.isspace() ...), which stops at the first whitespace character,
and build the list of servers in the same loop that logs the skipped
ones instead of checking each address twice.
[mlir][acc] Fixes Issue HostDataOp verifier crash on block-argument data operands (#228226)
Used dyn_cast_if_present in HostDataOp::verify so data operands with no
defining op (block arguments) emit "expect data entry operation as
defining op" instead of asserting in dyn_cast.
Fixes #226641
Log the reason when SED initial setup fails
Every failure during SED initial setup returned a status and threw
away the error. A wrong password, a disk that dropped off the bus and
a drive that refused commands all looked the same in the log.
The error is now logged with its traceback before the status is
returned. The returned status does not change.
[mlir][OpenACC] Diagnose unmapped parallel loops in GPU lowering (#225641)
ACCCGToGPU requires parallel dimensions to be assigned before lowering.
Diagnose scf.parallel operations without acc.par_dims inside
acc.compute_region before rewriting.
Keep barrier ancestor lookups within the current compute region so
enclosing host loops are not treated as GPU execution scopes.
Add diagnostic coverage for unmapped parallel loops in func.func and
gpu.func, including nested regions, and verify that surrounding host
loops remain valid. Give the launch-argument remapping test explicit
sequential dimensions.
[NFC][sanitizer] Link LLVMOption and allow strtof in internal symbolizer (#228490)
Commit f6c78b8262f4 (#228321) moved MC command-line options into
`MCCLOptions.cpp` and added an `LLVMOption` dependency to `LLVMMC`.
Because
`MCAsmInfo.cpp` references `MCCLOptions::Global`, `MCCLOptions.cpp` and
its
generated option parser (which also calls `strtof` via `llvm::to_float`)
are
pulled into the internal symbolizer link.
Add `LLVMOption` to `build_symbolizer.sh` and `strtof U` to
`global_symbols.txt` so internal symbolizer builds and symbol
verification
succeed.
Fixes: https://lab.llvm.org/buildbot/#/builders/66/builds/38119
Assisted-by: Gemini