LLVM/project d206fb1mlir/include/mlir/Transforms Passes.td Passes.h, mlir/lib/Transforms RemoveDeadValues.cpp

tmp commit

simple test working

draft: do not erase IR, just replace uses
DeltaFile
+143-304mlir/lib/Transforms/RemoveDeadValues.cpp
+110-45mlir/test/Transforms/remove-dead-values.mlir
+10-0mlir/include/mlir/Transforms/Passes.td
+1-0mlir/include/mlir/Transforms/Passes.h
+264-3494 files

LLVM/project 1ab7b66llvm/lib/Transforms/Vectorize VectorCombine.cpp, llvm/test/CodeGen/AMDGPU combine-scalar-selects.ll combine-scalar-selects-asm.ll

Revert "[VectorCombine] Fold scalar selects from bitcast into vector select" (#174758)

Reverts llvm/llvm-project#173990
Reverting to address post-commit review feedback. Will recommit with
fixes.
DeltaFile
+0-1,874llvm/test/CodeGen/AMDGPU/combine-scalar-selects.ll
+0-1,372llvm/test/CodeGen/AMDGPU/combine-scalar-selects-asm.ll
+0-118llvm/lib/Transforms/Vectorize/VectorCombine.cpp
+0-3,3643 files

LLVM/project 448933dllvm/lib/Target/SPIRV SPIRVRegularizer.cpp, llvm/test/CodeGen/SPIRV icmp-i1.ll

[SPIRV] Lower i1 comparisons to logical operations in regularizer pass.

UGT, UGE, ULT, ULE, SGT, SGE, SLT, SLE predicates for i1 types are now
lowered to equivalent logical operations (AND, OR, NOT) to ensure
valid SPIR-V, since SPIR-V boolean types only support logical operations.
DeltaFile
+132-0llvm/test/CodeGen/SPIRV/icmp-i1.ll
+73-0llvm/lib/Target/SPIRV/SPIRVRegularizer.cpp
+205-02 files

LLVM/project 807cc99llvm/lib/Transforms/InstCombine InstCombineSimplifyDemanded.cpp

Update llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp

Co-authored-by: Jay Foad <jay.foad at amd.com>
DeltaFile
+2-5llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+2-51 files

LLVM/project faa7edellvm/tools/llvm-stress llvm-stress.cpp

[llvm-stress] Allow implicit truncation

This is generating a random integer, so truncating is fine.

Fixes the issue reported in:
https://github.com/llvm/llvm-project/pull/171456#issuecomment-3718690088
DeltaFile
+2-1llvm/tools/llvm-stress/llvm-stress.cpp
+2-11 files

LLVM/project 9363750.github/workflows release-binaries.yml release-binaries-all.yml

worklows/release-binaries: Add Windows release binary builds (#150793)

Windows x86 binaries will now be built and uploaded automatically when a new release is tagged.
DeltaFile
+71-6.github/workflows/release-binaries.yml
+1-0.github/workflows/release-binaries-all.yml
+72-62 files

LLVM/project 542d2a5clang/include/clang/Basic arm_sve.td, clang/test/CodeGen/AArch64/sve2p2-intrinsics acle_sve2_cvtnt.c

[Clang][LLVM][AArch64] Add support for FCVTXNT, FCVTLT, {B}FCVTNT int… (#170356)

…rinsics

This patch adds support in Clang for these assembly instructions
FCVTXNT, FCVTLT, {B}FCVTNT
By implementing these prototypes:

// Variant is available for _f64_f32
svfloat32_t     svcvtlt_f32[_f16]_z     (svbool_t pg, svfloat16_t op);

// Variants are available for:
// _f32_f64, _bf16_f32
svfloat16_t svcvtnt_f16[_f32]_z (svfloat16_t even, svbool_t pg,
svfloat32_t op);

svfloat32_t svcvtxnt_f32[_f64]_z (svfloat32_t even, svbool_t pg,
svfloat64_t op);


    [6 lines not shown]
DeltaFile
+138-0clang/test/CodeGen/AArch64/sve2p2-intrinsics/acle_sve2_cvtnt.c
+53-0llvm/test/CodeGen/AArch64/sve2p2-intrinsics-fp-converts.ll
+48-0clang/test/Sema/AArch64/arm_sve_feature_dependent_sve_AND_LP_sve2p2_OR_sme2p2_RP___sme_AND_LP_sve2p2_OR_sme2p2_RP.c
+12-4llvm/lib/Target/AArch64/SVEInstrFormats.td
+12-0clang/include/clang/Basic/arm_sve.td
+6-2llvm/include/llvm/IR/IntrinsicsAArch64.td
+269-61 files not shown
+273-107 files

LLVM/project c8941dfllvm/lib/Analysis AliasAnalysis.cpp, llvm/test/Transforms/DeadStoreElimination atomic.ll atomic-todo.ll

Revert "[AA] Improve precision for monotonic atomic load/store operations" (#173135)

Reverts llvm/llvm-project#158169

The improved AA precision for atomic store operations causes the DSE
pass to optimize out the object variables.
DeltaFile
+26-67llvm/test/Transforms/DeadStoreElimination/atomic.ll
+23-0llvm/test/Transforms/DeadStoreElimination/atomic-todo.ll
+3-16llvm/lib/Analysis/AliasAnalysis.cpp
+52-833 files

LLVM/project 5227eddmlir/lib/Interfaces ControlFlowInterfaces.cpp

address comments
DeltaFile
+37-37mlir/lib/Interfaces/ControlFlowInterfaces.cpp
+37-371 files

LLVM/project e8eb20blldb/tools/lldb-dap/extension .gitignore

[lldb-dap][NFC] Ignore extension built test artefacts. (#174724)

Testing LLDB-DAP vscode extension creates files in the .vscode-test
folder ignore them.
DeltaFile
+1-0lldb/tools/lldb-dap/extension/.gitignore
+1-01 files

LLVM/project 1d5c6d3llvm/lib/CodeGen EarlyIfConversion.cpp, llvm/test/CodeGen/AArch64 early-ifcvt-likely-predictable.mir

[CodeGen][EarlyIfConversion] Fix typo in loop invariant check lambda
DeltaFile
+16-7llvm/test/CodeGen/AArch64/early-ifcvt-likely-predictable.mir
+3-3llvm/lib/CodeGen/EarlyIfConversion.cpp
+19-102 files

LLVM/project 60880f9llvm/test/CodeGen/AArch64 early-ifcvt-likely-predictable.mir

[CodeGen][EarlyIfConvert] Test case documenting current behavior (before typo fix)

In this case the branch is converted even though it's operands are loop invariant - we should let the branch predictor handle this
DeltaFile
+62-0llvm/test/CodeGen/AArch64/early-ifcvt-likely-predictable.mir
+62-01 files

LLVM/project 96deae5llvm/lib/Analysis ValueTracking.cpp, llvm/test/Transforms/Attributor nofpclass-fma.ll

ValueTracking: Check if x is undef for fma(x, x, y) analysis
DeltaFile
+42-12llvm/test/Transforms/Attributor/nofpclass-fma.ll
+3-1llvm/lib/Analysis/ValueTracking.cpp
+45-132 files

LLVM/project 6c2bba7llvm/lib/Transforms/Vectorize VectorCombine.cpp, llvm/test/CodeGen/AMDGPU combine-scalar-selects.ll combine-scalar-selects-asm.ll

review: address review comment post-merge
DeltaFile
+1,874-0llvm/test/Transforms/VectorCombine/AMDGPU/combine-scalar-selects.ll
+0-1,874llvm/test/CodeGen/AMDGPU/combine-scalar-selects.ll
+0-1,372llvm/test/CodeGen/AMDGPU/combine-scalar-selects-asm.ll
+25-13llvm/lib/Transforms/Vectorize/VectorCombine.cpp
+1,899-3,2594 files

LLVM/project 11ddbfccross-project-tests/debuginfo-tests/dexter/dex/debugger DAP.py

[Dexter] Replace DAP "initialized" timeout with a warning (#174198)

Fixes https://github.com/llvm/llvm-project/issues/172893.

In the issue reported above there, it appears that LLDB is hitting a 3s
timeout as part of some CI tests; this patch attempts to fix the issue
by replacing the 3s timeout with a 60s timeout, which should be suitably
long for any CI job (lldb-dap itself will automatically time out after
30s, so this should not be hit unless the process hangs).
DeltaFile
+8-7cross-project-tests/debuginfo-tests/dexter/dex/debugger/DAP.py
+8-71 files

LLVM/project 5091b56mlir/lib/Analysis SliceWalk.cpp

[mlir][Analysis] Improve `RegionBranchOpInterface` API usage
DeltaFile
+10-50mlir/lib/Analysis/SliceWalk.cpp
+10-501 files

LLVM/project da5e36bllvm/lib/Transforms/Vectorize VectorCombine.cpp, llvm/test/CodeGen/AMDGPU combine-scalar-selects.ll combine-scalar-selects-asm.ll

Revert "[VectorCombine] Fold scalar selects from bitcast into vector select (…"

This reverts commit 72f18a05d6dcf96d0f5722ff425a6c7388933ab1.
DeltaFile
+0-1,874llvm/test/CodeGen/AMDGPU/combine-scalar-selects.ll
+0-1,372llvm/test/CodeGen/AMDGPU/combine-scalar-selects-asm.ll
+0-118llvm/lib/Transforms/Vectorize/VectorCombine.cpp
+0-3,3643 files

LLVM/project 99666c6llvm/lib/Transforms/InstCombine InstCombineSimplifyDemanded.cpp, llvm/test/Transforms/InstCombine simplify-demanded-fpclass-maximum.ll simplify-demanded-fpclass-minimum.ll

InstCombine: Introduce nsz flag on minimum/maximum in SimplifyDemandedFPClass

Alive isn't particularly happy with this in the case where
one of the inputs could be zero, but I think
it's wrong: https://alive2.llvm.org/ce/z/dF7V6k

nsz shouldn't permit introducing a -0 result where
there wasn't one in the input here.
DeltaFile
+46-46llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-maximum.ll
+46-46llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-minimum.ll
+18-2llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+110-943 files

LLVM/project a691454llvm/lib/Transforms/InstCombine InstCombineSimplifyDemanded.cpp, llvm/test/Transforms/InstCombine simplify-demanded-fpclass-minimumnum.ll simplify-demanded-fpclass-maximumnum.ll

InstCombine: Handle minimumnum/maximumnum in SimplifyDemandedFPClass
DeltaFile
+38-64llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-minimumnum.ll
+36-60llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-maximumnum.ll
+64-12llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+138-1363 files

LLVM/project 079133fllvm/test/Transforms/InstCombine simplify-demanded-fpclass-minimumnum.ll simplify-demanded-fpclass-maximumnum.ll

InstCombine: Add baseline minimumnum/maximumnum SimplifyDemandedFPClass tests
DeltaFile
+1,730-0llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-minimumnum.ll
+1,730-0llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-maximumnum.ll
+3,460-02 files

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

InstCombine: Implement SimplifyDemandedFPClass for sqrt
DeltaFile
+38-0llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+10-19llvm/lib/Analysis/ValueTracking.cpp
+24-0llvm/lib/Support/KnownFPClass.cpp
+9-14llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-sqrt.ll
+4-0llvm/include/llvm/Support/KnownFPClass.h
+85-335 files

LLVM/project 72dae36llvm/test/Transforms/InstCombine simplify-demanded-fpclass-sqrt.ll

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

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

InstCombine: Handle minimum/maximum in SimplifyDemandedFPClass
DeltaFile
+54-86llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-maximum.ll
+52-82llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-minimum.ll
+26-87llvm/lib/Analysis/ValueTracking.cpp
+95-1llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+92-0llvm/lib/Support/KnownFPClass.cpp
+14-0llvm/include/llvm/Support/KnownFPClass.h
+333-2566 files

LLVM/project cc28d55llvm/test/Transforms/InstCombine simplify-demanded-fpclass-log.ll

InstCombine: Add baseline test for SimplifyDemandedFPClass log handling
DeltaFile
+268-0llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-log.ll
+268-01 files

LLVM/project 1c3d261llvm/lib/Transforms/InstCombine InstCombineSimplifyDemanded.cpp

InstCombine: Handle fmul by -0 case in SimplifyDemandedFPClass

The fmul visitor handles this case as copysign and fneg.
DeltaFile
+20-2llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+20-21 files

LLVM/project 334372allvm/include/llvm/ADT FloatingPointMode.h, llvm/include/llvm/Support KnownFPClass.h

InstCombine: Handle log/log2/log10 in SimplifyDemandedFPClass
DeltaFile
+16-30llvm/lib/Analysis/ValueTracking.cpp
+37-0llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+9-18llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-log.ll
+17-0llvm/lib/Support/KnownFPClass.cpp
+5-0llvm/include/llvm/ADT/FloatingPointMode.h
+4-0llvm/include/llvm/Support/KnownFPClass.h
+88-486 files

LLVM/project d02f9c8llvm/lib/Transforms/InstCombine InstCombineSimplifyDemanded.cpp

InstCombine: Consider not-inf/nan context when simplifying fmul

Consider if the result can be nan, or if the inputs cannot
be infinity from the flag when trying to simplify fmul into
copysign.
DeltaFile
+12-6llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+12-61 files

LLVM/project 08ed8b6llvm/test/Transforms/InstCombine simplify-demanded-fpclass-maximum.ll simplify-demanded-fpclass-minimum.ll

InstCombine: Add baseline tests for minimum/maximum SimplifyDemandedFPClass handling
DeltaFile
+1,730-0llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-maximum.ll
+1,730-0llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-minimum.ll
+3,460-02 files

LLVM/project f3c995fllvm/lib/Support KnownFPClass.cpp, llvm/test/Transforms/InstCombine simplify-demanded-fpclass-fmul.ll

Remove redundant nan output check
DeltaFile
+14-22llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fmul.ll
+0-5llvm/lib/Support/KnownFPClass.cpp
+14-272 files

LLVM/project 5d386e8libc/src/__support/wctype CMakeLists.txt, libc/src/__support/wctype/conversion CMakeLists.txt

[libc][wctype] Upstream zip utility from PtrHash-cc prototype to LLVM libc
DeltaFile
+74-0libc/src/__support/wctype/conversion/utils/zip.h
+7-0libc/src/__support/wctype/conversion/utils/CMakeLists.txt
+2-0libc/src/__support/wctype/CMakeLists.txt
+1-0libc/src/__support/wctype/conversion/CMakeLists.txt
+84-04 files