[CIR] Avoid folding non-integer constants as integer casts (#214551)
CIRGen may produce undef constants while recovering from NYI builtin
lowering. When such a value feeds an implicit integral cast,
CastOp::fold currently treats the source as an integer constant solely
because it is a cir.constant, then calls getIntValue() and crashes.
Added a check for the constant to see if the payload is actually an
IntAttr before folding the cast. If it is not, return the cast unfolded.
Added a regression test covering an unimplemented __builtin_stdc_* call
whose undef result was implicitly being cast to integer by CastOp::fold.
Part of issue #214443
[orc-rt] SPS serialization: SPSExecutorAddrRange <-> span<T> (#215693)
Allows a memory range to be sent as an SPSExecutorAddrRange by the
controller and received as a span<T> by the executor, so handlers can
take a span directly rather than converting from an ExecutorAddrRange
themselves.
The wire format is identical to the existing ExecutorAddrRange
serialization -- a (Start, End) address pair -- so the two are
interchangeable in either direction.
Note that this transmits the span's bounds, not its contents; that
distinguishes it from the existing SPSSequence<char> / span<const char>
serialization, which copies the bytes.
Since the address pair arrives as untrusted wire data, deserialization
rejects inverted ranges, addresses that don't fit in uintptr_t, and
lengths that aren't a whole number of elements, rather than constructing
an out-of-bounds span.
ruby-gnome: update to 4.3.7
Upstream changes:
Ruby-GNOME 4.3.7: 2026-07-13
This is a Pango 1.58.0 support release.
Changes
Ruby/GLib2
* Improvements
+ GLib::Regex#replace: Stopped to use break to stop
replacement. Return false in block instead.
o GH-1713
o Patch by Randy Stauner.
* Fixes
+ GLib::Param#inspect: Added missing close >
[32 lines not shown]
[RISCV][NFC] Move ZacasABIFix Pass Declaration
This change moves them into their own header, as has been done for the
other NewPM passes.
Assisted-by: AI
[RISCV][NFC] Move RISCVCodeGenPrepare Declarations
This change moves them into their own header, as has been done for the
other NewPM passes.
Assisted-by: AI
[RISCV][NFC] Move ZacasABIFix Pass Declaration
This change moves them into their own header, as has been done for the
other NewPM passes.
Assisted-by: AI
[RISCV][NFC] Move RISCVCodeGenPrepare Declarations
This change moves them into their own header, as has been done for the
other NewPM passes.
Assisted-by: AI
[MC][x86-64] Decide if each individual mergeable constants is small or large (#209881)
Rather than only relying on the code model. Otherwise we can end up with
the IR and MC disagreeing about which ones are small/large.
Don't use MergeableConst*Section in
TargetLoweringObjectFileELF::getSectionForConstant(), decide which
section dynamically. Other binary formats still use those though.
This resolves some relocation overflows from mixed small/medium code
model code.
Followup to #190903.
Assisted-by: Gemini
makefs: Allow "legacy" as a valid ZFS mountpoint
Allow "legacy" alongside "none" as a valid value for the ZFS mountpoint
property, matching zfsprops(7).
Reviewed by: imp, markj
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D58781
makefs: tests: Fix a missing slash in multi_dataset_4
Fix a typo in the ZFS multi_dataset_4 test, where a path separator was
missing.
Reported by: markj
MFC after: 1 week
[clang] Don't mark a field invalid for unparsed in-class member initializer. (#215423)
We delay parsing of in-class member initializers until the end of the
outermost class declaration. It is an error for code to try to use that
initializer before it's parsed. However, sometimes that error can be
suppressed by an SFINAE context. Since we aren't sure a user-visible
error will be emitted, don't mark the field invalid.
Fixes https://github.com/llvm/llvm-project/issues/215166 .
[OpenACC][NFC] Make CHECK-NOT lines more specific (#215677)
These are effectively irrelevant, as the problem we are trying to check
for is that the app doesn't crash. So make them a bit more specific (add
'acc ') since we don't know what any sort of IR for these would look
like ANYWAY. Hopefully the higher specificity makes these good enough
for folks.
[LV] Require inner loops to only exit via latch in outer loop path. (#215675)
Currently codegen only handles inner loops exiting via the latch. Loops
with uniform branches exiting the loops, like in the added tests, cause
`opt` to hang.
Reject such loops at the outset.
[CIR] Add token.none and fix coro.end signature (#214125)
This patch adds the `cir.token.none` operation, mirroring the LLVM
dialect's `llvm.mlir.none` operation for representing the LLVM IR `none`
token. It also fixes the signature of `cir.coro.intrinsic.end` to
correctly take a token operand, matching the corresponding LLVM
coroutine intrinsic.