interfaces: move assignments TODO file to /var/lib/php/tmp
It belongs to the GUI since the controller handles its life cycle.
While here also avoid hardcoding the path since we have a getter.
18714 loader.efi: multiboot2 trampoline faults when firmware maps EfiLoaderData non-executable
Reviewed by: Bill Sommerfeld <sommerfeld at hamachi.org>
Reviewed by: Toomas Soome <tsoome at me.com>
Approved by: Gordon Ross <gordon.w.ross at gmail.com>
[SLP]Inverse trunc to i1 bit tests in select conditions
InstCombine folds select (icmp eq (and X, 1), 0), A, B to
select (trunc X to i1), B, A, which swaps the select operands of the
trunc lanes against the other eq bit tests. Emit these lanes as
and X, 1 == 0 with the swapped gathered operands, and price them as
the bit test compares.
Fixes #238902
Assisted-by: Cursor
Pull-request: https://github.com/llvm/llvm-project/pull/238984
Reviewers: RKSimon, bababuck
Reviewed-by: bababuck
[Offload][NFC] Avoid unnecessary string copies (#243794)
A few small changes suggested by a static code analysis tool to avoid
unnecessary std::string copies.
A summary of the changes and reason is here (AI-generated):
- Plugin::error / createOffloadError (Error&& overload) in
OffloadError.h and PluginInterface.h: take a StringRef context instead
of const char *. Callers holding a std::string no longer go through
c_str() and a second std::string construction.
- L0Device.cpp: pass the message std::string directly to Plugin::error
instead of Buffer.c_str().
- JIT.cpp: createTargetMachine takes the CPU name as StringRef instead
of std::string by value. It is never modified and is only forwarded to a
StringRef parameter.
- L0Program.h / L0Program.cpp: KernelsToModuleMap is a llvm::StringMap,
so kernel-name lookups no longer build a temporary std::string.
try_emplace keeps the same first-entry-wins behavior as emplace.
Assisted by Claude.
[mlir][LLVM] Include LLVM dialect partition headers instead of LLVMDialect.h (#242307)
Most includers of `LLVMDialect.h` use only a few LLVM dialect ops, or
none at all, but still pay for all 323 op declarations. Widely included
headers such as `OpenMPDialect.h`, `NVVMDialect.h` and `GPUCommonPass.h`
include it as well, spreading the cost to TUs that never use the LLVM
dialect.
Building on #242301, this patch makes every file include what it uses:
the partition headers of the ops it uses, `LLVMDialectDecl.h`,
`LLVMTypes.h`, `LLVMAttrs.h` or `LLVMInterfaces.h` if it only uses the
dialect, types, attributes or interfaces, and forward declarations where
a declaration suffices. Headers no longer include LLVM dialect headers
on behalf of their includers. Files that use ops from at least 8 of the
14 partitions keep `LLVMDialect.h`.
This reduces the TUs including `LLVMDialect.h` in an MLIR, flang and CIR
build from 386 to 41. Downstream code that relied on getting LLVM
dialect ops transitively has to include the partition headers it needs.
[18 lines not shown]
mpr(4)/mps(4): Fix build on 32-bit platforms
bus_addr_t is 32-bit on armv7, so >> 32 triggers -Wshift-count-overflow.
Widen it to uint64_t before shifting, as the other high-address writes
in the same files.
Fixes: 866760ff8338 ("mps(4): add support for hostboot")
Sponsored by: The FreeBSD Foundation
mpr(4)/mps(4): Fix build on 32-bit platforms
bus_addr_t is 32-bit on armv7, so >> 32 triggers -Wshift-count-overflow.
Widen it to uint64_t before shifting, as the other high-address writes
in the same files.
Fixes: 866760ff8338 ("mps(4): add support for hostboot")
Sponsored by: The FreeBSD Foundation
[X86] PALIGNR/PSHLDQ/PSRLDQ/VPERM2X128 targets shuffles never create undef/poison (#243806)
Add missing target shuffles that all hit
isGuaranteedNotToBeUndefOrPoisonForTargetNode in existing lit-tests to
help smoke out remaining FREEZE regressions for #243178 / #152107 etc.
[lldb] Don't re-run XFAILed tests (#243492)
Re-running tests that are expected to fail does not give useful signal.
This patch makes it so that they don't re-run.