LLVM/project e2bc9a5 — llvm/lib/Target/PowerPC PPCReduceCRLogicals.cpp, llvm/test/CodeGen/PowerPC crreduce-reg.mir

[PowerPC] Add live-ins to the block created by PPCReduceCRLogicals::splitMBB (#236355)

On 32-bit PowerPC with crbits and no isel, a select on an i64 compare is
expanded by emitSelect() into a diamond, and if a carry chain is live
across the select (the i256 multiply in the issue), emitSelect() marks
$carry live-in on the new blocks. ppc-reduce-cr-ops then splits the head
block on the crand/cror of the compare and inserts a new block between
it and the diamond, but splitMBB() never gave that block any live-ins.
$carry is live through it, so LiveIntervals hits "needs to be live in"
in the machine scheduler.

This computes the new block's live-ins with computeAndAddLiveIns() at
the end of splitMBB(). The added MIR test checks the new block gets
`liveins: $carry`. The verifier alone doesn't catch this since CARRY
aliases XER.

Fixes #235393
DeltaFile
+74-0llvm/test/CodeGen/PowerPC/crreduce-reg.mir
+6-0llvm/lib/Target/PowerPC/PPCReduceCRLogicals.cpp
+80-02 files

GhostBSD/ports ab1e89e — games/linux-steam-utils Makefile, games/linux-steam-utils/files patch-bin_lsu-mount-runtime

games/linux-steam-utils: Fix Steam UI not loading after update

The Steam client build from November 2026 passes its current working
directory to steamwebhelper as an absolute path. Under the linuxulator,
getcwd() returns that path with the compat.linux.emul_path prefix, which
does not exist inside the lsu runtime chroot, so steamui/index.html is
not found and the UI never appears.

Symlink EMUL_PATH to / in the runtime root so the prefixed path resolves.
DeltaFile
+14-0games/linux-steam-utils/files/patch-bin_lsu-mount-runtime
+1-0games/linux-steam-utils/Makefile
+15-02 files

FreeBSD/ports 689efde — textproc/moor Makefile distinfo

textproc/moor: Update 2.19.7 => 2.19.8

Changelog:
https://github.com/walles/moor/releases/tag/v2.19.8

Reported by:    Repology, portscout
DeltaFile
+5-5textproc/moor/distinfo
+1-1textproc/moor/Makefile
+6-62 files

LLVM/project 4b50cad — llvm/lib/Analysis PHITransAddr.cpp, llvm/test/Transforms/GVN/PRE pre-load.ll no-scalar-pre.ll

[PHITransAddr] Do not reuse GEP instruction with tighten wrap flag (#245082)

A GEP with tightened wrap flag can introduce poison to the user of phi
node. Skip such reuse so that GVN can produce another instruction and
merge the flag in next processInstruction round on the same target

Assisted-by: Claude # Test
Fixes: https://github.com/llvm/llvm-project/issues/241503
DeltaFile
+69-0llvm/test/Transforms/GVN/PRE/no-scalar-pre.ll
+43-1llvm/test/Transforms/GVN/PRE/pre-load.ll
+13-5llvm/lib/Analysis/PHITransAddr.cpp
+125-63 files

LLVM/project 9b8aaf6 —

[Bazel] Fixes 03534af (#246373)

This fixes 03534af8bad58cc4461fca3a3e6b139cea46d24c (#245649).

Buildkite error link:
https://buildkite.com/llvm-project/upstream-bazel/builds?commit=03534af8bad58cc4461fca3a3e6b139cea46d24c

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+0-00 files

LLVM/project 9d7a1ef — llvm/lib/Target/SystemZ SystemZISelLowering.cpp, llvm/test/CodeGen/SystemZ ret-v2i64-abi.ll call-ret-v2i64-abi.ll

[SystemZ][z/OS] Emit when passing vector types without vector extension

Currently, there is no ABI defined on z/OS for passing vector types
when the vector extension is disabled/not available. Emit an error
message for this case while we are working on extending the ABI.

This is a temporary measure until the ABI is defined.
DeltaFile
+22-0llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
+2-12llvm/test/CodeGen/SystemZ/call-arg-v2i64-abi.ll
+2-12llvm/test/CodeGen/SystemZ/arg-v2i64-abi.ll
+7-7llvm/test/CodeGen/SystemZ/call-zos-vararg.ll
+2-11llvm/test/CodeGen/SystemZ/ret-v2i64-abi.ll
+2-11llvm/test/CodeGen/SystemZ/call-ret-v2i64-abi.ll
+37-531 files not shown
+38-547 files

LLVM/project 13000fa — utils/bazel/llvm-project-overlay/flang/include/flang/Optimizer/Dialect BUILD.bazel, utils/bazel/llvm-project-overlay/flang/include/flang/Optimizer/Dialect/FIRCG BUILD.bazel

[Bazel] Fixes 5fd5d84 (#246396)

This fixes 5fd5d84a2141c0e34d63a381c0f48dbc383e56f4 (#245929).

Buildkite error link:
https://buildkite.com/llvm-project/upstream-bazel/builds?commit=5fd5d84a2141c0e34d63a381c0f48dbc383e56f4

---------

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+66-19utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+19-0utils/bazel/llvm-project-overlay/flang/include/flang/Optimizer/Dialect/BUILD.bazel
+2-0utils/bazel/llvm-project-overlay/flang/include/flang/Optimizer/Dialect/FIRCG/BUILD.bazel
+1-0utils/bazel/llvm-project-overlay/libc/src/__support/CPP/BUILD.bazel
+1-0utils/bazel/llvm-project-overlay/flang/lib/Optimizer/Dialect/FIRCG/BUILD.bazel
+1-0utils/bazel/llvm-project-overlay/flang/lib/Optimizer/Dialect/BUILD.bazel
+90-196 files

FreeBSD/src c4a9734 — sys/rpc clntrdma.h

clntrdma.h: Add the RPCRDMA_HEADER_LEN macro from clnt_rdma.c

The RPCRDMA_HEADER_LEN() macro is moved from clnt_rdma.c to
clntrdma.h so it can be included in xprt_verbs.c.

MFC after:      1 month
Fixes:  884ee8d6c9b4 ("nfscl: Add some glue for client side NFS over RDMA")
DeltaFile
+12-0sys/rpc/clntrdma.h
+12-01 files

LLVM/project 6e35685 — llvm/include/llvm/Analysis MemoryBuiltins.h GlobalsModRef.h, llvm/lib/Analysis MemoryBuiltins.cpp GlobalsModRef.cpp

[MemoryBuiltins] Remove leftover free TLI handling (#246370)

Since https://github.com/llvm/llvm-project/pull/239732 we no longer
declare any free functions via TLI and always rely on attributes
instead. This removes some of the leftover handling / TLI parameters.

One functional change here is that we no longer assume that
`allockind(free)` functions that happen to have a TLI entry free their
first argument, and use `allocptr` instead. We already infer this
attribute in InferAttrs, but a bunch of tests need to be adjusted to
specify it explicitly.
DeltaFile
+9-23llvm/lib/Analysis/GlobalsModRef.cpp
+3-13llvm/lib/Analysis/MemoryBuiltins.cpp
+2-8llvm/include/llvm/Analysis/GlobalsModRef.h
+3-4llvm/include/llvm/Analysis/MemoryBuiltins.h
+1-5llvm/unittests/Analysis/GlobalsModRefTest.cpp
+2-4llvm/lib/Transforms/IPO/AttributorAttributes.cpp
+20-5729 files not shown
+51-8835 files

LLVM/project b9200f2 — llvm CMakeLists.txt

[cmake][llvm] Clarify why we set CMAKE_TRY_COMPILE_CONFIGURATION (#246356)

There's nothing that post-CMake 3.17 actually changes in this regard.
It defaults to `Debug` if `CMAKE_TRY_COMPILE_CONFIGURATION` is not set.
But we'd rather use the explicit default or the first configuration to match what the main build uses when run without an explicit configuration.
DeltaFile
+9-10llvm/CMakeLists.txt
+9-101 files

LLVM/project cea3742 — llvm/include/llvm/ObjectYAML GOFFYAML.h, llvm/lib/ObjectYAML GOFFYAML.cpp

[obj2yaml] Add Obj2Yaml ability to dump GOFF ESD records (#216151)

Implements obj2yaml support for dumping GOFF ESD records. Adds ESDRecord
struct and YAML traits to GOFFYAML, and implements dumpExternalSymbol()
in goff2yaml.cpp to parse all ESD fields. Adds tests to verify the ESD
output and updates header test.

---------

Co-authored-by: Yusra Syeda <yusra.syeda at ibm.com>
DeltaFile
+196-0llvm/lib/ObjectYAML/GOFFYAML.cpp
+169-1llvm/tools/obj2yaml/goff2yaml.cpp
+122-0llvm/test/tools/obj2yaml/GOFF/esd-basic.test
+68-0llvm/include/llvm/ObjectYAML/GOFFYAML.h
+28-0llvm/test/tools/obj2yaml/GOFF/continuation-records.test
+1-2llvm/test/tools/obj2yaml/GOFF/header-default.test
+584-31 files not shown
+585-37 files

NetBSD/src VbNgOQU — crypto/external/bsd/libsaslc/dist/man libsaslc.3

   libsaslc(3): Fix mistake in ordering of property source precedence.

   Verified by reference to the code:

   1. session
   2. context
   3. mechanism

   https://nxr.NetBSD.org/xref/src/crypto/external/bsd/libsaslc/dist/src/xsess.c?r=1.9#341

   This makes the man page internally consistent.
VersionDeltaFile
1.22+3-3crypto/external/bsd/libsaslc/dist/man/libsaslc.3
+3-31 files

NetBSD/pkgsrc KCyUY5s — doc CHANGES-2026

   doc: Updated archivers/upx to 5.3.1
VersionDeltaFile
1.8422+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc PN4HKeP — archivers/upx Makefile distinfo

   upx: Updated to version 5.3.1

   Changes in 5.3.1 (26 Nov 2026):
     * bug fixes - see https://github.com/upx/upx/milestone/26
VersionDeltaFile
1.18+25-25archivers/upx/distinfo
1.41+2-2archivers/upx/Makefile
+27-272 files

NetBSD/pkgsrc mxl6fwT — doc CHANGES-2026

   doc: Updated shells/brush-shell to 0.5.0
VersionDeltaFile
1.8421+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc FmMRFM1 — shells/brush-shell Makefile cargo-depends.mk, shells/brush-shell/patches patch-.._vendor_nix-0.31.2_src_sys_wait.rs

   brush-shell: Update to version 0.5.0

   Bash compatibility
   - 96+% passing on the upstream bash-completion test suite (2,040 tests passing)
   - 3,600+ Bash-oracle tests & end-to-end scenario tests
   - Key compatibility wins
     More reliable pipelines and jobs
     Fewer surprises when scripts combine shell features
     Better support for existing tools

   Other highlights
   - Interactive shell improvements
   - Installer and canary builds
   - WebAssembly and play.brush.sh
   - Windows and broader platform support
   - Embedder extensibility and dependency cleanup
   - Performance and docs
VersionDeltaFile
1.2+1,102-1,217shells/brush-shell/distinfo
1.2+366-404shells/brush-shell/cargo-depends.mk
1.2+2-2shells/brush-shell/Makefile
1.2+1-1shells/brush-shell/patches/patch-.._vendor_nix-0.31.2_src_sys_wait.rs
+1,471-1,6244 files

LLVM/project b81d386 — libcxx/include module.modulemap.in, libcxx/include/__ranges data.h access.h

[libc++][RFC] Rewrite CPOs with resolver functions (#209104)

This patch rewrites some CPOs to use resolver functions instead of
overload sets. This has the benefit that the implementation is much
closer to the standard wording. I also find it somewhat easier to
understand what the intention is.

I'm not sure whether we actually want to do this, but I thought I'd
propose it and see whether people like it.
DeltaFile
+90-74libcxx/include/__ranges/access.h
+43-21libcxx/include/__ranges/data.h
+48-0libcxx/include/__utility/cpo.h
+6-1libcxx/include/module.modulemap.in
+1-3libcxx/test/std/ranges/range.access/end.verify.cpp
+1-3libcxx/test/std/ranges/range.access/begin.verify.cpp
+189-1023 files not shown
+196-1029 files

FreeBSD/src da12aa2 — sys/ofed/drivers/infiniband/ulp/nfsclrdma clnt_rdma.c xprt_verbs.c

clnt_rdma: Fixes for three issues listed below

There are three small issues:

1. An unused Reply chunk gets its descriptor freed, but the mbuf
and pages are left allocated, effectively leaking.

2. The reused send/receive buffers would probably need
DMA synchronization.

3. Some receive errors don't notify the RPC layer.  A zero-credit
reply can also leave callers waiting.

This patch fixes these.
This patch also fixes positioning of NET_EPOCH().

Reviewed by:    rmacklem
Sponsored by:   VersatusHPC
MFC after:      1 month
DeltaFile
+26-5sys/ofed/drivers/infiniband/ulp/nfsclrdma/xprt_verbs.c
+6-0sys/ofed/drivers/infiniband/ulp/nfsclrdma/clnt_rdma.c
+32-52 files

FreeBSD/ports f27b6c5 — lang/dotnet8 Makefile distinfo, lang/dotnet8/files patch-build.proj

lang/dotnet8: Update to 8.0.34/134
DeltaFile
+169-169lang/dotnet8/pkg-plist
+9-9lang/dotnet8/distinfo
+5-12lang/dotnet8/Makefile
+1-1lang/dotnet8/files/patch-build.proj
+184-1914 files

LLVM/project b209a2f — llvm/lib/UBAwareInterpreter Interpreter.cpp, llvm/test/CodeGen/AMDGPU shufflevector.v4f16.v4f16.ll shufflevector.v4bf16.v4bf16.ll

Merge branch 'main' into users/huntergr-arm/vector-lsr-with-unroll
DeltaFile
+1,356-2,712llvm/test/MC/RISCV/corev/XCVsimd-invalid.s
+0-3,310llvm/tools/llubi/lib/Interpreter.cpp
+3,294-0llvm/lib/UBAwareInterpreter/Interpreter.cpp
+881-1,762llvm/test/MC/RISCV/corev/XCVsimd.s
+933-1,031llvm/test/CodeGen/AMDGPU/shufflevector.v4f16.v4f16.ll
+933-1,031llvm/test/CodeGen/AMDGPU/shufflevector.v4bf16.v4bf16.ll
+7,397-9,8461,400 files not shown
+78,300-64,5851,406 files

LLVM/project 0b8ff8a — llvm/lib/Transforms/Utils LowerMemIntrinsics.cpp

[LowerMemIntrinsics] Factor out getBoundedMemSetPrefixSum (NFC) (#246082)

NFC, pure extraction of code from `expandBoundedMemSet` into a helper function `getBoundedMemSetPrefixSum`. Minor prep work related to
https://github.com/llvm/llvm-project/pull/239410.
DeltaFile
+27-17llvm/lib/Transforms/Utils/LowerMemIntrinsics.cpp
+27-171 files

LLVM/project 3c29202 — llvm/lib/Transforms/Utils LoopUtils.cpp, llvm/test/Transforms/LoopVectorize runtime-checks-difference-rmw-hoist.ll runtime-checks-hoist-same-outer-step.ll

[LoopUtils] Check the first outer iteration for co-moving pointer groups

When runtime checks are hoisted out of the outer loop, the range of each
pointer group is widened to cover all iterations of the outer loop. If both
groups of a check advance by the same step in the outer loop, e.g. two rows
of the same image:

```cpp
for (y = 0; y < H; y += 2)
  for (x = 0; x < n; x++) {
    img[y*S + 3*x]     = ...;
    img[(y+1)*S + 3*x] = ...;
  }
```

the widened ranges overlap as soon as the outer loop runs twice, so the
check always fails and the vector loop never runs.

If all bounds of both groups are affine AddRecs of the outer loop with the

    [7 lines not shown]
DeltaFile
+42-94llvm/test/Transforms/LoopVectorize/runtime-checks-hoist.ll
+63-15llvm/test/Transforms/LoopVectorize/AArch64/low_trip_memcheck_cost.ll
+22-29llvm/test/Transforms/LoopVectorize/runtime-checks-hoist-same-outer-step.ll
+24-5llvm/lib/Transforms/Utils/LoopUtils.cpp
+2-3llvm/test/Transforms/PhaseOrdering/AArch64/matrix-extract-insert.ll
+2-3llvm/test/Transforms/LoopVectorize/runtime-checks-difference-rmw-hoist.ll
+155-1496 files

LLVM/project b3c1b1d — llvm/test/Transforms/LoopVectorize runtime-checks-hoist-same-outer-step.ll

[LV] Add pre-commit tests (NFC)
DeltaFile
+633-0llvm/test/Transforms/LoopVectorize/runtime-checks-hoist-same-outer-step.ll
+633-01 files

LLVM/project 4d230f3 — llvm/lib/Transforms/Utils LoopUtils.cpp, llvm/test/Transforms/LoopVectorize runtime-check.ll pointer-select-runtime-checks.ll

[LoopUtils][LV] Compute runtime check bounds per check (NFCI)

getRuntimeCheckBounds takes a single pointer group, but the bounds to use
for one group can depend on the group it is checked against.

This changes RuntimePointerCheck to include bounds of both of its groups.
RuntimeCheckBounds takes the new role of covering both groups and
RuntimeCheckGroupBounds covering single group bounds.
The per-group logic moved unchanged into a static helper.

In VPlan's createRuntimeChecks, compute and expand the bounds of each check
right before its compares, in a single loop over the checks, instead of
caching the expanded bounds per group.

We can do it because VPSCEVExpander already reuses expansions of the same SCEV,
and VPlan's CSE merges the resulting duplicate freezes.

As the result, this change only affects the order of the instructions in
the runtime checks.
DeltaFile
+208-208llvm/test/Transforms/PhaseOrdering/AArch64/quant_4x4.ll
+113-113llvm/test/Transforms/LoopVectorize/VPlan/memory-checks.ll
+31-31llvm/test/Transforms/LoopVectorize/pointer-select-runtime-checks.ll
+31-31llvm/test/Transforms/LoopVectorize/if-pred-non-void.ll
+36-20llvm/lib/Transforms/Utils/LoopUtils.cpp
+19-19llvm/test/Transforms/LoopVectorize/runtime-check.ll
+438-42229 files not shown
+588-57135 files

LLVM/project 76f4250 — llvm/lib/Transforms/Utils LoopUtils.cpp

[LoopUtils] Factor out the same-step check of runtime check bounds (NFC)

The follow-up change uses four SCEV expressions for this type of change
so it also generalizes it to take an array.
DeltaFile
+33-22llvm/lib/Transforms/Utils/LoopUtils.cpp
+33-221 files

LLVM/project f6eab6e — clang/lib/CIR/Dialect/IR CIRDialect.cpp, clang/lib/CIR/Lowering/DirectToLLVM LowerToLLVM.cpp

[CIR] Lower constant vectors with undef, poison and zero elements

The `cir::ConstVectorAttr` verifier only checks the element types, so
`#cir.undef`, `#cir.poison` and `#cir.zero` are valid elements, and
`VecShuffleOp::fold` created an undef element for a -1 index. The
lowering to the LLVM dialect handled int, float and bool elements and
hit an `llvm_unreachable` on anything else, so a
`__builtin_shufflevector` of two constant vectors with a -1 index
crashed `-fclangir -emit-llvm`.

A zero element is now a zero in the dense constant. An undef or poison
element also takes a zero there and is then replaced by an
`llvm.insertelement` of `llvm.mlir.undef` or `llvm.mlir.poison`.
`llvm.mlir.constant` cannot hold such an element itself: a dense
elements attribute holds only literals, and the translation to LLVM IR
accepts a per-element `LLVM::UndefAttr` or `LLVM::ZeroAttr` only in
struct and array constants and no `LLVM::PoisonAttr` at all. The
IRBuilder folds the insertions when the module is translated, in
function bodies and in global initializers, so the LLVM IR holds one

    [10 lines not shown]
DeltaFile
+187-0clang/test/CIR/Lowering/const-vector-undef-poison-zero.cir
+69-21clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+53-0clang/test/CIR/CodeGen/vector-shuffle-poison-index.cpp
+1-1clang/test/CIR/Transforms/vector-shuffle-fold.cir
+1-1clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+311-235 files

LLVM/project d33b516 — clang/include/clang/CIR/Dialect/IR CIRAttrs.td, clang/lib/CIR/CodeGen CIRGenCXX.cpp

[CIR] Mark LoweringPrepare init functions strictfp

Classic codegen's StartFunction makes a function that has no
FunctionDecl `strictfp` when the TU-wide default FP environment is
constrained: FP exceptions are not ignored or the rounding mode is
dynamic. Of those functions ClangIR creates `_GLOBAL__sub_I_*`,
`_GLOBAL__I_*`, the C++20 module initializer, `__cxx_global_var_init*`,
`__cxx_global_array_dtor*` and `__tls_init`. It marked only
`__cxx_global_var_init*`, through a `strictfp` attribute on `cir.global`,
so the other functions and the calls in them were not `strictfp`.
Classic also marks the `__dtor_*` stubs, `_GLOBAL__D_a` and
`__GLOBAL_cleanup_*`, which ClangIR does not emit.

LoweringPrepare creates these functions after CIRGen, so it reads the
TU-wide default from `#cir.lowering_options`. `no_trapping_math` already
records whether FP exceptions are ignored, and the new `rounding_math`
field mirrors `LangOptions::RoundingMath`. It is omitted when false, so
the module attribute prints as before without `-frounding-math`.
`buildRuntimeFunction` adds `strictfp` together with the other TU-wide

    [8 lines not shown]
DeltaFile
+98-0clang/test/CIR/CodeGen/global-init-fn-strictfp.cpp
+38-0clang/test/CIR/Transforms/lowering-prepare-strictfp.cir
+35-0clang/test/CIR/CodeGen/cxx20-module-initializer-strictfp.cppm
+14-10clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+11-2clang/include/clang/CIR/Dialect/IR/CIRAttrs.td
+2-6clang/lib/CIR/CodeGen/CIRGenCXX.cpp
+198-183 files not shown
+200-289 files

LLVM/project df3d1f6 — clang/lib/CIR/Lowering/DirectToLLVM LowerToLLVM.cpp, clang/test/CIR/CodeGen strictfp-call-site.cpp strictfp-call-site.c

[CIR] Mark calls in strictfp functions strictfp

LangRef requires every call in a function that uses constrained FP
intrinsics to be `strictfp`, at the call site or on the callee, and
LLVM checks the call, not its caller, before it folds or simplifies a
libcall. Classic codegen gets the attribute from IRBuilder's
constrained mode. ClangIR marked only the function, so at -O1 LLVM
folded `erf(1.0)` to a constant under `FENV_ACCESS ON`.

The lowering now maps the CIR `strictfp` function attribute to the
`strictfp` attribute of `llvm.func` instead of a `passthrough` entry.
After the conversion to the LLVM dialect, it sets `strictfp` on every
`llvm.call`, `llvm.invoke`, `llvm.inline_asm` and `llvm.call_intrinsic`
in a `strictfp` function. That covers direct and indirect calls,
invokes, inline assembly, constrained intrinsics, and the calls that
LoweringPrepare and EH lowering create. CIR does not change, `strictfp`
stays a function attribute. The marks are part of the LLVM dialect, so
they survive any route to LLVM IR.


    [11 lines not shown]
DeltaFile
+118-0clang/test/CIR/CodeGen/strictfp-call-site.c
+115-0clang/test/CIR/Lowering/strictfp-call-site.cir
+86-0clang/test/CIR/CodeGen/strictfp-call-site.cpp
+32-0clang/test/CIR/Lowering/strictfp-call-site-asm.cir
+23-1clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+3-4clang/test/CIR/Lowering/strictfp.cir
+377-51 files not shown
+379-67 files

LLVM/project 3544dc0 — mlir/include/mlir/Dialect/LLVMIR LLVMOps.td, mlir/lib/Dialect/LLVMIR/IR LLVMCallOps.cpp

[mlir][LLVM] Add strictfp to llvm.func and the call ops

In a function that uses constrained floating-point intrinsics, LLVM
requires every call to be `strictfp`, at the call site or on the callee,
and its folders check the call before they fold or simplify a libcall.
The LLVM dialect could mark only the function, through `passthrough`, so
a frontend lowering to it had no way to mark its calls.

This adds a `strictfp` unit attribute to `llvm.func`, `llvm.call`,
`llvm.invoke`, `llvm.inline_asm` and `llvm.call_intrinsic`, the way the
dialect already models `convergent`, `no_unwind` and `will_return`.
Export turns it into the LLVM `strictfp` attribute and import reads it
back, so a `strictfp` function no longer lands in `passthrough`. Calls
of the constrained intrinsic ops already get the attribute from
IRBuilder. Other named intrinsic ops have no call-site attributes.

The inliner refuses a callee marked `strictfp`. It still refuses one
with `strictfp` in `passthrough` too, since export still accepts that
spelling and existing IR uses it.

    [2 lines not shown]
DeltaFile
+51-0mlir/test/Target/LLVMIR/llvmir.mlir
+21-4mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
+25-0mlir/test/Target/LLVMIR/Import/instructions.ll
+24-0mlir/test/Dialect/LLVMIR/roundtrip.mlir
+10-7mlir/lib/Dialect/LLVMIR/IR/LLVMCallOps.cpp
+12-0mlir/test/Target/LLVMIR/Import/intrinsic-unregistered.ll
+143-118 files not shown
+183-1214 files

LLVM/project c9e362b — llvm/lib/Analysis IR2Vec.cpp, llvm/test/Analysis/IR2Vec metadata-operands.ll

skip metadata
DeltaFile
+20-0llvm/test/tools/llvm-ir2vec/triplets-metadata.ll
+15-0llvm/test/Analysis/IR2Vec/metadata-operands.ll
+8-1llvm/lib/Analysis/IR2Vec.cpp
+7-0llvm/tools/llvm-ir2vec/lib/IRUtils/IRUtils.cpp
+50-14 files