NetBSD/pkgsrc-wip c6e1a69 — ap2-mpm-itk Makefile, ap24-auth-gssapi Makefile

*: deprecate PKG_APACHE_ACCEPTED, PKG_APACHE
DeltaFile
+1-3harmony/options.mk
+1-3bugzilla/options.mk
+0-2ap2-mpm-itk/Makefile
+0-1ap24-auth-gssapi/Makefile
+2-94 files

LLVM/project 47fb0f8 — offload/unittests/OffloadAPI/kernel olLaunchKernel.cpp

[Offload] Bring back LocalMem skips for L0 (#246068)

Added a SKIP in offload tests, because newly added module-flag is not
added when building test kernels. More on the module-flag here
https://github.com/llvm/llvm-project/pull/231160
DeltaFile
+6-0offload/unittests/OffloadAPI/kernel/olLaunchKernel.cpp
+6-01 files

LLVM/project 5f20bab — lldb/cmake/modules FindPythonAndSwig.cmake, lldb/source/Plugins/ScriptInterpreter/Python CMakeLists.txt

[LLDB] [CMake] Allow linking with SABI Python on Mingw (#245600)

For the Python stable ABI/API, we currently don't link directly against
the Python library at all. On Unix platforms, we expect to dlopen() the
Python library before loading liblldb. On Windows in MSVC environments,
the right Python library is linked implicitly through `#pragma
comment(lib, ..)`.

For Mingw environments, we do need to explicitly link against the right
library. Locating the right library requires including
`Development.SABIModule` in the `find_package(Python3 ..)` call. This
requires CMake 3.26 or higher, and since
eb9bb7d826f80cecc675c0bfa0ec4b61eb1be05a, LLVM requires CMake 3.31 or
newer.

(In practice, it was benign to include this in the `find_package()` call
on older versions of CMake, it would just warn that this feature wasn't
known though, and it wouldn't set the right variables unless running
with a new enough version of CMake.)
DeltaFile
+13-4lldb/source/Plugins/ScriptInterpreter/Python/CMakeLists.txt
+1-1lldb/cmake/modules/FindPythonAndSwig.cmake
+14-52 files

LLVM/project 012d817 — clang/lib/CIR/CodeGen CIRGenExprScalar.cpp, clang/test/CIR/CodeGen vector-strict-fp.cpp

[CIR] Use the pragma FP environment for __builtin_convertvector

`ScalarExprEmitter::VisitConvertVectorExpr` emitted the conversion
without a `CIRGenFPOptionsRAII`, so the cast got the floating-point
environment of the command line instead of the one that pragmas set at
the expression. With `-ffp-exception-behavior=strict` on the command
line and `#pragma clang fp exceptions(maytrap)` plus
`#pragma STDC FENV_ACCESS ON` in the function, ClangIR lowered the
conversions to constrained intrinsics with `round.tonearest` and
`fpexcept.strict`, where classic codegen emits `round.dynamic` and
`fpexcept.maytrap`.

Install the RAII for the conversion, after the source operand is
emitted, as classic codegen does on each floating-point path.

The test converts between float vectors and signed, unsigned, double
and bool vectors, so it covers the `float_to_bool` and `bool_to_float`
casts too. ClangIR and classic codegen share every LLVM check for them,
and the ClangIR run rejects any plain conversion or `fcmp` instruction

    [7 lines not shown]
DeltaFile
+52-9clang/test/CIR/CodeGen/vector-strict-fp.cpp
+3-2clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
+55-112 files

LLVM/project c4fcb94 — clang/lib/CIR/Lowering/DirectToLLVM LowerToLLVM.cpp, clang/test/CIR/CodeGen bool-to-float-strict-fp.cpp complex-strict-fp.cpp

[CIR] Keep complex and bool casts constrained in strict FP functions

In a strictfp function ClangIR emitted plain `fpext`, `fptrunc`,
`fptosi`, `sitofp`, `uitofp` and `fcmp une` for casts between complex
types and for conversions between floating-point values and bool, where
classic codegen emits constrained intrinsics. CIRGen created the
complex casts and `float_to_bool` without the `fenv` attribute,
LoweringPrepare dropped the attribute when it expanded a complex cast,
and the LLVM lowering of `float_to_bool` and `bool_to_float` ignored
it.

`createCast` now takes an optional `fenv` attribute. CIRGen passes the
current floating-point environment for `float_to_bool` and for the
complex cast kinds that convert floating-point values. The kinds that
only select or pack a part, `float_to_complex` and
`float_complex_to_real`, get none, and the verifier no longer accepts
the attribute on them. LoweringPrepare passes the attribute of a
complex cast to the scalar casts of its expansion. With `fenv`,
`float_to_bool` lowers to the quiet constrained `fcmp` and

    [10 lines not shown]
DeltaFile
+99-83clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+116-0clang/test/CIR/CodeGen/complex-cast-fenv-access.c
+76-0clang/test/CIR/CodeGen/complex-strict-fp.cpp
+64-0clang/test/CIR/Transforms/lowering-prepare-complex-cast-fenv.cir
+44-0clang/test/CIR/CodeGen/bool-to-float-strict-fp.cpp
+32-0clang/test/CIR/Lowering/fenv.cir
+431-838 files not shown
+518-10914 files

LLVM/project 959b0a4 — openmp/runtime/test/api kmp_integer_8_apis.f90

[openmp] Remove obsolete `REQUIRES: flang` from test (#244914)

Remove `REQUIRES: flang` from the one test using it, as the feature is
no longer defined within `openmp` (it is in `offload`), and therefore
the test was always skipped. Fortran tests are disabled entirely (by
suffix) when Flang is not available.

Signed-off-by: Michał Górny <mgorny at gentoo.org>
DeltaFile
+0-1openmp/runtime/test/api/kmp_integer_8_apis.f90
+0-11 files

LLVM/project e2d15ca — clang/include/clang/CIR/Dialect/IR CIROps.td, clang/lib/CIR/CodeGen CIRGenBuilder.h

[CIR] Keep three-way comparisons constrained in strict FP functions

In a strictfp function ClangIR emitted plain `fcmp` for a three-way
comparison of floating-point values, where classic codegen emits
`llvm.experimental.constrained.fcmp`. `cir.cmp3way` had no `fenv`
attribute, and LoweringPrepare expanded it with a builder that has no
floating-point state.

This gives the operation the optional `fenv` attribute, valid only for
floating-point operands, and the fenv traits of the scalar operations
in place of `Pure`:

- CIRGen attaches the attribute. Like classic codegen it opens no
  FP-options scope for the comparison itself, so the comparison takes
  the environment in effect around it. In `return x <=> y` under
  `FENV_ACCESS ON` alone that is the default of the function,
  `fpexcept.ignore`.
- LoweringPrepare expands a comparison of floating-point values into
  quiet `cir.fcmp`s, which take the attribute if the operation has one.

    [10 lines not shown]
DeltaFile
+125-0clang/test/CIR/CodeGen/three-way-cmp-strict-fp.cpp
+72-0clang/test/CIR/Transforms/lowering-prepare-cmp3way-fenv.cir
+28-0clang/test/CIR/Transforms/cmp3way-fenv-effects.cir
+15-10clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+15-4clang/lib/CIR/CodeGen/CIRGenBuilder.h
+10-3clang/include/clang/CIR/Dialect/IR/CIROps.td
+265-175 files not shown
+304-2011 files

LLVM/project 0410afa — llvm/lib/Target/Hexagon HexagonRegisterInfo.td, llvm/lib/Target/Hexagon/Disassembler HexagonDisassembler.cpp

[Hexagon] Support UPMUCNT[0-7] register aliases (#244679)

Registers UPMUCNT0-UPMUCNT7 are added in v79 and are aliases for control
registers C20-C27. According to the PRM, these registers are read-only.

Fixes #233538.
DeltaFile
+21-0llvm/test/MC/Hexagon/v79_regs.s
+21-0llvm/test/MC/Hexagon/v79_regs_readonly.s
+16-1llvm/lib/Target/Hexagon/HexagonRegisterInfo.td
+12-0llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCChecker.cpp
+4-4llvm/lib/Target/Hexagon/Disassembler/HexagonDisassembler.cpp
+1-1llvm/test/MC/Hexagon/hvx-swapped-regpairs-alias-neg.s
+75-66 files

LLVM/project c8a4854 — llvm/lib/Target/Hexagon HexagonDepInstrInfo.td HexagonDepIICHVX.td, llvm/test/CodeGen/Hexagon hvx-3src-packet-rules.ll v79-restrict-cvi-novp.ll

[Hexagon] Allow two shifts per packet in HVX v79+ (#245319)

In Hexagon v79 and later, two shift instructions (CVI_VS) can be
scheduled in one packet, compared to one in previous versions. The
second shift instruction will use the permute resource, which was
renamed to a shift/permute resource in the documentation.

However, there are restrictions when using the shift/permute resource
for shift instructions. First, a small subset of shift instructions (the
four 3-source narrowing shifts and 3 vprefix instructions) may still
only use the shift resource even in v79 and later.

Second, the 3-source shifts cannot be packetized together with another
shift.

Co-authored-by: Yashas Andaluri <yandalur at qti.qualcomm.com>
DeltaFile
+328-24llvm/lib/Target/Hexagon/HexagonDepIICHVX.td
+143-0llvm/test/CodeGen/Hexagon/v79-two-shifts-packet.ll
+61-61llvm/lib/Target/Hexagon/HexagonDepInstrInfo.td
+92-0llvm/test/MC/Hexagon/v79-two-shifts.s
+62-0llvm/test/CodeGen/Hexagon/v79-restrict-cvi-novp.ll
+37-0llvm/test/CodeGen/Hexagon/hvx-3src-packet-rules.ll
+723-854 files not shown
+796-11410 files

FreeNAS/freenas 57877ae — tests/api2 test_300_nfs.py

Fix flaky NFS logging test

(cherry picked from commit d932c4e14099e8f6d4852173d043fd1c8029a6fb)
DeltaFile
+20-16tests/api2/test_300_nfs.py
+20-161 files

FreeNAS/freenas ee2e15d — tests/api2 test_300_nfs.py

NAS-145438 / 27.1.0 / Fix flaky NFS logging test (#20321)

We'll have to use NFSv3 to test logging. NFSv4 mounts only produce the
inotify-driven "v4.x client attached/detached" lines, which are racy.

Also, WARNINGs like "refused unmount not exported" pass the simple
`'rpc.mountd' in syslog_data` filter and can mess with tests results
too.
DeltaFile
+20-16tests/api2/test_300_nfs.py
+20-161 files

LLVM/project a0b0c8b — clang/lib/CIR/CodeGen CIRGenExprScalar.cpp, clang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

[CIR] Keep complex mul and div constrained in strict FP functions

In a strictfp function ClangIR emitted plain `fmul`, `fsub`, `fadd`,
`fdiv` and `fcmp` for complex multiplication and division, where
classic codegen emits constrained intrinsics. `cir.complex.fmul` and
`cir.complex.fdiv` had no `fenv` attribute, and LoweringPrepare
expanded them with a builder that has no floating-point state.

This moves both operations onto `CIR_FenvOp`, which gives them the
optional `fenv` attribute and the fenv traits of the scalar operations.
CIRGen attaches the attribute, and LoweringPrepare passes it to the
scalar arithmetic, comparisons and conversions of the expansion.

The range check of the improved division becomes a quiet
`cir.fcmp ugt`, the predicate classic codegen uses. A `cir.cmp ge` with
`fenv` lowers to the signaling `fcmps` and would raise an invalid
exception for a quiet NaN divisor. Without `fenv` the check changes
from `fcmp oge` to `fcmp ugt`.


    [15 lines not shown]
DeltaFile
+113-52clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+83-0clang/test/CIR/Transforms/lowering-prepare-complex-fenv.cir
+65-0clang/test/CIR/CodeGen/complex-mul-div-fenv-access.c
+64-0clang/test/CIR/CodeGen/promotion-fenv-access.c
+45-2clang/test/CIR/CodeGen/complex-strict-fp.cpp
+20-3clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
+390-575 files not shown
+433-6711 files

LLVM/project 91597e1 — clang/lib/CodeGen CGExprComplex.cpp CGExprScalar.cpp, clang/test/CodeGen promotion-strictfp.c

[clang] Use the operator's FP environment for promoted operands

An operator evaluated in a wider type converts its operands to that type
and its result back. This happens for `_Float16` and `__bf16` without
native support, and for complex division with the promoted complex
range. The binary operators and unary plus and minus did these
conversions outside the scope of their FP options, so the conversions
took the ambient options. The right-hand side of a scalar compound
assignment was promoted before its scope too. For `z = x * y` on
`_Float16`, or `c = a / b` on `_Complex float` with the promoted range,
under a file-scope `#pragma STDC FENV_ACCESS ON`, that is the default
environment of the function:

  fpext    fpexcept.ignore                   -> fpexcept.strict
  fptrunc  round.tonearest, fpexcept.ignore  -> round.dynamic, fpexcept.strict

`c /= b` and `f(a / b)` already had the strict metadata, because the
scope of the compound assignment or of the call was open. These
operators now open their scope before they promote, when they promote.

    [4 lines not shown]
DeltaFile
+98-0clang/test/CodeGen/promotion-strictfp.c
+18-3clang/lib/CodeGen/CGExprScalar.cpp
+13-0clang/lib/CodeGen/CGExprComplex.cpp
+129-33 files

LLVM/project af892f3 — llvm/lib/Target/WebAssembly WebAssemblyFastISel.cpp WebAssemblyExplicitLocals.cpp, llvm/test/CodeGen/WebAssembly swift-async-context-addr-error.ll swift-async-context-addr-dbg.ll

[wasm] Swift async ABI p3: Lower llvm.swift.async.context.addr to local 0

With this commit, in functions with a swiftasync argument, the async
context intrinsic is lowered to local 0. Without a swiftasync argument,
the intrinsic is a stack slot, as on X86 without an extended frame.

Loads and stores through llvm.swift.async.context.addr become local.get 0
and local.set 0. Other uses of the address are an error, because locals
have no address.

The swiftasync argument also arrives in local 0, so the argument and the
intrinsic are two names for the same location. After a write through one of
them, a read through the other returns the wrong value. Await resume funclets
write their own context through the intrinsic, and can then read the
argument, which is the callee's context. To prevent this, in functions that
write local 0, WebAssemblyExplicitLocals copies the swiftasync argument to
another local.

FastISel does not select loads and stores through the intrinsic, so that
SelectionDAG lowers them together with the intrinsic.
DeltaFile
+79-0llvm/test/CodeGen/WebAssembly/swift-async-context-addr.ll
+57-0llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
+39-0llvm/test/CodeGen/WebAssembly/swift-async-context-addr-dbg.ll
+17-5llvm/lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp
+16-0llvm/test/CodeGen/WebAssembly/swift-async-context-addr-error.ll
+14-0llvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp
+222-51 files not shown
+232-57 files

LLVM/project 7802238 — llvm/include/llvm/MC MCWasmStreamer.h

[MC] Remove write-only MCWasmStreamer::SeenIdent (NFC) (#245908)

The last reader was removed on May 2, 2018 in commit
4d57fbd02a8cb16045da65e078e72aa68e4ac21e.  This patch also removes its
initializer and the now-redundant reset override.

Assisted-by: Antigravity
DeltaFile
+1-11llvm/include/llvm/MC/MCWasmStreamer.h
+1-111 files

LLVM/project 331f1f2 — llvm/lib/Target/AMDGPU AMDGPURegBankLegalizeRules.cpp AMDGPURegBankLegalizeRules.h

[AMDGPU] Remove write-only RegBankLegalizeRules::MRI (NFC) (#245907)

This patch teaches RegBankLegalizeRules to stop taking MRI.  The rest of
the patch removes the code to plumb MRI into it.

Assisted-by: Antigravity
DeltaFile
+5-7llvm/lib/Target/AMDGPU/AMDGPURegBankLegalize.cpp
+2-6llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.h
+1-3llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
+8-163 files

FreeBSD/ports 0530184 — graphics/jkqtplotter Makefile

graphics/jkqtplotter: Deprecate Qt5 flavor

PR:             301076
With hat:       kde@
DeltaFile
+5-0graphics/jkqtplotter/Makefile
+5-01 files

LLVM/project 0800d6c — 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 d23f9fa — 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 7a0ee98 — 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 5e7ef23 — 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
+35-22llvm/lib/Transforms/Utils/LoopUtils.cpp
+35-221 files

LLVM/project 11608ea — lldb/source/Host/common XMLParser.cpp, lldb/unittests/Host XMLParserTest.cpp

remove redundant bits
DeltaFile
+29-37lldb/source/Host/common/XMLParser.cpp
+4-0lldb/unittests/Host/XMLParserTest.cpp
+33-372 files

LLVM/project 7484697 — clang/lib/CIR/CodeGen CIRGenExprScalar.cpp, clang/test/CIR/CodeGen vector-strict-fp.cpp

[CIR] Use the pragma FP environment for __builtin_convertvector

`ScalarExprEmitter::VisitConvertVectorExpr` emitted the conversion
without a `CIRGenFPOptionsRAII`, so the cast got the floating-point
environment of the command line instead of the one that pragmas set at
the expression. With `-ffp-exception-behavior=strict` on the command
line and `#pragma clang fp exceptions(maytrap)` plus
`#pragma STDC FENV_ACCESS ON` in the function, ClangIR lowered the
conversions to constrained intrinsics with `round.tonearest` and
`fpexcept.strict`, where classic codegen emits `round.dynamic` and
`fpexcept.maytrap`.

Install the RAII for the conversion, after the source operand is
emitted, as classic codegen does on each floating-point path.

The test converts between float vectors and signed, unsigned, double
and bool vectors, so it covers the `float_to_bool` and `bool_to_float`
casts too. ClangIR and classic codegen share every LLVM check for them,
and the ClangIR run rejects any plain conversion or `fcmp` instruction

    [7 lines not shown]
DeltaFile
+52-9clang/test/CIR/CodeGen/vector-strict-fp.cpp
+3-2clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
+55-112 files

LLVM/project fc74880 — llvm/lib/Analysis ScalarEvolution.cpp, llvm/test/Transforms/IndVarSimplify exit-value-nowrap-flags-predicated-exits.ll

[SCEV] Treat expressions with use flags as maybe-poison. (#245980)

Use flags only hold where the expression is used, so an expression
carrying them, directly or in an operand, may be poison where it is
expanded. Return false from isGuaranteedNotToBePoison for such
expressions, consistent with impliesPoison.

This fixes a miscompile where SCEVExpander emitted a divisor with its
use flags in a block where they do not hold, turning the division into
immediate UB.

PR: https://github.com/llvm/llvm-project/pull/245980
DeltaFile
+21-0llvm/unittests/Analysis/ScalarEvolutionTest.cpp
+9-9llvm/test/Transforms/IndVarSimplify/exit-value-nowrap-flags-predicated-exits.ll
+4-0llvm/lib/Analysis/ScalarEvolution.cpp
+34-93 files

LLVM/project f776eb6 — clang/lib/CIR/Lowering/DirectToLLVM LowerToLLVM.cpp, clang/test/CIR/CodeGen bool-to-float-strict-fp.cpp complex-strict-fp.cpp

[CIR] Keep complex and bool casts constrained in strict FP functions

In a strictfp function ClangIR emitted plain `fpext`, `fptrunc`,
`fptosi`, `sitofp`, `uitofp` and `fcmp une` for casts between complex
types and for conversions between floating-point values and bool, where
classic codegen emits constrained intrinsics. CIRGen created the
complex casts and `float_to_bool` without the `fenv` attribute,
LoweringPrepare dropped the attribute when it expanded a complex cast,
and the LLVM lowering of `float_to_bool` and `bool_to_float` ignored
it.

`createCast` now takes an optional `fenv` attribute. CIRGen passes the
current floating-point environment for `float_to_bool` and for the
complex cast kinds that convert floating-point values. The kinds that
only select or pack a part, `float_to_complex` and
`float_complex_to_real`, get none, and the verifier no longer accepts
the attribute on them. LoweringPrepare passes the attribute of a
complex cast to the scalar casts of its expansion. With `fenv`,
`float_to_bool` lowers to the quiet constrained `fcmp` and

    [10 lines not shown]
DeltaFile
+99-83clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+116-0clang/test/CIR/CodeGen/complex-cast-fenv-access.c
+76-0clang/test/CIR/CodeGen/complex-strict-fp.cpp
+64-0clang/test/CIR/Transforms/lowering-prepare-complex-cast-fenv.cir
+44-0clang/test/CIR/CodeGen/bool-to-float-strict-fp.cpp
+32-0clang/test/CIR/Lowering/fenv.cir
+431-838 files not shown
+509-11114 files

NetBSD/pkgsrc-wip a8a0ae1 — py-polyfactory Makefile distinfo

py-polyfactory: update to 3.5.0
DeltaFile
+3-3py-polyfactory/distinfo
+1-1py-polyfactory/Makefile
+4-42 files

LLVM/project a989beb — llvm/include/llvm/Analysis IR2Vec.h

[IR2Vec][NFC] Map TypeIDs to canonical types with a switch
DeltaFile
+42-35llvm/include/llvm/Analysis/IR2Vec.h
+42-351 files

LLVM/project 5c9f262 — clang/lib/CIR/Dialect/IR CIRDialect.cpp, clang/test/CIR/CodeGen vector-int128-fold.cpp

[CIR] Handle integers wider than 64 bits in the vector constant folders

`cir::IntAttr::getUInt()` and `getSInt()` assert when the value needs
more than 64 bits. The folders of `cir.vec.cmp`, `cir.vec.ternary` and
`cir.vec.shuffle.dynamic` read constant elements through them, so they
asserted on a vector of `__int128` with such an element. C++ reaches
all three at -O0. The verifier of `cir.vec.shuffle` read its indices the
same way and asserted while parsing an index wider than 64 bits.

They now work on the `APInt` values:

- `cir.vec.cmp` compares the elements at their full width.
- `cir.vec.ternary` tests whether the condition element is zero.
- `cir.vec.shuffle.dynamic` masks the index before narrowing it.
- The `cir.vec.shuffle` verifier recognizes the -1 index by all of its
  bits being set and range-checks the other indices without narrowing
  them.

Folds of integers up to 64 bits are unchanged.

    [2 lines not shown]
DeltaFile
+129-0clang/test/CIR/Transforms/vector-cmp-fold.cir
+21-45clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+51-0clang/test/CIR/CodeGen/vector-int128-fold.cpp
+34-0clang/test/CIR/IR/invalid-vector.cir
+15-0clang/test/CIR/Transforms/vector-ternary-fold.cir
+15-0clang/test/CIR/Transforms/vector-shuffle-dynamic-fold.cir
+265-456 files

LLVM/project 67d1d56 — clang/include/clang/CIR/Dialect/IR CIROps.td, clang/lib/CIR/CodeGen CIRGenBuilder.h

[CIR] Keep three-way comparisons constrained in strict FP functions

In a strictfp function ClangIR emitted plain `fcmp` for a three-way
comparison of floating-point values, where classic codegen emits
`llvm.experimental.constrained.fcmp`. `cir.cmp3way` had no `fenv`
attribute, and LoweringPrepare expanded it with a builder that has no
floating-point state.

This gives the operation the optional `fenv` attribute, valid only for
floating-point operands, and the fenv traits of the scalar operations
in place of `Pure`:

- CIRGen attaches the attribute. Like classic codegen it opens no
  FP-options scope for the comparison itself, so the comparison takes
  the environment in effect around it. In `return x <=> y` under
  `FENV_ACCESS ON` alone that is the default of the function,
  `fpexcept.ignore`.
- LoweringPrepare expands a comparison of floating-point values into
  quiet `cir.fcmp`s, which take the attribute if the operation has one.

    [10 lines not shown]
DeltaFile
+125-0clang/test/CIR/CodeGen/three-way-cmp-strict-fp.cpp
+72-0clang/test/CIR/Transforms/lowering-prepare-cmp3way-fenv.cir
+28-0clang/test/CIR/Transforms/cmp3way-fenv-effects.cir
+15-10clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+15-4clang/lib/CIR/CodeGen/CIRGenBuilder.h
+10-3clang/include/clang/CIR/Dialect/IR/CIROps.td
+265-175 files not shown
+304-2011 files

LLVM/project 31fb29c — clang/include/clang/Basic TargetInfo.h, clang/lib/AST ASTContext.cpp

convert to exec-charset inside getPredefinedStringLiteralFromCache, test __builtin_FILE()
DeltaFile
+10-0clang/lib/AST/ASTContext.cpp
+3-1clang/test/CodeGen/systemz-charset.cpp
+3-0clang/lib/Basic/TargetInfo.cpp
+2-0clang/include/clang/Basic/TargetInfo.h
+18-14 files