[LV] Remove EpilogueLoopVectorizationInfo::EpilogueUF (NFC). (#226792)
The epilogue vector loop is always unrolled by 1: the only construction
site passes 1 and the constructor asserted it. Drop the field and use 1
directly at its users, and drop the now always 1 EpilogueUF parameter of
addMinimumVectorEpilogueIterationCheck.
Clean-up in preparation for removing/simplifying
EpilogueLoopVectorizationInfo.
CodeGen: Merge TargetLoweringObjectFile::getModuleMetadata into Initialize
getModuleMetadata had a single caller, which invoked it immediately after
Initialize. Pass the module to Initialize and fold it in.
Co-Authored-By: Claude Opus 5 <noreply at anthropic.com>
CodeGen: Initialize TargetLoweringObjectFile from MachineModuleInfo
MachineModuleInfo passes TLOF to the MCContext the TargetLoweringObjectFile
but nothing initialized it until the AsmPrinter pass ran, so every codegen pass
in between saw it uninitialized. Initialize it from MachineModuleInfo, and drop
the calls llc and SPIRVTranslate used to work around this.
SPIRVTranslate's MachineModuleInfoWrapperPass was never passed on to
addPassesToEmitFile, so it was initializing a throwaway context.
Co-Authored-By: Claude Opus 5 <noreply at anthropic.com>
lft: update to 4.03.
lft 4.03 / WhoB 4.03
----------------------
- NetBSD: interface lookup by address found nothing (SIOCGIFCONF entries are
fixed-size there, unlike FreeBSD/macOS), so LFT could not pick its capture
interface. lft_getifname now uses getifaddrs() where available and strides
the ioctl list correctly everywhere else.
- NetBSD: lft aborted at startup ("_res is not supported for multi-threaded
programs") because c-ares links libpthread and NetBSD's libc forbids _res
there; the glibc-only resolver timeout tweak is now skipped on NetBSD.
- Build: objects depend on the generated config header, so a re-configure
rebuilds them.
[unittests] Fix a recent test on Windows with LLVM_WINDOWS_PREFER_FORWARD_SLASH (#224963)
This fixes errors like these:
```
Expected equality of these values:
Context.Path
Which is: "D:/a/llvm-mingw/llvm-mingw/llvm-project/build/unittests/Support/LLVMToolSession/./LLVMToolSessionTests.exe"
ExecutablePath.c_str()
Which is: "D:\\a\\llvm-mingw\\llvm-mingw\\llvm-project\\build\\unittests\\Support\\LLVMToolSession\\.\\LLVMToolSessionTests.exe"
```
math/qhull7: Add expiry date to deprecation.
- This port will not work with the future cmake version 4.
PR: 298899
Reported by: Gleb Popov <arrowd at FreeBSD.org>
The apple,nclusters property is a remnant of early bringup and never made
it in the official bindings. Drop it and calculate the number of clusters
from the register area size. Fixes out-of-bounds access on SoCs that
provide less than 6 clusters.
ok patrick@, jsg@