clang: Stop using llvm.convert.to.fp16/llvm.convert.from.fp16
There is no reason to use these over fpext/fptrunc and bitcast.
Split out from #174484. The test coverage is also shockingly bad,
so adds a new wasm test which shows different contexts the intrinsics
are used.
I've also reverted this to a more conservative version that leaves the
useFP16ConversionIntrinsics configuration in place, and only replaces
the exact intrinsic usage. This should be removed, but it seems to have
turned into a buggy ABI option. Some contexts which probably meant to
check NativeHalfType or NativeHalfArgsAndReturns were relying on this
instead. Additionally, some of the SVE intrinsics appear to be using
__fp16 but really expect _Float16 treatment.
[AMDGPU] Fix a potential use-after-erase in `AMDGPUPromoteAlloca` pass
In some cases, the placeholder itself can be used as the value for its corresponding block in `SSAUpdater`, and later used as an incoming value in another block in `GetValueInMiddleOfBlock`. If we erase it too early, this can lead to a use-after-erase. The tricky part is that it may not trigger any error right away, but can cause weird and completely unrelated issues later in the pipeline.
[UniformityAnalysis] Remove an incorrect assertion in uniformity analysis
The join block could be not a header of a cycle, as shown in the newly added test case.
Fixes #170048.
Fix zfs_open() to skip zil_async_to_sync() for the snapshot
Fix zfs_open() to skip zil_async_to_sync() for the snapshot, as it won't
have any transactions. zfsvfs->z_log is NULL for the snapshot.
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Signed-off-by: Jitendra Patidar <jitendra.patidar at nutanix.com>
Closes #18091
[Clang][counted-by][NFC] Add testcase for non-forward record decl (#153338)
This tests that we don't ICE if a struct hasn't been forward declared.
Originally fixed in 160fb11
Link: ClangBuiltLinux/linux#2114
NAS-139189 / 26.04 / Add support for middleware REBOOT and SHUTDOWN audit events. (#17963)
Adding this enables parsing of the event_data dictionary associated with
the audit event.
An example call:
`midclt call audit.query '{"services":["MIDDLEWARE"], "query-filters":
[["event","rin","REBOOT"]],
"query-options":{"select":[["event_data.reason","reason"]],"limit":10}}'
`
mail/phpmailer[6|7]: fix pkg-plist for NLS option
All %%DATADIR%% entries were changed to %%NLS%%%%DATADIR%%.
Previously, disabling NLS caused missing language files listed in
pkg-plist and resulted in check-plist failures.
The port now works correctly with both enabled and disabled NLS.
PR: 248341
Sponsored by: Netzkommune GmbH
py-daemon: updated to 3.1.2
Version 3.1.2
Bugs Fixed:
* In wheel, distribute only the Python packages that should be installed.
Changed:
* Migrate project code base from “flat layout” to “src layout”.
This commits us to a build step for running the test suite, ensuring the
built package works.
Version 3.1.1
Bugs Fixed:
[7 lines not shown]
Don't send duplicate logs to remote syslog servers. Fix #16376
Move the remote server config lines to their appropriate sections with
the appropriate program/message specifications. This avoids the need to
re-declare the specifications for the remote server config lines. Also
add validation checks to prevent enabling specific remote logging
categories when "Everything" is already selected.
[cross-project] Add tests for LLDB data-formatters for llvm::ArrayRef (#173238)
This patch adds the bare-minimum tests for the LLDB `llvm::ArrayRef`
formatters. Since this would be the first LLVM data fromatter test for
LLDB, I wanted to keep the test itself minimal and mainly set up/agree
on the infrastructure (i.e., CMake machinery, etc.).
The setup mimicks that of GDB. The main differences are:
1. the GDB formatter tests put all the test cases in one monolithic test
file, whereas I'm planning on having one test-file per LLVM container.
2. the GDB formatter tests currently only get run if LLVM was built with
debug-info. Not sure we have any build-bots out there running this
configuration. In this patch we rely on just the debug-info from the
LLVM headers (see latest commit). That way the tests get more
consistently run (at least our public macOS buildbot runs the
cross-project-tests in Release+Asserts).
[clang] Bypass sandbox in the rewriter (#174496)
Clang's rewriter currently violates the IO sandbox due to a call to
`llvm::writeToOutput()`. Since the "blessed" `llvm::vfs::OutputBackend`
isn't easily available in that particular spot, this PR instead disables
the sandbox and leaves a FIXME behind.
[libc++] Refactor atomic_waitable_traits into its own header and remove pre 20 support (#173157)
It makes sense to decouple traits from the things they describe, since
that's the purpose of traits. Furthermore, this will make it possible to
reuse these traits from other places in the library (e.g. <semaphore>)
outside of the synchronization library.
Pre-C++20 support is removed as a drive-by since the synchronization
library does not support pre-C++20 anymore. This makes it possible to
simplify a few constructs by using concepts.
Requested in https://github.com/llvm/llvm-project/pull/172214#discussion_r2635968291