Remove historic comment in DWP about MCStreamer (#195370)
Follow-up from #192112
@dwblaikie asked me to remove the comment mentioning MCStreamer as it's
a historical context and no longer relevant.
[DAGCombiner] Slightly simplify code in visitBSWAP. NFC (#193896)
Use alignDown and do computation in bits instead of converting to bytes
and back to bits. This is similar to what we do in InstCombineCalls for
the same transform.
[CIR] Add floating-point type descriptors to decodeFixedType (#194483)
`decodeFixedType` in `CIRGenBuiltin.cpp` only handled `Void`, `Integer`, `Vector`, and `Pointer` IIT descriptor kinds. Any target builtin whose intrinsic signature includes a floating-point type (e.g. `__builtin_ia32_rsqrtps` → `<4 x float>`) hit the default `errorNYI` path, which returned `VoidType`. `VectorType::get(VoidType, N)` then tripped the MLIR type verifier assertion.
Adds `Half`, `BFloat`, `Float`, `Double`, and `Quad` cases.
Found while building the Eigen test suite with CIR — this was crashing 21 of 135 test files.
devel/py-installer: Fix destdir problem
Add a patch based on upstream 8b72cf945bfa (and b5f03f151f0e as
prerequisite) that replaces a Path.resolve() call with os.path.abspath()
that does not resolve symlinks.
This fixes a problem with staging in some ports if the port is already
installed. For example, with devel/py-build installed,
/usr/local/bin/pyproject-build is a symlink to pyproject-build-3.11
(because of USES=uniquefiles) and if you then build devel/py-build the
Path.resolve() call caused pyproject-build to be installed in the stage
directory as pyproject-build-3.11.
PR: 294631
Approved by: sunpoet
[TextAPI] Add option to filter out unsupported/unknown/invalid targets (#195161)
Pipe `SkipUnknownTriples` flag through TBD file YAML and v5 JSON
parsers.
When set, target strings with an unknown architecture or platform are
dropped from the parsed `InterfaceFile` instead of producing a fatal
parse error.
Additionally, "unknown architecture"/"unknown platform" parse errors are
collapsed into a single "unknown target" message.
resolves: rdar://175690963
[AMDGPU] Support Wave Reduction for true-16 types - 3
Supporting true-16 versions of the reduction intrinsics
Supported Ops: `and`, `or`, `xor`.
Supports only the iterative stratergy, DPP is yet
to be supported.
[mlir] Remove redundant DCE worklist visited set (NFC) (#195662)
The eliminateTriviallyDeadOps worklist only enqueues operations after
checking that they are trivially dead. Dropping an operand before
testing the defining operation means a propagated enqueue happens only
when that defining operation has no remaining users.
During the simplification in #194041 I didn't simplify it far enough to
actually entirely remove the visited set, even though it isn't useful to
the algorithm right now.
Assisted-by: Codex
security/q-feeds-connector: add optional locked mode in qfeedsctl.py for cron runners and wait for configfile changes when HTTP 401 is thrown. closes https://github.com/opnsense/plugins/issues/5416
This should prevent firewalls from spamming Q-Feeds infrastructure when either an empty or invalid token is specified.
[flang][NFC] Convert problematic legacy-lowering tests to HLFIR (part 56) (#195578)
This conversion is basically rewrite of checks for these tests, because
HLFIR is very different from FIR.
Converted tests:
- Lower/derived-allocatable-components.f90
- Lower/polymorphic.f90
- Lower/vector-subscript-io.f90
Assisted-by: AI
[mlir] Interface-ify updating starting positions on vector.transfer_*
This commit adds methods to VectorTransferOpInterface that allow
transfer operations to be queried for whether their base memref (or
tensor) and permutation map can be updated in some particular way and
then for performing this update. This is part of a series of changes
designed to make passes like fold-memref-alias-ops more generic,
allowing downstream operations, like IREE's transfer_gather, to
participate in them without needing to duplicate patterns.
In order to test this new method, migrate FoldMemrefAliasOps to use
these methods to fold memref.subview, memref.expand_shape,and
memref.collapse_shape into tranfer_read and transfer_write.
AI note: the tranfer_read / transfer_write patterns, which are taken
from a previous PR, were written with Claude 4.5.
[clang][bytecode] Allow constructor calls on extern RVO pointers (#195654)
Turns out 8b258206819d48ff6410ea99f3c63738318bd178 caused a regression
in that it broke function calls with extern RVO pointers. However, that
check in CheckInvoke() seems unneeded anyway, so remove it.