LLVM/project 0b6cd1amlir/include/mlir/Dialect/LLVMIR LLVMOps.td, mlir/lib/Dialect/LLVMIR/IR LLVMDialect.cpp

[mlir][LLVM] Add support for `ptrtoaddr`

The `ptrtoaddr` op is akin to `ptrtoint` with some important differences:
* It does not capture the provenance of the pointer, meaning a pointer does not escape and subsequent `inttoptr` don't make a legal pointer. LLVM can then assume the pointer never escaped, which helps alias analysis.
* It does not support arbitrary integer types, but only exactly the integer type that is equal in width to the pointer type as specified by the data layout.

This PR adds the op the MLIR dialect and adds the corresponding verification for the datalayout property.
DeltaFile
+18-0mlir/test/Dialect/LLVMIR/invalid.mlir
+15-0mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
+9-0mlir/test/Target/LLVMIR/llvmir.mlir
+8-0mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
+2-0mlir/test/Dialect/LLVMIR/roundtrip.mlir
+2-0mlir/test/Target/LLVMIR/Import/instructions.ll
+54-06 files

LLVM/project a99d4a6mlir/lib/Tools/mlir-reduce MlirReduceMain.cpp

[mlir][reducer] Add split-input-file to mlir-reduce (#184970)

The tests for mlir-reduce are currently scattered. To centralize the
tests for mlir-reduce, I added the split-input-file feature to
mlir-reduce.It is part of
https://github.com/llvm/llvm-project/pull/184974.
DeltaFile
+43-30mlir/lib/Tools/mlir-reduce/MlirReduceMain.cpp
+43-301 files

LLVM/project ae4e712llvm/lib/Target/WebAssembly/AsmParser WebAssemblyAsmParser.cpp, llvm/lib/Target/WebAssembly/MCTargetDesc WebAssemblyTargetStreamer.cpp

[MC][WebAssembly] Allow strings for import modules and names in asm (#182896)

Current tooling for the WebAssembly component model uses import modules
and names such as `$root` and `[thread-index]`. Importing these from
assembly files requires support for non-valid identifiers in
`.import_name` and `.import_module` directives. This PR adds support for
specifying those as strings, e.g.:

```asm
        .import_module __wasm_component_model_builtin_thread_index, "$root"
        .import_name __wasm_component_model_builtin_thread_index, "[thread-index]"
```
DeltaFile
+46-1llvm/test/MC/WebAssembly/export-name.s
+44-2llvm/test/MC/WebAssembly/import-module.s
+18-3llvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
+4-6llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyTargetStreamer.cpp
+4-4llvm/test/CodeGen/WebAssembly/lower-em-ehsjlj-options.ll
+4-1llvm/test/MC/WebAssembly/export-name-invalid.s
+120-174 files not shown
+132-2310 files

LLVM/project eada0f5clang-tools-extra/clang-doc/assets head-template.mustache clang-doc-mustache.css, clang-tools-extra/test/clang-doc basic-project.mustache.test

[clang-doc] Add button toggle for light/dark theme (#181587)

The user can now manually toggle the light or dark theme instead of
waiting for the system theme to change.

Also fixes a typo that caused some overflow issues even when there was
no content to cause an overflow.
DeltaFile
+42-2clang-tools-extra/clang-doc/assets/head-template.mustache
+8-4clang-tools-extra/test/clang-doc/basic-project.mustache.test
+9-1clang-tools-extra/clang-doc/assets/clang-doc-mustache.css
+10-0clang-tools-extra/clang-doc/assets/navbar-template.mustache
+69-74 files

FreeNAS/freenas eb0013fsrc/middlewared/middlewared/plugins/filesystem_ utils.py acl.py, src/middlewared/middlewared/plugins/zfs resource_crud.py

use ZFS object counts to estimate % complete

This commit switches our filesystem permissions-related API
endpoints to calcluate thep percentage compelte for the task
based on object counters that libzfs provides. This is
somewhat imperfect, but gets us in the ballpark of a reasonable
number at a very low cost (much lower than pre-scanning).
DeltaFile
+29-2src/middlewared/middlewared/plugins/filesystem_/utils.py
+10-0src/middlewared/middlewared/plugins/zfs/resource_crud.py
+4-4src/middlewared/middlewared/plugins/filesystem_/acl.py
+43-63 files

LLVM/project 4d53c42compiler-rt/lib/builtins CMakeLists.txt

builtins: Make cmake formatting self-consistent aftr #183871

No behavior change.
DeltaFile
+4-2compiler-rt/lib/builtins/CMakeLists.txt
+4-21 files

LLVM/project 38459f3llvm/test/tools/llubi loadstore_le.ll loadstore_be.ll, llvm/tools/llubi/lib Context.cpp Interpreter.cpp

Revert "[llubi] Add support for load/store/lifetime markers (#182532)"

This reverts commit 0311bb623a1e1bd101e517cfde4538039f65aa24.
DeltaFile
+32-303llvm/tools/llubi/lib/Context.cpp
+0-192llvm/test/tools/llubi/loadstore_le.ll
+0-190llvm/test/tools/llubi/loadstore_be.ll
+8-127llvm/tools/llubi/lib/Interpreter.cpp
+17-46llvm/tools/llubi/lib/Value.h
+4-42llvm/tools/llubi/lib/Context.h
+61-9009 files not shown
+65-1,04815 files

FreeNAS/freenas ae1dae9src/middlewared/middlewared/plugins/pool_ pool.py, src/middlewared/middlewared/plugins/zpool query_impl.py

add expand_info()
DeltaFile
+30-0src/middlewared/middlewared/plugins/zpool/query_impl.py
+14-5src/middlewared/middlewared/plugins/pool_/pool.py
+44-52 files

FreeNAS/freenas d9be500src/middlewared/middlewared/plugins/zpool get_zpool_properties_impl.py query_impl.py

more AI garbage
DeltaFile
+0-26src/middlewared/middlewared/plugins/zpool/get_zpool_properties_impl.py
+1-4src/middlewared/middlewared/plugins/zpool/query_impl.py
+0-2src/middlewared/middlewared/plugins/zpool/__init__.py
+1-323 files

FreeNAS/freenas 84a05fasrc/middlewared/middlewared/api/v27_0_0 zpool_query.py __init__.py

add v27 dirs
DeltaFile
+173-0src/middlewared/middlewared/api/v27_0_0/zpool_query.py
+1-0src/middlewared/middlewared/api/v27_0_0/__init__.py
+174-02 files

FreeNAS/freenas fbfbd99src/middlewared/middlewared/plugins/zpool get_zpool_status_impl.py get_zpool_topology_impl.py

badddd
DeltaFile
+0-29src/middlewared/middlewared/plugins/zpool/get_zpool_status_impl.py
+0-18src/middlewared/middlewared/plugins/zpool/get_zpool_topology_impl.py
+0-4src/middlewared/middlewared/plugins/zpool/__init__.py
+0-513 files

FreeNAS/freenas 38401f8src/middlewared/middlewared/plugins/pool_ pool.py, src/middlewared/middlewared/plugins/zpool query_impl.py get_zpool_scan_impl.py

more cleanup of AI SLOP
DeltaFile
+43-20src/middlewared/middlewared/plugins/zpool/query_impl.py
+0-23src/middlewared/middlewared/plugins/zpool/get_zpool_scan_impl.py
+7-4src/middlewared/middlewared/plugins/pool_/pool.py
+0-2src/middlewared/middlewared/plugins/zpool/__init__.py
+50-494 files

FreeNAS/freenas 5c74b22src/middlewared/middlewared/api/v26_0_0 zpool_query.py, src/middlewared/middlewared/plugins/pool_ topology.py pool.py

add zpool.query
DeltaFile
+221-0src/middlewared/middlewared/plugins/zpool/query_impl.py
+173-0src/middlewared/middlewared/api/v26_0_0/zpool_query.py
+60-3src/middlewared/middlewared/plugins/pool_/topology.py
+41-19src/middlewared/middlewared/plugins/pool_/pool.py
+39-0src/middlewared/middlewared/plugins/zpool/crud.py
+29-0src/middlewared/middlewared/plugins/zpool/get_zpool_status_impl.py
+563-2214 files not shown
+668-4320 files

FreeNAS/freenas c93d904src/middlewared/middlewared/plugins/zpool query_impl.py get_zpool_scan_impl.py

fix1
DeltaFile
+6-0src/middlewared/middlewared/plugins/zpool/query_impl.py
+3-1src/middlewared/middlewared/plugins/zpool/get_zpool_scan_impl.py
+9-12 files

FreeNAS/freenas 0a56809src/middlewared/middlewared/plugins/zpool query_impl.py crud.py

clean up
DeltaFile
+21-36src/middlewared/middlewared/plugins/zpool/query_impl.py
+2-2src/middlewared/middlewared/plugins/zpool/crud.py
+23-382 files

LLVM/project 337fed3clang/lib/CodeGen CGExprAgg.cpp, clang/test/CodeGenHIP sret-nontrivial-copyable.hip

[Clang] Fix EmitAggregateCopy assertion for non-trivially-copyable sr… (#185091)

…et types

Fix for buildbot crash on #183639
The UseTemp path in AggExprEmitter::withReturnValueSlot copies back via
EmitAggregateCopy, which asserts that the type has a trivial copy/move
constructor or assignment operator. Gate the DestASMismatch condition on
isTriviallyCopyableType so that non-trivially-copyable types (e.g.
std::exception_ptr) fall through to the addrspacecast path instead.

Fix buildbot crash:
https://lab.llvm.org/buildbot/#/builders/73/builds/19803
DeltaFile
+34-0clang/test/CodeGenHIP/sret-nontrivial-copyable.hip
+7-6clang/lib/CodeGen/CGExprAgg.cpp
+2-2clang/test/OpenMP/amdgcn_sret_ctor.cpp
+43-83 files

LLVM/project bdec4dallvm/lib/Target/RISCV RISCVISelLowering.cpp RISCVInstrInfoP.td, llvm/test/CodeGen/RISCV rvp-ext-rv64.ll rvp-ext-rv32.ll

[RISCV][P-ext] Only support sshlsat for splat immediate shift amounts. (#184886)

Fixes cannot select errors for other types of shift amounts.

I've made a new RISCVISD node that only allows an immediate operand.
It's assumed that the lowering code will only allow valid immediates so
I'm not using a TImmLeaf in the match.
DeltaFile
+117-9llvm/test/CodeGen/RISCV/rvp-ext-rv64.ll
+90-6llvm/test/CodeGen/RISCV/rvp-ext-rv32.ll
+15-1llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+5-4llvm/lib/Target/RISCV/RISCVInstrInfoP.td
+227-204 files

LLVM/project d6f2ea4llvm/docs/TableGen ProgRef.rst, llvm/lib/TableGen TGParser.cpp TGParser.h

[TableGen] Add let append/prepend syntax for field concatenation
DeltaFile
+224-0llvm/test/TableGen/let-append.td
+91-14llvm/lib/TableGen/TGParser.cpp
+63-0llvm/test/TableGen/let-append-toplevel.td
+45-2llvm/docs/TableGen/ProgRef.rst
+22-4llvm/lib/TableGen/TGParser.h
+12-0llvm/test/TableGen/let-prepend-error.td
+457-202 files not shown
+481-208 files

LLVM/project 5230955flang/include/flang/Optimizer/Builder IntrinsicCall.h, flang/lib/Optimizer/Builder IntrinsicCall.cpp

[flang,acc] Support -ffp-maxmin-behavior option in lowering. (#184730)

This patch adds `flang -fc1` option `-ffp-maxmin-behavior` and
propagates it throughout Flang, so that semantics context,
lowering and the pass pipeline builder can use it.

MAX/MIN intrinsic and OpenACC max/min reduction lowering
are now controlled by the option.

I kept the `Legacy` mode, which is the default and matches the current
behavior. I am going to test and merge a follow-up patch that
replaces `Legacy` with `Portable`.

RFC:
https://discourse.llvm.org/t/flang-canonical-and-optimizable-representation-for-min-max/90037
DeltaFile
+64-67flang/lib/Optimizer/Builder/IntrinsicCall.cpp
+114-0flang/test/Lower/OpenACC/acc-reduction-maxmin.f90
+63-9mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
+52-0flang/test/Lower/fp-maxmin-behavior.f90
+46-0mlir/test/Dialect/OpenACC/ops.mlir
+1-44flang/include/flang/Optimizer/Builder/IntrinsicCall.h
+340-12024 files not shown
+605-15130 files

LLVM/project 4b072b7clang/lib/CodeGen/TargetBuiltins AMDGPU.cpp, clang/test/CodeGen amdgpu-abi-version.c

clang/AMDGPU: Fix workgroup size builtins for nonuniform work group sizes

These were assuming uniform work group sizes. Emit the v4 and v5 sequences
to take the remainder group for the nonuniform case.

Currently the device libs uses this builtin on the legacy ABI path with
the same sequence to calculate the remainder, and fully implements the v5
path. If you perform a franken-build of the library with the updated builtin,
the result is worse. The duplicate sequence does not fully fold out. However,
it does not appear to be wrong. The relevant conformance tests still pass.
DeltaFile
+627-0clang/test/CodeGenOpenCL/builtins-amdgcn-workgroup-size.cl
+123-36clang/lib/CodeGen/TargetBuiltins/AMDGPU.cpp
+100-16clang/test/CodeGenCUDA/amdgpu-workgroup-size.cu
+60-30clang/test/Headers/gpuintrin.c
+35-15clang/test/CodeGen/amdgpu-abi-version.c
+0-19clang/test/CodeGenOpenCL/builtins-amdgcn.cl
+945-1166 files

LLVM/project a8783dclldb/test/Shell/ScriptInterpreter/Python bytecode.test

[lldb][bytecode] Disable bytecode.test on windows (#185096)

The test is failing on the lldb-x86_64-win buildbot.
DeltaFile
+1-0lldb/test/Shell/ScriptInterpreter/Python/bytecode.test
+1-01 files

LLVM/project df783c5llvm/docs/TableGen ProgRef.rst, llvm/lib/TableGen TGParser.cpp TGParser.h

[TableGen] Add let append/prepend syntax for field concatenation
DeltaFile
+224-0llvm/test/TableGen/let-append.td
+91-14llvm/lib/TableGen/TGParser.cpp
+63-0llvm/test/TableGen/let-append-toplevel.td
+45-2llvm/docs/TableGen/ProgRef.rst
+22-4llvm/lib/TableGen/TGParser.h
+13-0llvm/test/TableGen/let-append-error.td
+458-202 files not shown
+483-208 files

LLVM/project 0d71610clang/test/CodeGenObjC expose-direct-method-visibility-linkage.m expose-direct-method-linkedlist.m

add darwin back
DeltaFile
+0-48clang/test/CodeGenObjC/expose-direct-method-visibility-linkage.m
+1-0clang/test/CodeGenObjC/expose-direct-method-linkedlist.m
+1-482 files

LLVM/project ab10f08clang/lib/CIR/CodeGen CIRGenFunction.cpp CIRGenVTables.cpp, clang/test/CIR/CodeGen thunks.cpp

[CIR] Fix a crash when source location is unknown (#185059)

When we call `getLoc()` with an invalid `SourceLocation` and
`currSrcLoc` is also invalid, we were crashing or asserting. I tracked
down one case where this was happening (generating an argument in a
vtable thunk) and fixed that to provide a location. I also am updating
the `getLoc()` implementation so that it will use an unknown location in
release builds rather than crashing because the location isn't critical
for correct compilation.
DeltaFile
+64-0clang/test/CIR/CodeGen/thunks.cpp
+12-4clang/lib/CIR/CodeGen/CIRGenFunction.cpp
+2-2clang/lib/CIR/CodeGen/CIRGenVTables.cpp
+78-63 files

LLVM/project d32ffdeclang/docs ClangIRABILowering.md index.rst

[CIR] Add MLIR ABI Lowering design document

Design document for MLIR dialect-agnostic calling convention
lowering that builds on the LLVM ABI Lowering Library
(llvm/lib/ABI/) as the single source of truth for ABI
classification.  Dialects use the library via an adapter layer:
ABITypeMapper maps dialect types to abi::Type*, the library
classifies arguments and returns, and a dialect-specific
ABIRewriteContext applies the decisions back to IR operations.

Targets x86_64 and AArch64, with parity against Classic Clang
CodeGen validated through differential testing.
DeltaFile
+545-0clang/docs/ClangIRABILowering.md
+1-0clang/docs/index.rst
+546-02 files

LLVM/project 2cb01dcclang-tools-extra/clang-doc/benchmarks ClangDocBenchmark.cpp CMakeLists.txt

[clang-doc] Fix benchmark not compiling (#185065)

CI didn't flag that the benchmark was using the outdated Ctx call
when landing the Mustache MD patch since this benchmark isn't tested.
Also added missing libraries in CMake that prevented me from building
the benchmark locally.
DeltaFile
+2-2clang-tools-extra/clang-doc/benchmarks/ClangDocBenchmark.cpp
+2-0clang-tools-extra/clang-doc/benchmarks/CMakeLists.txt
+4-22 files

FreeBSD/src 95dd873sys/contrib/dev/iwlwifi/fw/api rx.h, sys/contrib/dev/iwlwifi/mld rx.c d3.c

iwlwifi: update Intel's mvm/mld drivers

This version is based on
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
05f7e89ab9731565d8a62e3b5d1ec206485eeb0b ( tag: v6.19 ).

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
DeltaFile
+931-804sys/contrib/dev/iwlwifi/mld/rx.c
+0-809sys/contrib/dev/iwlwifi/mvm/link.c
+359-200sys/contrib/dev/iwlwifi/mld/d3.c
+49-347sys/contrib/dev/iwlwifi/mvm/d3.c
+286-0sys/contrib/dev/iwlwifi/fw/api/rx.h
+175-77sys/contrib/dev/iwlwifi/pcie/gen1_2/trans.c
+1,800-2,237103 files not shown
+3,127-4,432109 files

FreeNAS/freenas 0875b81tests/stig test_01_stig.py

Use auth.login_ex_continue
DeltaFile
+1-1tests/stig/test_01_stig.py
+1-11 files

LLVM/project 918d0fellvm/lib/Target/AMDGPU SIInsertWaitcnts.cpp, llvm/test/CodeGen/AMDGPU asyncmark-pregfx12.ll asyncmark-waitcnt.mir

[AMDGPU] fix asyncmark soft waitcnt bug (#184851)

Asyncmarks record the current wait state and so should not allow waitcnts that occur after them to be merged into waitcnts that occur before.
DeltaFile
+111-8llvm/test/CodeGen/AMDGPU/asyncmark-pregfx12.ll
+25-0llvm/test/CodeGen/AMDGPU/asyncmark-waitcnt.mir
+11-7llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
+147-153 files

FreeNAS/freenas cc9f213src/freenas/usr/local/share/python-gdb libpython.py, src/middlewared/middlewared/api/v27_0_0 smb.py pool_dataset.py

Merge branch 'master' of https://github.com/truenas/middleware into NAS-139477
DeltaFile
+0-1,914src/freenas/usr/local/share/python-gdb/libpython.py
+544-445src/middlewared/middlewared/plugins/etc.py
+0-936tests/api2/test_345_acl_nfs4.py
+918-0src/middlewared/middlewared/api/v27_0_0/smb.py
+860-0tests/unit/test_acltool.py
+818-0src/middlewared/middlewared/api/v27_0_0/pool_dataset.py
+3,140-3,295420 files not shown
+29,514-7,395426 files