LLVM/project 33cdc33llvm/test/CodeGen/AMDGPU sdwa-ops.mir

[AMDGPU] Fix CHECKs for sdwa-ops.mir test13 and also eliminated unnecessary global live-ins (#222392)

Address #220798 reviewer comments for sdwa-ops.mir test13
DeltaFile
+2-5llvm/test/CodeGen/AMDGPU/sdwa-ops.mir
+2-51 files

LLVM/project 4471c68flang/lib/Optimizer/OpenACC/Transforms ACCMapInfoPrep.cpp, flang/test/Fir/OpenACC acc-fir-map-info-prep-privatize.mlir acc-fir-map-info-prep.mlir

[flang][acc] Support sizing array of derived type for openacc mapping (#222404)

Adds support for array of derived type - tested both for mapping and
privatization. Now acc.map_info can be generated for this.
DeltaFile
+49-33flang/lib/Optimizer/OpenACC/Transforms/ACCMapInfoPrep.cpp
+30-0flang/test/Fir/OpenACC/acc-fir-map-info-prep.mlir
+28-0flang/test/Fir/OpenACC/acc-fir-map-info-prep-privatize.mlir
+107-333 files

LLVM/project 4b8c39ellvm/include/llvm/IR PatternMatch.h, llvm/lib/Transforms/InstCombine InstCombineSelect.cpp

Revert "[InstCombine] support trunc condition in foldSelectICmpAndAnd" (#222413)

Reverts llvm/llvm-project#220690

seems like this fails asan builds eg
https://lab.llvm.org/buildbot/#/builders/24/builds/23814
DeltaFile
+11-101llvm/test/Transforms/InstCombine/select-of-bittest.ll
+25-40llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
+0-11llvm/include/llvm/IR/PatternMatch.h
+36-1523 files

LLVM/project 86dec4bllvm/lib/Target/SPIRV SPIRVLegalizeImplicitBinding.cpp

code review feedback
DeltaFile
+4-4llvm/lib/Target/SPIRV/SPIRVLegalizeImplicitBinding.cpp
+4-41 files

NetBSD/pkgsrc-wip 2fad6fawaybar distinfo, waybar/patches patch-src_modules_memory_bsd.cpp

waybar: fix memory info
DeltaFile
+23-0waybar/patches/patch-src_modules_memory_bsd.cpp
+1-0waybar/distinfo
+24-02 files

LLVM/project 65ffd9bllvm/test/Transforms/LoopVectorize div-exact.ll if-pred-stores.ll, llvm/test/Transforms/LoopVectorize/VPlan dissolve-replicate-regions.ll

[VPlan] Skip branch term in masks for some preserved uniform edges
DeltaFile
+6-425llvm/test/Transforms/LoopVectorize/X86/cost-conditional-branches.ll
+36-129llvm/test/Transforms/LoopVectorize/if-pred-stores.ll
+9-123llvm/test/Transforms/LoopVectorize/div-exact.ll
+29-89llvm/test/Transforms/LoopVectorize/VPlan/dissolve-replicate-regions.ll
+19-80llvm/test/Transforms/LoopVectorize/X86/predicated-replicate-feeding-cast.ll
+12-86llvm/test/Transforms/LoopVectorize/X86/replicate-recipe-with-only-first-lane-used.ll
+111-93235 files not shown
+379-1,40841 files

LLVM/project f6e475allvm/lib/Transforms/Vectorize VPlanUnroll.cpp, llvm/test/Transforms/LoopVectorize/VPlan dissolve-replicate-regions.ll

Fix unrolling for predicator-created phis
DeltaFile
+31-17llvm/test/Transforms/LoopVectorize/VPlan/dissolve-replicate-regions.ll
+26-4llvm/test/Transforms/LoopVectorize/X86/replicate-recipe-with-only-first-lane-used.ll
+7-2llvm/lib/Transforms/Vectorize/VPlanUnroll.cpp
+64-233 files

LLVM/project 64f74ccllvm/test/Transforms/LoopVectorize/AArch64 predicated-costs.ll force-target-instruction-cost.ll, llvm/test/Transforms/LoopVectorize/X86 invariant-load-gather.ll replicate-uniform-call.ll

isUnformAcrossVFsAndUFs is sufficient, no need for "is available"
DeltaFile
+300-90llvm/test/Transforms/LoopVectorize/AArch64/force-target-instruction-cost.ll
+49-14llvm/test/Transforms/LoopVectorize/X86/replicate-recipe-with-only-first-lane-used.ll
+31-13llvm/test/Transforms/LoopVectorize/X86/scatter_crash.ll
+6-29llvm/test/Transforms/LoopVectorize/AArch64/predicated-costs.ll
+20-7llvm/test/Transforms/LoopVectorize/X86/replicate-uniform-call.ll
+19-7llvm/test/Transforms/LoopVectorize/X86/invariant-load-gather.ll
+425-1608 files not shown
+528-19714 files

LLVM/project 5ca3311llvm/lib/Transforms/Vectorize VPlanPredicator.cpp, llvm/test/Transforms/LoopVectorize hoist-predicated-loads.ll if-pred-stores.ll

[VPlan][Predicator] Preserve some uniform control flow

Implements "Partial Control-Flow Linearization" by Simon Moll and
Sebastian Hack.

That should allow implementation of an alternative to
https://github.com/llvm/llvm-project/pull/141900 based on this
functionality (see BOSCC in the paper).
DeltaFile
+1,514-204llvm/test/Transforms/LoopVectorize/VPlan/predicator.ll
+323-129llvm/test/Transforms/LoopVectorize/predicator.ll
+184-128llvm/test/Transforms/LoopVectorize/X86/cost-conditional-branches.ll
+234-16llvm/lib/Transforms/Vectorize/VPlanPredicator.cpp
+81-45llvm/test/Transforms/LoopVectorize/if-pred-stores.ll
+102-10llvm/test/Transforms/LoopVectorize/hoist-predicated-loads.ll
+2,438-53240 files not shown
+3,129-78746 files

LLVM/project fa2a6cfllvm/lib/Transforms/Vectorize VPlanPredicator.cpp

Implement non-uniform part of partial linearization algorithm
DeltaFile
+58-13llvm/lib/Transforms/Vectorize/VPlanPredicator.cpp
+58-131 files

LLVM/project f75cb25llvm/lib/Transforms/Vectorize VPlanPredicator.cpp, llvm/test/Transforms/LoopVectorize predicator.ll

I think we need to freeze
DeltaFile
+195-173llvm/test/Transforms/LoopVectorize/VPlan/predicator.ll
+26-13llvm/test/Transforms/LoopVectorize/predicator.ll
+14-0llvm/lib/Transforms/Vectorize/VPlanPredicator.cpp
+6-5llvm/test/Transforms/LoopVectorize/AArch64/force-target-instruction-cost.ll
+4-2llvm/test/Transforms/LoopVectorize/RISCV/low-trip-count.ll
+4-2llvm/test/Transforms/LoopVectorize/AArch64/sve-predicated-costs.ll
+249-1953 files not shown
+257-1999 files

LLVM/project 0b9b1ccllvm/lib/Transforms/Vectorize VPlanPredicator.cpp

[AI] Move convertPhisToBlends to post-linearization
DeltaFile
+27-9llvm/lib/Transforms/Vectorize/VPlanPredicator.cpp
+27-91 files

LLVM/project 6989999llvm/lib/Transforms/Vectorize VPlanUtils.h VPlanUtils.cpp, llvm/unittests/Transforms/Vectorize VPlanTest.cpp

Luke's reconstructSSA (#212209)
DeltaFile
+268-0llvm/unittests/Transforms/Vectorize/VPlanTest.cpp
+37-0llvm/lib/Transforms/Vectorize/VPlanUtils.cpp
+9-0llvm/lib/Transforms/Vectorize/VPlanUtils.h
+314-03 files

LLVM/project eede412llvm/lib/Transforms/Vectorize VPlanRecipes.cpp

Don't crash dumping malformed phis
DeltaFile
+20-0llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+20-01 files

HardenedBSD/src ca1b2d6lib/libpmc libpmc.c pmc.perf.3, sys/arm64/acpica acpi_iort.c

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/pledge
DeltaFile
+360-0sys/dev/hwpmc/hwpmc_perf.c
+129-15sys/arm64/acpica/acpi_iort.c
+132-0lib/libpmc/pmc.perf.3
+57-52sys/arm64/include/armreg.h
+22-22sys/arm64/arm64/identcpu.c
+31-0lib/libpmc/libpmc.c
+731-8930 files not shown
+889-13836 files

HardenedBSD/src 74a7968release/tools vmimage.subr, sys/netpfil/pf pf_lb.c pf.c

Merge remote-tracking branch 'rad/hardened/15-stable/main' into hardened/15-stable/pledge
DeltaFile
+15-10sys/netpfil/pf/pf.c
+9-5usr.sbin/syslogd/syslogd.c
+10-1sys/netpfil/pf/pf_lb.c
+7-0usr.sbin/syslogd/tests/syslogd_test.sh
+1-1release/tools/vmimage.subr
+42-175 files

LLVM/project bc7c78bllvm/test/Transforms/LoopVectorize predicator.ll, llvm/test/Transforms/LoopVectorize/VPlan predicator.ll

Copy to LoopVectorize/predicator.ll and generate CHECKs in both
DeltaFile
+1,074-0llvm/test/Transforms/LoopVectorize/predicator.ll
+547-1llvm/test/Transforms/LoopVectorize/VPlan/predicator.ll
+1,621-12 files

LLVM/project 70093eellvm/test/Transforms/LoopVectorize/VPlan predicator.ll

Predicator tests for uniform control flow preservation
DeltaFile
+168-0llvm/test/Transforms/LoopVectorize/VPlan/predicator.ll
+168-01 files

LLVM/project 123edd3llvm/test/Transforms/LoopVectorize/VPlan predicator.ll

Create actual test functions (AI-assisted)
DeltaFile
+478-25llvm/test/Transforms/LoopVectorize/VPlan/predicator.ll
+478-251 files

HardenedBSD/src 54d67b6lib/libpmc libpmc.c pmc.perf.3, sys/arm64/acpica acpi_iort.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+360-0sys/dev/hwpmc/hwpmc_perf.c
+129-15sys/arm64/acpica/acpi_iort.c
+132-0lib/libpmc/pmc.perf.3
+57-52sys/arm64/include/armreg.h
+22-22sys/arm64/arm64/identcpu.c
+31-0lib/libpmc/libpmc.c
+731-8930 files not shown
+889-13836 files

HardenedBSD/ports c36028fdevel/py-pyproject-fmt Makefile.crates distinfo, devel/py-tox-toml-fmt Makefile.crates distinfo

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+87-545devel/py-tox-toml-fmt/distinfo
+549-81www/code-server/pkg-plist
+17-365devel/py-pyproject-fmt/distinfo
+42-271devel/py-tox-toml-fmt/Makefile.crates
+153-149textproc/codebook/distinfo
+9-183devel/py-pyproject-fmt/Makefile.crates
+857-1,5941,030 files not shown
+4,310-4,5601,036 files

LLVM/project 7ca733allvm/lib/Transforms/Vectorize VPlanPredicator.cpp, llvm/test/Transforms/LoopVectorize predicator.ll

[VPlan] Use compact RPOT instead of just RPOT

This is necessary for the future partial linearization change, but I
wanted to commit this bit independently because it changes some tests on
itself and could potentially provide more blend optimization
opportunites (at least I hoped) but that didn't seem to happen.
DeltaFile
+56-13llvm/lib/Transforms/Vectorize/VPlanPredicator.cpp
+32-32llvm/test/Transforms/LoopVectorize/VPlan/predicator.ll
+4-4llvm/test/Transforms/LoopVectorize/predicator.ll
+4-4llvm/test/Transforms/LoopVectorize/X86/predicate-switch.ll
+96-534 files

LLVM/project 4f6e9e7llvm/lib/Transforms/Vectorize VPlanTransforms.cpp

Drop `removeCommonBlendMask` from `simplifyBlends` - noop now
DeltaFile
+0-19llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+0-191 files

LLVM/project 1e67fd2llvm/lib/Transforms/Vectorize VPlanPredicator.cpp, llvm/test/Transforms/LoopVectorize pr43166-fold-tail-by-masking.ll

[VPlan] Optimize away common blend mask in predicator
DeltaFile
+12-105llvm/test/Transforms/LoopVectorize/AArch64/conditional-branches-cost.ll
+18-28llvm/test/Transforms/LoopVectorize/RISCV/pr154103.ll
+15-15llvm/test/Transforms/LoopVectorize/VPlan/RISCV/cse-loads-evl.ll
+5-16llvm/test/Transforms/LoopVectorize/pr43166-fold-tail-by-masking.ll
+16-2llvm/lib/Transforms/Vectorize/VPlanPredicator.cpp
+8-7llvm/test/Transforms/LoopVectorize/VPlan/conditional-scalar-assignment-vplan.ll
+74-17324 files not shown
+123-23130 files

LLVM/project 4b62f7cllvm/test/Transforms/LoopVectorize/VPlan predicator.ll

Remove tests from predicator.ll
DeltaFile
+0-352llvm/test/Transforms/LoopVectorize/VPlan/predicator.ll
+0-3521 files

LLVM/project 1335c45llvm/lib/Transforms/Vectorize VPlanPredicator.cpp, llvm/test/Transforms/LoopVectorize reduction-inloop.ll dereferenceable-info-from-assumption-constant-size.ll

[VPlan] Make blend operands non-reorderable to optimize their masks in predicator

Sort the incoming edges according to RPOT order so that we could use
simpler source block mask instead of the edge mask.
DeltaFile
+78-118llvm/lib/Transforms/Vectorize/VPlanPredicator.cpp
+105-10llvm/test/Transforms/LoopVectorize/AArch64/conditional-branches-cost.ll
+28-18llvm/test/Transforms/LoopVectorize/RISCV/pr154103.ll
+14-24llvm/test/Transforms/LoopVectorize/VPlan/predicator.ll
+15-21llvm/test/Transforms/LoopVectorize/reduction-inloop.ll
+18-18llvm/test/Transforms/LoopVectorize/dereferenceable-info-from-assumption-constant-size.ll
+258-20951 files not shown
+522-43357 files

LLVM/project 476fc75libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/is.heap pstl.is_heap.pass.cpp pstl.is_heap_comp.pass.cpp, lldb/tools/lldb-rpc-gen lldb-rpc-gen.cpp RPCCommon.cpp

rebase

Created using spr 1.3.7
DeltaFile
+1,067-0libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/is.heap/pstl.is_heap_comp.pass.cpp
+1,064-0libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/is.heap/pstl.is_heap.pass.cpp
+0-584lldb/tools/lldb-rpc-gen/server/RPCServerSourceEmitter.cpp
+0-491lldb/tools/lldb-rpc-gen/RPCCommon.cpp
+230-197llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
+0-419lldb/tools/lldb-rpc-gen/lldb-rpc-gen.cpp
+2,361-1,691218 files not shown
+5,610-3,691224 files

LLVM/project b9fd588libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/is.heap pstl.is_heap.pass.cpp pstl.is_heap_comp.pass.cpp, lldb/tools/lldb-rpc-gen lldb-rpc-gen.cpp RPCCommon.cpp

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+1,067-0libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/is.heap/pstl.is_heap_comp.pass.cpp
+1,064-0libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/is.heap/pstl.is_heap.pass.cpp
+0-584lldb/tools/lldb-rpc-gen/server/RPCServerSourceEmitter.cpp
+0-491lldb/tools/lldb-rpc-gen/RPCCommon.cpp
+230-197llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
+0-419lldb/tools/lldb-rpc-gen/lldb-rpc-gen.cpp
+2,361-1,691218 files not shown
+5,610-3,691224 files

LLVM/project e447cfelibcxx/test/std/algorithms/alg.sorting/alg.heap.operations/is.heap pstl.is_heap.pass.cpp pstl.is_heap_comp.pass.cpp, lldb/tools/lldb-rpc-gen lldb-rpc-gen.cpp RPCCommon.cpp

rebase

Created using spr 1.3.7
DeltaFile
+1,067-0libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/is.heap/pstl.is_heap_comp.pass.cpp
+1,064-0libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/is.heap/pstl.is_heap.pass.cpp
+0-584lldb/tools/lldb-rpc-gen/server/RPCServerSourceEmitter.cpp
+0-491lldb/tools/lldb-rpc-gen/RPCCommon.cpp
+230-197llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
+0-419lldb/tools/lldb-rpc-gen/lldb-rpc-gen.cpp
+2,361-1,691218 files not shown
+5,610-3,691224 files

LLVM/project 244ec95llvm/lib/Transforms/Scalar PartiallyInlineLibCalls.cpp LICM.cpp

[Transforms][Scalar] Remove ProfcheckDisableMetadataFixes checks

Our internal ablation study on the set of checks up to 2-11-2026 has
finished, so we can remove any fixes that are older than that.

Reviewers: mtrofin

Pull Request: https://github.com/llvm/llvm-project/pull/222388
DeltaFile
+7-10llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
+4-8llvm/lib/Transforms/Scalar/DFAJumpThreading.cpp
+1-6llvm/lib/Transforms/Scalar/PartiallyInlineLibCalls.cpp
+1-6llvm/lib/Transforms/Scalar/LICM.cpp
+1-6llvm/lib/Transforms/Scalar/JumpTableToSwitch.cpp
+2-5llvm/lib/Transforms/Scalar/SROA.cpp
+16-412 files not shown
+16-508 files