[OpenMP][Device] Fix __llvm_omp_indirect_call_lookup function pointer types (#192502)
`__llvm_omp_indirect_call_lookup` takes in and returns a function
pointer, so make sure the types are correct, which includes the correct
address space.
The FE was recently changed to generate the correct code
[here](https://github.com/llvm/llvm-project/pull/192470).
With this change, three function pointer tests start passing.
Signed-off-by: Nick Sarnie <nick.sarnie at intel.com>
[CIR] Implement EH handling for field initializers (#192360)
This implements the handling to call the dtor for any previously
initialized fields of destructed type if an exception is thrown later in
the initialization of the containing class.
The basic infrastructure to handle this was already in place. We just
needed a function to push an EH-only destroy cleanup on the EH stack and
a call to that function.
rust195: Add a package for rust 1.95.0.
Pkgsrc changes:
* Update version & checksums, and adapt to new libc crate included.
Upstream changes relative to 1.94.1:
Version 1.95 (2026-04-16)
==========================
Language
--------
- [Stabilize `if let` guards on match arms]
(https://github.com/rust-lang/rust/pull/141295)
- [`irrefutable_let_patterns` lint no longer lints on let chains]
(https://github.com/rust-lang/rust/pull/146832)
- [Support importing path-segment keywords with renaming]
(https://github.com/rust-lang/rust/pull/146972)
- [Stabilize inline assembly for PowerPC and PowerPC64]
[185 lines not shown]
KDE: Update KDE Gear to 26.04.0
Announcement: https://kde.org/announcements/gear/26.04.0/
Ports changes:
audio/libkcompactdisc:
- Remove port, no longer shipped with KDE Gear
deskutils/kdeconnect-kde:
- Add dependency on libei
misc/minuet:
- Add missing dependencies
- Add patch to restore parity with Linux
net/krdc:
- Update dependencies
[2 lines not shown]
[CIR] Fix FlattenCFG pattern rewriter contract violations (#192359)
Fix patterns in CIRFlattenCFGPass that modify IR but return failure(),
violating the MLIR greedy pattern rewriter contract. The contract
requires that if a pattern modifies IR, it must return success().
- CIRCleanupScopeOpFlattening: always return success() since IR is
modified (blocks split, regions inlined) before error paths
- Ternary op flattening: return success() instead of falling through
after emitError, since splitBlock/createBlock already modified IR
- Use rewriter.moveOpBefore() instead of direct defOp->moveBefore() to
properly notify the rewriter of IR mutations
Found by MLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS=ON.
Test: flatten-cleanup-scope-nyi.cir (a silly one since it's testing an
error, but point still valid)