[flang][cuda] Remove __nv_ binding names from rounding-mode intrinsics in cudadevice (#190722)
Remove name='__nv_...' from bind(c) declarations for 48 rounding-mode
functions in cudadevice.f90, allowing host,device functions to link
against the unprefixed host symbols. The __nv_ prefix for device code is
handled by a downstream pass.
NAS-140592 / 26.0.0-BETA.2 / fix container api test (by yocalebo) (#18673)
## Summary
`started_ubuntu_container` fixture and `test_container_update` verified
the container's init process by running `ps -p {status.pid}` on the
host. This is unreliable because `status.pid` may not always map
directly to the init process on the host (e.g. due to exec timing or
libvirt process tree differences).
## Changes
- **Fixture**: Removed the `/sbin/init` host-PID assertion. State `==
"RUNNING"` is sufficient for the fixture's contract.
- **`test_container_update`**: Replaced host `ps -p {pid}` checks with
`nsenter` to inspect PID 1 inside the container, which reliably reflects
the actual init process regardless of host PID mapping.
Original PR: https://github.com/truenas/middleware/pull/18669
[4 lines not shown]
Address review comments: mark unused param and move var decl
- Mark the unused 'clauses' parameter in TaskloopOp::build with
[[maybe_unused]]
- Move the declaration of 'wrapperClauseOps' in genStandaloneTaskloop
to immediately before its first use
Assisted-by: Copilot, Claude Sonnet 4.6
[mlir][OpenMP] Move taskloop clauses to the context op
The clauses are implemented when lowering the context op (which
generates the runtime calls, and handles the outlining of the task
function: including privatization etc). Therefore I thought it made more
sense to put the clauses on this operation rather than on the wrapped
loop.
RFC: https://discourse.llvm.org/t/rfc-openmp-alloca-placement-for-openmp-loop-wrappers/89512/7
Patch 2/3
[sanitizer_common] Fix memory leak in ListOfModules (#190104)
I found a rather old leak in `ListOfModules`. `ListOfModules` has a
member
```
InternalMmapVectorNoCtor<LoadedModule> modules_;
```
Which has neither a constructor nor destructor. As a consequence, we
need to call `Destroy` on it when ListOfModules is destroyed, so that
the memory is released to the OS (via munmap).
rdar://173906291
NAS-140592 / 27.0.0-BETA.1 / fix container api test (#18669)
## Summary
`started_ubuntu_container` fixture and `test_container_update` verified
the container's init process by running `ps -p {status.pid}` on the
host. This is unreliable because `status.pid` may not always map
directly to the init process on the host (e.g. due to exec timing or
libvirt process tree differences).
## Changes
- **Fixture**: Removed the `/sbin/init` host-PID assertion. State `==
"RUNNING"` is sufficient for the fixture's contract.
- **`test_container_update`**: Replaced host `ps -p {pid}` checks with
`nsenter` to inspect PID 1 inside the container, which reliably reflects
the actual init process regardless of host PID mapping.
NAS-140446 / 26.0.0-BETA.2 / improve validation error for VM ISO (by yocalebo) (#18672)
## Summary
Improves the CDROM path validation error message in `vm.device.create`
to help users understand why their path was rejected and what to do
about it.
Previously, storing an ISO in the pool root dataset produced the vague
error:
> The path must be a dataset or a directory within a dataset.
Now it produces:
> The specified path is located in the root dataset of pool 'dozer'. VM
resources must be stored within a child dataset of the pool, not the
pool root. Create a dataset under 'dozer' (e.g., dozer/iso) and move
your files there.
Also switches the pool root detection from counting `/` in the
[6 lines not shown]
NAS-140446 / 27.0.0-BETA.1 / improve validation error for VM ISO (#18671)
## Summary
Improves the CDROM path validation error message in `vm.device.create`
to help users understand why their path was rejected and what to do
about it.
Previously, storing an ISO in the pool root dataset produced the vague
error:
> The path must be a dataset or a directory within a dataset.
Now it produces:
> The specified path is located in the root dataset of pool 'dozer'. VM
resources must be stored within a child dataset of the pool, not the
pool root. Create a dataset under 'dozer' (e.g., dozer/iso) and move
your files there.
Also switches the pool root detection from counting `/` in the
[2 lines not shown]
graphics/openjump: Update to 2.4.0
- Updated PLUS_REV from 5095 to 5303
- Detects the Java major version at runtime
- With Java 25 compatibility fix
- Remove incompatibility with -Djava.system.class.loader JVM flag
that causes ClassNotFoundException with Java 9+
- Fix Java 9+ compatibility by adding reflective access permissions
- Add --add-opens flags for java.lang and jdk.internal.loader
- Keep original -Djava.system.class.loader flag
- Add explicit -Djava.library.path="$NATIVE_PATH" to Java command line
- Extend NATIVE_PATH to include /usr/local/lib and ${PREFIX}/lib
- Remove obsolete macOS path reference (/usr/local/opt/sqlite/lib)
- Enhance GDAL native path to include FreeBSD library directories
- Add --enable-native-access=ALL-UNNAMED flag for Java 25
- Fix About window by installing Readme.txt to root
- Make memory detection FreeBSD compatible
- Remove TurboJPEG JARs to suppress native library error
The turbojpeg-wrapper and imageio-ext-turbojpeg JARs attempt to load
[11 lines not shown]
[AIX][ifunc] fix error message creation logic (misbehaves in production builds) (#188060)
I don't know why the old code was causing the function name to come out
empty in the message, in certain builds of llvm.
It's either a misuse[1] of the Twine class, or a bug somewhere else.
So this PR rewrites the logic by building the message into a
SmallString<128>. This logic is part of error handling, so optimizing it
is not important.
[1] I checked the usage and couldn't find anything suspicious
Co-authored-by: Wael Yehia <wyehia at ca.ibm.com>
[llvm-profgen] Fix break to continue in PrologEpilogTracker loops (#188565)
In inferPrologAddresses and inferEpilogAddresses, using `break`
incorrectly stops processing all remaining entries when a single
IP.advance() or IP.backward() fails. Change to `continue` so that only
the failing entry is skipped.
[CodeGen] Preserve big-endian trunc in concat_vectors (#190701)
A transform from `concat_vectors(trunc(scalar), undef)` to
`scalar_to_vector(scalar)` is only equivalent for little-endian targets.
On big-endian, that would put the extra upper bytes ahead of the desired
truncated bytes. This problem was seen on Rust s390x in [RHEL-147748].
[RHEL-147748]: https://redhat.atlassian.net/browse/RHEL-147748
Assisted-by: Claude Code
[AMDGPU][MLIR][NFC] moved enc computation to a dedicated method (#189339)
Tried to adapt `GlobalPrefetchOp` for projects like Triton that do not
use `memref`s but they can still use enums exposed to the AMDGPU
dialects. Therefor, they could benefit from just calling a static method
which converts a bunch of enums to a correct `i32` value expected by the
AMDGCN backend.
Also renamed `TemporalHint` to `LoadTemporalHint` because it turned out
there are temporal hints for store operations (for example,
`buffer_store`) which have slightly different enum values (e.g., `WB`
(write-back) instead of `LU`)