LLVM/project 609c955mlir/include/mlir/Bindings/Python IRCore.h, mlir/lib/Bindings/Python MainModule.cpp IRTypes.cpp

works
DeltaFile
+71-62mlir/lib/Bindings/Python/MainModule.cpp
+35-8mlir/include/mlir/Bindings/Python/IRCore.h
+22-15mlir/lib/Bindings/Python/IRTypes.cpp
+24-12mlir/lib/Bindings/Python/Pass.cpp
+25-9mlir/lib/Bindings/Python/IRAffine.cpp
+17-11mlir/lib/Bindings/Python/IRCore.cpp
+194-11714 files not shown
+282-15820 files

LLVM/project 10d6a02libc/include pthread.yaml, libc/src/pthread pthread_attr_getschedparam.cpp pthread_attr_setschedparam.cpp

[libc] Add stub pthread_attr_getschedparam / pthread_attr_setschedparam (#173440)

Add the boilerplate for declaring these POSIX functions and
providing implementations.  So far the only implementations are
just stubs that fail with ENOTSUP, and they are neither tested
nor included in any CMake entrypoints lists.  More work is still
required to add the actual fields to the pthread_attr_t and
implement the support in the Linux pthread_create et al, but that
is not done here.  It's not an especially large amount of work,
but more than just trivial.

The scaffolding here paves the way for that later work, but is
also immediately useful for filling out the subset of POSIX
pthread_attr_* functions that Fuchsia's libc already supports.
DeltaFile
+24-0libc/src/pthread/pthread_attr_getschedparam.cpp
+24-0libc/src/pthread/pthread_attr_setschedparam.cpp
+22-0libc/src/pthread/pthread_attr_getschedparam.h
+22-0libc/src/pthread/pthread_attr_setschedparam.h
+20-0libc/src/pthread/CMakeLists.txt
+14-0libc/include/pthread.yaml
+126-06 files

LLVM/project c7cce95llvm/lib/Target/RISCV RISCVInsertVSETVLI.cpp RISCVVSETVLIInfoAnalysis.h

Remove braces

Created using spr 1.3.6-beta.1
DeltaFile
+29-10llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
+5-21llvm/lib/Target/RISCV/RISCVVSETVLIInfoAnalysis.h
+3-18llvm/lib/Target/RISCV/RISCVVSETVLIInfoAnalysis.cpp
+3-6llvm/lib/Target/RISCV/RISCVMachineScheduler.cpp
+40-554 files

LLVM/project 49b5358llvm/lib/Target/RISCV RISCVInsertVSETVLI.cpp RISCVVSETVLIInfoAnalysis.h

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.6-beta.1

[skip ci]
DeltaFile
+29-10llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
+5-21llvm/lib/Target/RISCV/RISCVVSETVLIInfoAnalysis.h
+3-18llvm/lib/Target/RISCV/RISCVVSETVLIInfoAnalysis.cpp
+37-493 files

LLVM/project 5e69a7fllvm/test/CodeGen/AMDGPU amdgcn.bitcast.1024bit.ll amdgcn.bitcast.512bit.ll, llvm/test/CodeGen/RISCV atomic-rmw.ll

rebase

Created using spr 1.3.4
DeltaFile
+53,434-51,436llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+17,545-20,831llvm/test/CodeGen/X86/wide-scalar-shift-by-byte-multiple-legalization.ll
+18,291-16,006llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+19,255-3,889llvm/test/CodeGen/RISCV/atomic-rmw.ll
+8,998-11,093llvm/test/CodeGen/AMDGPU/maximumnum.bf16.ll
+8,981-11,098llvm/test/CodeGen/AMDGPU/minimumnum.bf16.ll
+126,504-114,35324,755 files not shown
+2,051,833-870,55424,761 files

LLVM/project 3742d59llvm/test/CodeGen/AMDGPU amdgcn.bitcast.1024bit.ll amdgcn.bitcast.512bit.ll, llvm/test/CodeGen/RISCV atomic-rmw.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.4

[skip ci]
DeltaFile
+53,434-51,436llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+17,545-20,831llvm/test/CodeGen/X86/wide-scalar-shift-by-byte-multiple-legalization.ll
+18,291-16,006llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+19,255-3,889llvm/test/CodeGen/RISCV/atomic-rmw.ll
+8,998-11,093llvm/test/CodeGen/AMDGPU/maximumnum.bf16.ll
+8,981-11,098llvm/test/CodeGen/AMDGPU/minimumnum.bf16.ll
+126,504-114,35324,755 files not shown
+2,051,833-870,55424,761 files

LLVM/project 4b65538llvm/lib/IR Instructions.cpp, llvm/test/Transforms/DFAJumpThreading dfa-unfold-select.ll

[IR] Change PHINode::removeIncomingValueIf() to loop incoming values backwards
DeltaFile
+9-9llvm/test/Transforms/DFAJumpThreading/dfa-unfold-select.ll
+4-5llvm/lib/IR/Instructions.cpp
+1-1llvm/test/Transforms/JumpThreading/select.ll
+14-153 files

LLVM/project 8c5a0f7llvm/test/CodeGen/RISCV/rvv vfncvt-f-f.ll vfncvt-sat-f-f-alt.ll

[llvm][RISCV] Support Zvfofp8min llvm intrinsics and codegen (#172585)

This is follow up patch for
https://github.com/llvm/llvm-project/pull/157014
to support llvm intrinsics and codegen.
DeltaFile
+356-4llvm/test/CodeGen/RISCV/rvv/vfncvt-f-f.ll
+357-0llvm/test/CodeGen/RISCV/rvv/vfncvt-sat-f-f-alt.ll
+357-0llvm/test/CodeGen/RISCV/rvv/vfncvt-sat-f-f.ll
+357-0llvm/test/CodeGen/RISCV/rvv/vfncvt-f-f-alt.ll
+243-0llvm/test/CodeGen/RISCV/rvv/zvfofp8min-alt-interlave.ll
+227-0llvm/test/CodeGen/RISCV/rvv/vfwcvt-f-f-alt.ll
+1,897-45 files not shown
+2,250-1011 files

LLVM/project 75a9ffdflang/docs Intrinsics.md

[flang][NFC] Fixed a merge artifact in Intrinsics.md (#173443)

Removed "HEAD" line from some past merge.
DeltaFile
+0-1flang/docs/Intrinsics.md
+0-11 files

LLVM/project 5aa8882mlir/examples/standalone/test/python smoketest.py, mlir/include/mlir/Bindings/Python IRCore.h

kind of works
DeltaFile
+83-62mlir/lib/Bindings/Python/MainModule.cpp
+32-6mlir/include/mlir/Bindings/Python/IRCore.h
+22-9mlir/lib/Bindings/Python/Pass.cpp
+15-9mlir/lib/Bindings/Python/IRCore.cpp
+16-3mlir/examples/standalone/test/python/smoketest.py
+10-7mlir/lib/Bindings/Python/IRTypes.cpp
+178-9614 files not shown
+237-12620 files

LLVM/project 6f4ddf9bolt/lib/Profile StaleProfileMatching.cpp

[BOLT][NFC] Split up StaleProfileMatching::matchWeights (#165492)

Simplify matchWeights in preparation for pseudo probe matching 
(#100446).

Test Plan: NFC
DeltaFile
+154-94bolt/lib/Profile/StaleProfileMatching.cpp
+154-941 files

LLVM/project 458bc63utils/bazel/llvm-project-overlay/mlir BUILD.bazel

Fix bazel build for 51253b3 (#173437)

Co-authored-by: Pranav Kant <prka at google.com>
DeltaFile
+1-0utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+1-01 files

LLVM/project c91cfd4clang/lib/AST/ByteCode Context.cpp, clang/test/AST/ByteCode char-buffer-arithmetic.c

Finally worked out how to test the string size computation
DeltaFile
+15-2clang/test/AST/ByteCode/char-buffer-arithmetic.c
+1-1clang/lib/AST/ByteCode/Context.cpp
+16-32 files

LLVM/project 1cbff54llvm/test/tools/llvm-mca/RISCV/Andes45 rvv-arithmetic.s rvv-fp.s

[RISCV] Pre-commit RVV instructions to the Ands45 scheduling model and tests (#171954)

This is like what spacemit x60 did in
https://github.com/llvm/llvm-project/commit/c4d4e761ef27d6dd27323cf3efa506db5e9e3457.
DeltaFile
+6,837-0llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-arithmetic.s
+5,616-0llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-fp.s
+4,742-0llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-vlseg-vsseg.s
+4,345-0llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-bitwise.s
+3,521-0llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-permutation.s
+3,001-0llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-mul-div.s
+28,062-012 files not shown
+41,723-6318 files

LLVM/project 520ba7dclang/test/Driver print-supported-extensions-riscv.c, llvm/docs RISCVUsage.rst

[RISCV] Mark the Xqci Qualcomm uC Vendor Extension as non-experimental (#173331)

Version 0.13 of the Xqci Qualcomm uC Vendor Extension has been marked as
frozen. We've had assembler support for this since LLVM20 and code
generation support since LLVM21. I think we have enough coverage in the
code base to mark the extension as non-experimental.
DeltaFile
+63-63llvm/test/MC/RISCV/xqciint-csrs-invalid.s
+39-42llvm/lib/Target/RISCV/RISCVFeatures.td
+21-18llvm/docs/RISCVUsage.rst
+19-19llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
+19-19clang/test/Driver/print-supported-extensions-riscv.c
+19-19llvm/test/CodeGen/RISCV/features-info.ll
+180-18094 files not shown
+465-464100 files

LLVM/project f0597e1llvm/lib/Target/AMDGPU AMDGPURegBankLegalizeRules.cpp, llvm/test/CodeGen/AMDGPU/GlobalISel fmed3.ll

[AMDGPU][GlobalISel] Add RegBankLegalize support for G_AMDGPU_FMED3 (#173085)

DeltaFile
+120-0llvm/test/CodeGen/AMDGPU/GlobalISel/fmed3.ll
+6-0llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
+126-02 files

LLVM/project 935da9dmlir/include/mlir/Bindings/Python IRCore.h, mlir/lib/Bindings/Python MainModule.cpp Pass.cpp

kind of works
DeltaFile
+83-62mlir/lib/Bindings/Python/MainModule.cpp
+32-6mlir/include/mlir/Bindings/Python/IRCore.h
+22-9mlir/lib/Bindings/Python/Pass.cpp
+15-9mlir/lib/Bindings/Python/IRCore.cpp
+10-7mlir/lib/Bindings/Python/IRTypes.cpp
+9-4mlir/test/python/lib/PythonTestModuleNanobind.cpp
+171-9713 files not shown
+216-11919 files

LLVM/project 389e5a9mlir/include/mlir/Bindings/Python IRCore.h, mlir/lib/Bindings/Python MainModule.cpp Pass.cpp

kind of works
DeltaFile
+75-62mlir/lib/Bindings/Python/MainModule.cpp
+31-5mlir/include/mlir/Bindings/Python/IRCore.h
+18-9mlir/lib/Bindings/Python/Pass.cpp
+9-6mlir/lib/Bindings/Python/IRCore.cpp
+9-4mlir/test/python/lib/PythonTestModuleNanobind.cpp
+6-7mlir/lib/Bindings/Python/IRTypes.cpp
+148-9312 files not shown
+178-11518 files

LLVM/project f88e589lldb/packages/Python/lldbsuite/test lldbtest.py

[lldb] Add Python 3.8 compatibility for lldbtest.py (#173392)

follow up from 9892870687e0af00e798474aa5cecfd4647071e1 as we recently
added type hints to this file
DeltaFile
+3-0lldb/packages/Python/lldbsuite/test/lldbtest.py
+3-01 files

LLVM/project 9b020ddlld/test/wasm/lto stub-library.s stub-library-libcall.s, lld/test/wasm/lto/Inputs funcs.ll foo.ll

[lld][WebAssembly] Don't export deps for unused stub symbols (#173422)

When a stub .so file contains
```
A: B
```

And `A` is defined in bitcode that's pulled in for LTO, but both `A` and
`B` are removed in `LTO::linkRegularLTO` due to not being dead:
https://github.com/llvm/llvm-project/blob/24297bea9672722d8fbaaff137b301b0becaae9c/llvm/lib/LTO/LTO.cpp#L1042-L1054
Then the symbol `A` becomes undefined after LTO, `processStubLibraries`
tries to import `A` from JS, and tries to export its dependency `B`:
https://github.com/llvm/llvm-project/blob/24297bea9672722d8fbaaff137b301b0becaae9c/lld/wasm/Driver.cpp#L1108-L1109
But `B` is gone, causing this error:
```console
wasm-ld: error: ....: undefined symbol: B. Required by A
```

This PR checks if the symbol is used in regular objects before trying to
exporrt its dependences, ensuring the case above doesn't crash the
linker.
DeltaFile
+12-6lld/test/wasm/lto/stub-library.s
+17-0lld/test/wasm/lto/Inputs/funcs.ll
+0-7lld/test/wasm/lto/Inputs/foo.ll
+3-3lld/test/wasm/lto/stub-library-libcall.s
+1-1lld/wasm/Driver.cpp
+1-0lld/test/wasm/lto/Inputs/stub.so
+34-176 files

LLVM/project 82d0ec9flang-rt/lib/runtime command.cpp environment.cpp, flang/include/flang/Common windows-include.h

[flang] improve compatibility with mingw headers (#172041)

The mingw headers declare `__environ` already, leading to warnings due
to missing dllimport here. Similarly with _WIN32_WINNT may be already
defined from a header leading to nuisance warnings. And the getpid is
not defined in the current header set (it is in process.h), so that
needs to be defined, just like MSVC (this replaces

https://github.com/msys2/MINGW-packages/blob/576fc4bbfa9bff4d5ab81779a706723b5214fd7d/mingw-w64-flang/0103-fix-build-on-mingw.patch).
DeltaFile
+0-2flang-rt/lib/runtime/command.cpp
+2-0flang-rt/lib/runtime/environment.cpp
+2-0flang/include/flang/Common/windows-include.h
+4-23 files

LLVM/project f7e19f1clang-tools-extra/clang-doc JSONGenerator.cpp Serialize.cpp, clang-tools-extra/clang-doc/assets clang-doc-mustache.css

[clang-doc] Add navigation via namespaces
DeltaFile
+91-1clang-tools-extra/clang-doc/JSONGenerator.cpp
+36-6clang-tools-extra/clang-doc/assets/clang-doc-mustache.css
+29-3clang-tools-extra/test/clang-doc/namespace.cpp
+29-0clang-tools-extra/clang-doc/Serialize.cpp
+14-0clang-tools-extra/clang-doc/Representation.h
+12-0clang-tools-extra/test/clang-doc/basic-project.mustache.test
+211-107 files not shown
+249-1413 files

LLVM/project 5ae6964llvm/include/llvm/Support KnownFPClass.h, llvm/lib/Analysis ValueTracking.cpp

Make KnownFPClass::exp not side-effecting
DeltaFile
+10-8llvm/lib/Support/KnownFPClass.cpp
+9-7llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+5-9llvm/lib/Analysis/ValueTracking.cpp
+1-1llvm/include/llvm/Support/KnownFPClass.h
+25-254 files

LLVM/project df6a4callvm/include/llvm/Support KnownFPClass.h, llvm/lib/Analysis ValueTracking.cpp

InstCombine: Handle exp/exp2/exp10 in SimplifyDemandedFPClass

I'm working on optimizing out the tail sequences in the
implementations of the 4 different flavors of pow. These
include chains of selects on the various edge cases.

Related to #64870
DeltaFile
+90-0llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+34-47llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-exp.ll
+26-0llvm/lib/Support/KnownFPClass.cpp
+2-21llvm/lib/Analysis/ValueTracking.cpp
+3-0llvm/include/llvm/Support/KnownFPClass.h
+155-685 files

LLVM/project 1a33ec0llvm/test/Transforms/InstCombine simplify-demanded-fpclass-exp.ll

InstCombine: Add baseline tests for exp SimplifyDemandedFPClass
DeltaFile
+502-0llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-exp.ll
+502-01 files

LLVM/project 9435649llvm/lib/Analysis ValueTracking.cpp, llvm/test/Transforms/Attributor nofpclass-exp.ll

ValueTracking: Improve handling of exp intrinsic for overflow

Teach exp handling that positive inputs cannot introduce overflow,
and negative inputs cannot introduce underflow.
DeltaFile
+24-24llvm/test/Transforms/Attributor/nofpclass-exp.ll
+16-0llvm/lib/Analysis/ValueTracking.cpp
+40-242 files

LLVM/project d8af1dcllvm/test/Transforms/Attributor nofpclass-exp.ll

ValueTracking: Add baseline tests for computeKnownFPClass exp

This is already handled, but misses opportunities. Test cases
where the input is known positive or negative.
DeltaFile
+101-0llvm/test/Transforms/Attributor/nofpclass-exp.ll
+101-01 files

LLVM/project 24bbda9llvm/include/llvm/Support KnownFPClass.h, llvm/lib/Analysis ValueTracking.cpp

Make KnownFPClass::canonicalize not side-effecting
DeltaFile
+16-14llvm/lib/Support/KnownFPClass.cpp
+3-2llvm/lib/Analysis/ValueTracking.cpp
+3-2llvm/include/llvm/Support/KnownFPClass.h
+1-3llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+23-214 files

LLVM/project fdeaf6fllvm/include/llvm/Support KnownFPClass.h, llvm/lib/Analysis ValueTracking.cpp

InstCombine: Handle canonicalize in SimplifyDemandedFPClass

Doesn't try to handle PositiveZero flushing mode, but I
don't believe it is incorrect with it.
DeltaFile
+24-49llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-canonicalize.ll
+73-0llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+6-49llvm/lib/Analysis/ValueTracking.cpp
+48-0llvm/lib/Support/KnownFPClass.cpp
+5-0llvm/include/llvm/Support/KnownFPClass.h
+156-985 files

LLVM/project a45ca44mlir/include/mlir/Dialect/XeGPU/IR XeGPUAttrs.td, mlir/include/mlir/Dialect/XeGPU/Utils XeGPULayoutUtils.h

add layout set up rule for reduction
DeltaFile
+379-39mlir/lib/Dialect/XeGPU/Utils/XeGPULayoutUtils.cpp
+107-39mlir/lib/Dialect/XeGPU/IR/XeGPUDialect.cpp
+67-29mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp
+20-4mlir/include/mlir/Dialect/XeGPU/IR/XeGPUAttrs.td
+10-4mlir/include/mlir/Dialect/XeGPU/Utils/XeGPULayoutUtils.h
+2-2mlir/test/Dialect/XeGPU/propagate-layout.mlir
+585-1176 files