LLVM/project 804ece6llvm/lib/Analysis DependenceAnalysis.cpp, llvm/test/Analysis/DependenceAnalysis WeakCrossingSIV.ll weak-crossing-siv-addrec-wrap.ll

[DA] Require `nsw` for AddRecs in the WeakCrossing SIV test (#185041)

Before the start of the algorithm in weak crossing SIV test, we need to
ensure both addrecs are `nsw`
DeltaFile
+2-2llvm/test/Analysis/DependenceAnalysis/WeakCrossingSIV.ll
+1-3llvm/test/Analysis/DependenceAnalysis/weak-crossing-siv-addrec-wrap.ll
+3-0llvm/lib/Analysis/DependenceAnalysis.cpp
+6-53 files

LLVM/project 6021270utils/bazel/llvm-project-overlay/llvm BUILD.bazel

[Bazel] Fixes 04785ad (#189456)

This fixes 04785adec34ddf9a6ec47f10da5b2b7fe8c9f9c8.

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+1-0utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
+1-01 files

FreeNAS/freenas 79ff89fsrc/middlewared/middlewared role.py, src/middlewared/middlewared/plugins/zfs resource_crud.py

grant SHARING_ADMIN ZFS resource RBAC privileges

The SHARING_ADMIN role requires ability to create but not
destroy ZFS datasets and zvols. This commit adds a new role
ZFS_RESOURCE_DELETE and changes it so that zfs.resource.destroy
requires this role as opposed to ZFS_RESOURCE_WRITE. This commit
also grants ZFS_RESOURCE_WRITE role to SHARING_ADMIN so that
RBAC contract isn't broken when UI transitions to new endpoints.
DeltaFile
+1-1src/middlewared/middlewared/plugins/zfs/resource_crud.py
+2-0src/middlewared/middlewared/role.py
+3-12 files

FreeNAS/freenas 28d8f66src/middlewared/middlewared/plugins/pool_ dataset.py dataset_encryption_info.py

NAS-140462 / 26.0.0-BETA.2 / Include internal datasets in encrypted dataset queries for unlock (by Qubad786) (#18591)

## Problem

During pool unlock, TrueNAS container internal datasets are
unintentionally
filtered out and not included in the unlock process. As a result, these
datasets remain locked, leading to issues with container functionality.

## Solution

- Introduced a new flag in `pool.dataset.query` to control inclusion of
  internal datasets.
- Updated the encrypted dataset unlock logic to use this flag during
recursive
  unlock operations, ensuring that internal datasets are also unlocked.


Original PR: https://github.com/truenas/middleware/pull/18583

Co-authored-by: M. Rehan <mrehanlm93 at gmail.com>
DeltaFile
+4-1src/middlewared/middlewared/plugins/pool_/dataset.py
+1-1src/middlewared/middlewared/plugins/pool_/dataset_encryption_info.py
+5-22 files

LLVM/project e77104bclang/lib/Driver/ToolChains Clang.cpp

clang: Use MakeArgStringRef more often

Avoid an intermediate copy by using MakeArgStringRef. Also
use better use of Twine with MakeArgString.
DeltaFile
+9-12clang/lib/Driver/ToolChains/Clang.cpp
+9-121 files

LLVM/project b660fe1clang/lib/Driver/ToolChains Clang.cpp

clang: Reorder linker aux-triple handling

Move the IsCuda check out from the IsCuda || isHIP block. Keep
this from splitting the aux-triple handling for future convenience.
DeltaFile
+20-19clang/lib/Driver/ToolChains/Clang.cpp
+20-191 files

SmartOS/live 5fe3126src/vm/node_modules VM.js, src/vm/node_modules/cloudinit nocloud.js

OS-8724 - Reserve vendor-data for SmartOS/Triton
DeltaFile
+20-5src/vm/tests/test-cloudinit-nocloud.js
+2-2src/vm/node_modules/cloudinit/nocloud.js
+3-1src/vm/node_modules/VM.js
+25-83 files

SmartOS/live ad86b7csrc/vm/man vmadm.8.md, src/vm/node_modules proptable.js VM.js

OS-8723 Expose virtio1 zone attribute via vmadm

Reviewed by: Nahum Shalman <nshalman at edgecast.io>
Reviewed by: Carlos Neira <cneira at edgecast.io>
Approved by: Nahum Shalman <nshalman at edgecast.io>
DeltaFile
+14-1src/vm/node_modules/proptable.js
+15-0src/vm/man/vmadm.8.md
+8-0src/vm/node_modules/VM.js
+37-13 files

LLVM/project 23f95fallvm/include/llvm/ABI FunctionInfo.h

[LLVM] Fix invalid shadowed type name
DeltaFile
+7-7llvm/include/llvm/ABI/FunctionInfo.h
+7-71 files

FreeBSD/ports 92b1957games/LibreMines distinfo Makefile

games/LibreMines: update to 2.3.0

Changelog:      https://github.com/Bollos00/LibreMines/releases/tag/v2.3.0
DeltaFile
+3-3games/LibreMines/distinfo
+1-1games/LibreMines/Makefile
+4-42 files

LLVM/project 15a7c45libc/shared/math asinbf16.h, libc/src/__support/math asinbf16.h

[libc][math][c23] Add asinbf16 math function (#184170)

Co-authored-by: bassiounix <muhammad.m.bassiouni at gmail.com>
DeltaFile
+95-0libc/src/__support/math/asinbf16.h
+43-0libc/test/src/math/asinbf16_test.cpp
+41-0libc/test/src/math/smoke/asinbf16_test.cpp
+23-0libc/shared/math/asinbf16.h
+22-0utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+21-0libc/src/math/asinbf16.h
+245-027 files not shown
+355-833 files

LLVM/project f10dccdmlir/lib/Dialect/SparseTensor/IR/Detail LvlTypeParser.cpp DimLvlMapParser.cpp

[MLIR][SparseTensor] Add #undef FAILURE_IF_FAILED and ERROR_IF (#188685)

Both DimLvlMapParser.cpp and LvlTypeParser.cpp define FAILURE_IF_FAILED
and ERROR_IF macros that are never undefined, which can leak into
subsequent translation units in unity builds. Add #undef at the end of
each file. See
https://discourse.llvm.org/t/rfc-enabling-unity-build/90306 for more
info.

"clauded" not coded
DeltaFile
+3-0mlir/lib/Dialect/SparseTensor/IR/Detail/LvlTypeParser.cpp
+3-0mlir/lib/Dialect/SparseTensor/IR/Detail/DimLvlMapParser.cpp
+6-02 files

LLVM/project 03869c7mlir/lib/Dialect/SparseTensor/Transforms/Utils SparseTensorIterator.cpp LoopEmitter.cpp

[MLIR][SparseTensor] Add missing #undef REMUI and DIVUI (#188686)

LoopEmitter.cpp and SparseTensorIterator.cpp define REMUI and DIVUI
macros but the existing #undef block at the end of each file omits them.
This can leak the macros into subsequent translation units in unity
builds. See https://discourse.llvm.org/t/rfc-enabling-unity-build/90306
for more info.

"clauded" not coded
DeltaFile
+2-0mlir/lib/Dialect/SparseTensor/Transforms/Utils/SparseTensorIterator.cpp
+2-0mlir/lib/Dialect/SparseTensor/Transforms/Utils/LoopEmitter.cpp
+4-02 files

LLVM/project 0d2c59aclang/lib/Headers gpuintrin.h nvptxintrin.h, clang/test/Headers gpuintrin_lang.c

[Clang] Fix constant bit widths in gpuintrin.h (#189387)

Summary:
The `ull` suffix can mean 128 bits on some architectures. Replace this
with the `stdint.h` constructor to be certain.
DeltaFile
+12-13clang/lib/Headers/gpuintrin.h
+3-0clang/test/Headers/Inputs/include/stdint.h
+1-1clang/lib/Headers/nvptxintrin.h
+1-0clang/test/Headers/gpuintrin_lang.c
+17-144 files

LLVM/project 7364203llvm/lib/Target/AMDGPU AMDGPUCoExecSchedStrategy.cpp AMDGPUCoExecSchedStrategy.h, llvm/test/CodeGen/AMDGPU coexec-scheduler.ll coexec-sched-effective-stall.mir

Reapply "[AMDGPU] Add HWUI pressure heuristics to coexec strategy (#184929)" (#189121)

Reland https://github.com/llvm/llvm-project/pull/184929 after fixing
some issues in the NDEBUG builds.

3a640ee is unchanged from the previously approved PR, the unreviewed
portion of this PR is 9cabd8d
DeltaFile
+606-0llvm/test/CodeGen/AMDGPU/coexec-scheduler.ll
+423-23llvm/lib/Target/AMDGPU/AMDGPUCoExecSchedStrategy.cpp
+288-2llvm/lib/Target/AMDGPU/AMDGPUCoExecSchedStrategy.h
+5-5llvm/test/CodeGen/AMDGPU/coexec-sched-effective-stall.mir
+1,322-304 files

LLVM/project a6ffdb5clang/lib/Headers gpuintrin.h, clang/test/Headers gpuintrin.c

[Clang] Improve scan in gpuintrin.h (#189381)

Summary:
Right now the scan checks to avoid the unspecified behavior in
`clzg(0)`. This is used as the source to the shuffle instruction, but
the argument is discarded at zero anyway. So, we simply pass unspecified
behavior to shuffle and then discard it. This should be fine. The scan
routines are expected to be optimal.

Also renames `sum` to `add`.
DeltaFile
+148-172clang/test/Headers/gpuintrin.c
+6-7clang/lib/Headers/gpuintrin.h
+2-2libc/src/__support/GPU/utils.h
+156-1813 files

LLVM/project c7ba9bbflang/lib/Semantics check-omp-loop.cpp, llvm/lib/Transforms/Vectorize SLPVectorizer.cpp

Address comments

Created using spr 1.3.7
DeltaFile
+13-6llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+0-9flang/lib/Semantics/check-omp-loop.cpp
+13-152 files

FreeNAS/freenas 21b7282src/middlewared/middlewared/etc_files scst.conf.mako, src/middlewared/middlewared/plugins/failover_ event.py

Track and propagate STANDBY ALUA state explicitly

Drive the STANDBY target group through OFFLINE -> TRANSITIONING ->
NONOPTIMIZED across the failover and standby_after_start lifecycle,
updating both nodes at each transition so RTPG responses are accurate
on whichever node an initiator queries.  On reload, the current state
is consulted rather than hardcoding nonoptimized.
DeltaFile
+31-30src/middlewared/middlewared/plugins/iscsi_/scst.py
+20-1src/middlewared/middlewared/plugins/iscsi_/alua.py
+6-2src/middlewared/middlewared/plugins/failover_/event.py
+2-2src/middlewared/middlewared/etc_files/scst.conf.mako
+59-354 files

LLVM/project 651b61fllvm/test/CodeGen/Hexagon gen-pred-andn-orn.ll sched-timing-classes.ll

[Hexagon] Add coverage tests for CodeGen analysis and optimization passes (#183952)

Add tests targeting Hexagon CodeGen analysis and optimization passes:

- gen-pred-andn-orn.ll: HexagonGenPredicate pass exercising andn/orn
logical operations, cmp-zero conversion paths, deeper predicate chains,
and byte comparison classification.

- memcpy-likely-aligned.ll: HexagonSelectionDAGInfo exercising the
aligned memcpy specialization path.

- constprop-fp-cmp.ll: HexagonConstPropagation exercising floating-
point comparison constant folding paths.

- sched-timing-classes.ll: Scheduling timing class coverage for various
Hexagon instruction classes.
DeltaFile
+129-0llvm/test/CodeGen/Hexagon/gen-pred-andn-orn.ll
+78-0llvm/test/CodeGen/Hexagon/sched-timing-classes.ll
+27-20llvm/test/CodeGen/Hexagon/memcpy-likely-aligned.ll
+45-0llvm/test/CodeGen/Hexagon/constprop-fp-cmp.ll
+279-204 files

LLVM/project ba22818lld/ELF/Arch Hexagon.cpp, lld/test/ELF hexagon-thunk-range-plt.s hexagon-thunks-packets.s

[lld][Hexagon] Fix out-of-range PLT branch thunks (#186545)

Linking large Hexagon binaries (e.g. ASan runtime with >8 MiB of text)
fails with R_HEX_B22_PCREL / R_HEX_PLT_B22_PCREL relocation overflow on
calls to PLT entries, even though the thunk infrastructure exists and
needsThunks is set.

needsThunk() always used s.getVA() to compute the branch destination,
even for PLT calls where the actual destination is the PLT entry. This
meant the distance check used the wrong address and failed to create
thunks when the PLT entry was out of B22_PCREL range.

Fix by using s.getPltVA() when expr == R_PLT_PC. Also override
getThunkSectionSpacing() so ThunkSections are pre-created at appropriate
intervals for large binaries.
DeltaFile
+38-51lld/test/ELF/hexagon-thunk-range-plt.s
+42-38lld/test/ELF/hexagon-thunks-packets.s
+9-11lld/test/ELF/hexagon-thunks.s
+12-2lld/ELF/Arch/Hexagon.cpp
+101-1024 files

LLVM/project 04785adllvm/include/llvm/ABI FunctionInfo.h, llvm/lib/ABI FunctionInfo.cpp CMakeLists.txt

[LLVMABI] Create ABI Utils (#185105)

This PR introduces `ABIFunctionInfo` and surrounding utility helpers,
and is part of the set of breakout PRs to upstream the LLVM ABI lowering
library prototyped in https://github.com/llvm/llvm-project/pull/140112.

`ABIFunctionInfo` is directly analogous to `CGFunctionInfo` from Clang's
existing CodeGen pipeline, and represents an ABI lowered view of the
function signature, decoupled from both the Clang AST and LLVM IR.

`ABIArgInfo` encodes lowering decisions and currently supports
Direct,Extend,Indirect and Ignore which are required for our initial
goal of implementing x86-64 SysV and BPF, but this will change as the
library grows to represent more targets that need them.

This PR is a direct precursor to the implementation of `ABIInfo` in the
library as demonstrated in the PR linked above..
DeltaFile
+269-0llvm/include/llvm/ABI/FunctionInfo.h
+31-0llvm/lib/ABI/FunctionInfo.cpp
+1-0llvm/lib/ABI/CMakeLists.txt
+301-03 files

FreeNAS/freenas bbe8edfsrc/middlewared/middlewared/etc_files scst.conf.mako, src/middlewared/middlewared/plugins/failover_ event.py

Track and propagate STANDBY ALUA state explicitly

Drive the STANDBY target group through OFFLINE -> TRANSITIONING ->
NONOPTIMIZED across the failover and standby_after_start lifecycle,
updating both nodes at each transition so RTPG responses are accurate
on whichever node an initiator queries.  On reload, the current state
is consulted rather than hardcoding nonoptimized.
DeltaFile
+30-30src/middlewared/middlewared/plugins/iscsi_/scst.py
+20-1src/middlewared/middlewared/plugins/iscsi_/alua.py
+6-2src/middlewared/middlewared/plugins/failover_/event.py
+2-2src/middlewared/middlewared/etc_files/scst.conf.mako
+58-354 files

FreeNAS/freenas 7ee1bbasrc/middlewared/middlewared/plugins/iscsi_ alua.py, src/middlewared/middlewared/utils/iscsi constants.py

Add iscsi.alua.standby_alua_state
DeltaFile
+34-1src/middlewared/middlewared/plugins/iscsi_/alua.py
+10-0src/middlewared/middlewared/utils/iscsi/constants.py
+44-12 files

LLVM/project 14ab059llvm/lib/Target/AMDGPU AMDGPUTargetTransformInfo.cpp, llvm/test/Analysis/CostModel/AMDGPU log10.ll log.ll

[AMDGPU][TTI] Update cost model for transcendental instructions to be more precise (#189430)

Introduce `getTransInstrCost` instead of `getQuarterRateInstrCost` for transcendental ops
DeltaFile
+380-248llvm/test/Analysis/CostModel/AMDGPU/log10.ll
+380-248llvm/test/Analysis/CostModel/AMDGPU/log.ll
+218-218llvm/test/Analysis/CostModel/AMDGPU/sqrt.ll
+202-202llvm/test/Analysis/CostModel/AMDGPU/log2.ll
+236-104llvm/test/Analysis/CostModel/AMDGPU/sin.ll
+83-10llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
+1,499-1,0301 files not shown
+1,501-1,0307 files

FreeNAS/freenas 40aeba6src/middlewared/middlewared/plugins/pool_ dataset.py dataset_encryption_info.py

Include internal datasets in encrypted dataset queries for unlock

(cherry picked from commit 70510182ddf3510f776aa3ee5e08a8de267b2387)
DeltaFile
+4-1src/middlewared/middlewared/plugins/pool_/dataset.py
+1-1src/middlewared/middlewared/plugins/pool_/dataset_encryption_info.py
+5-22 files

FreeNAS/freenas fa338edsrc/middlewared/middlewared/plugins/pool_ dataset.py dataset_encryption_info.py

NAS-140462 / 27.0.0-BETA.1 / Include internal datasets in encrypted dataset queries for unlock (#18583)

## Problem

During pool unlock, TrueNAS container internal datasets are
unintentionally
filtered out and not included in the unlock process. As a result, these
datasets remain locked, leading to issues with container functionality.

## Solution

- Introduced a new flag in `pool.dataset.query` to control inclusion of
  internal datasets.
- Updated the encrypted dataset unlock logic to use this flag during
recursive
  unlock operations, ensuring that internal datasets are also unlocked.
DeltaFile
+4-1src/middlewared/middlewared/plugins/pool_/dataset.py
+1-1src/middlewared/middlewared/plugins/pool_/dataset_encryption_info.py
+5-22 files

LLVM/project 5c9440fflang/lib/Semantics check-omp-loop.cpp

[flang][OpenMP] Remove misplaced comment, NFC (#189449)

Remove the seemingly random comment listing clauses allowed on a DO
construct. The nearby code has nothing to do with clauses.
DeltaFile
+0-9flang/lib/Semantics/check-omp-loop.cpp
+0-91 files

FreeBSD/ports 23a2020math/p5-Math-Pari Makefile, math/p5-Math-Pari/files patch-libPARI_Makefile.PL

math/p5-Math-Pari: Fix build with perl 5.42+

- Bump PORTREVISION

PR:             288244
Reported by:    Dan Langille <dvl at FreeBSD.org>
DeltaFile
+13-0math/p5-Math-Pari/files/patch-libPARI_Makefile.PL
+4-7math/p5-Math-Pari/Makefile
+17-72 files

LLVM/project 5d836e9llvm/test/Analysis/DependenceAnalysis weak-crossing-siv-addrec-wrap.ll WeakCrossingSIV.ll

update testcases
DeltaFile
+9-18llvm/test/Analysis/DependenceAnalysis/weak-crossing-siv-addrec-wrap.ll
+1-1llvm/test/Analysis/DependenceAnalysis/WeakCrossingSIV.ll
+10-192 files

LLVM/project 9766d6dclang-tools-extra/test/clang-doc enum.cpp, clang/lib/Sema HLSLBuiltinTypeDeclBuilder.cpp

Fix formatting

Created using spr 1.3.7
DeltaFile
+464-226clang-tools-extra/test/clang-doc/enum.cpp
+296-190llvm/test/CodeGen/AMDGPU/llvm.amdgcn.tanh.ll
+428-0llvm/test/Transforms/InstCombine/fcmp-select-sign.ll
+199-191libc/test/shared/shared_math_test.cpp
+299-44clang/lib/Sema/HLSLBuiltinTypeDeclBuilder.cpp
+330-0clang/test/CodeGenObjC/expose-direct-method.m
+2,016-651333 files not shown
+8,094-2,924339 files