LLVM/project 79a26b9llvm/test/tools/llvm-mca/RISCV/Andes45 rvv-arithmetic.s rvv-mul-div.s

[RISCV] Update Andes45 vector integer arithmetic scheduling info (#174538)

This PR adds latency/throughput for all RVV integer arithmetic to the
andes45 series scheduling model.
DeltaFile
+1,133-1,133llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-arithmetic.s
+769-769llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-mul-div.s
+757-757llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-bitwise.s
+681-681llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-comparison.s
+441-441llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-fma.s
+273-273llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-minmax.s
+4,054-4,0543 files not shown
+4,517-4,4129 files

LLVM/project cf7d864llvm/include/llvm/CodeGen MachinePipeliner.h, llvm/lib/CodeGen MachinePipeliner.cpp

[MachinePipeliner] Remove isLoopCarriedDep and use DDG
DeltaFile
+42-50llvm/lib/CodeGen/MachinePipeliner.cpp
+15-9llvm/include/llvm/CodeGen/MachinePipeliner.h
+3-0llvm/test/CodeGen/AArch64/sms-instruction-scheduled-at-correct-cycle.mir
+60-593 files

LLVM/project a28549ellvm/include/llvm/CodeGen MachinePipeliner.h, llvm/lib/CodeGen MachinePipeliner.cpp

[MachinePipeliner] Remove isLoopCarriedDep from computeStart
DeltaFile
+0-60llvm/lib/CodeGen/MachinePipeliner.cpp
+0-10llvm/include/llvm/CodeGen/MachinePipeliner.h
+3-3llvm/test/CodeGen/AArch64/sms-instruction-scheduled-at-correct-cycle.mir
+3-733 files

LLVM/project 45235a9llvm/lib/CodeGen MachinePipeliner.cpp, llvm/test/CodeGen/AArch64 sms-loop-carried-fp-exceptions1.mir

[MachinePipeliner] Add loop-carried dependences for FPExceptions
DeltaFile
+45-32llvm/lib/CodeGen/MachinePipeliner.cpp
+2-7llvm/test/CodeGen/AArch64/sms-loop-carried-fp-exceptions1.mir
+47-392 files

LLVM/project 93d99e3llvm/lib/Target/AMDGPU AMDGPU.td

[NFC][AMDGPU] Reorganize gfx125x features (#179843)

DeltaFile
+16-9llvm/lib/Target/AMDGPU/AMDGPU.td
+16-91 files

LLVM/project 0950660clang/lib/Analysis/FlowSensitive Transfer.cpp, clang/unittests/Analysis/FlowSensitive TransferTest.cpp

[clang][dataflow] Fix a new crash on assigning values of unmodeled types. (#179788)

Regressed by me in #178943. Caught by @jvoung.
DeltaFile
+48-0clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
+9-1clang/lib/Analysis/FlowSensitive/Transfer.cpp
+57-12 files

LLVM/project 1c42807clang/lib/CIR/CodeGen CIRGenBuiltinAMDGPU.cpp CIRGenBuiltin.cpp

[CIR][AMDGPU][NFC] Add CIRGenBuiltinAMDGPU file to support AMDGPU builtins codegen (#179237)

Upstreaming ClangIR PR : https://github.com/llvm/clangir/pull/2030

This PR adds CIRGenBuiltinAMDGPU.cpp file for AMDGPU specific builtin
codegen support.
Lists out all the builtins that are currently supported for codegen in
`clang/lib/CodeGen/TargetBuiltins/AMDGPU.cpp`.
All builtins codegen are currently "NYI".
DeltaFile
+828-0clang/lib/CIR/CodeGen/CIRGenBuiltinAMDGPU.cpp
+4-0clang/lib/CIR/CodeGen/CIRGenBuiltin.cpp
+4-0clang/lib/CIR/CodeGen/CIRGenFunction.h
+1-0clang/lib/CIR/CodeGen/CMakeLists.txt
+837-04 files

FreeBSD/src cc702c7sys/dev/acpica acpi.c

Unbreak the build

Add the missing comma in the `device_printf` statement.

MFC after:      1 week
MFC with:       9c666de5b
Fixes:  9c666de5b ("Make message added for Darwin OSI quirk more terse")
DeltaFile
+1-1sys/dev/acpica/acpi.c
+1-11 files

pfSense/pfsense 480a1c0. build.conf.sample build.sh, build/installer-extras README.txt

Bump up the Copyright year.
DeltaFile
+2-2src/etc/inc/copynotice.inc
+1-1build.conf.sample
+1-1build.sh
+1-1build/installer-extras/README.txt
+1-1build/scripts/build_freebsd.sh
+1-1build/scripts/common.subr
+7-7541 files not shown
+548-548547 files

LLVM/project adf7dbclld/test/ELF loongarch-branch.s conflict.s

[ELF,test] Improve error message tests

They have multiple `not ld.lld` commands or they test multiple error
messages. Add --implicit-check-not=error: to catch unexpected errors.
While updating them, use directory isolation pattern and simplify
filenames where appropriate.

Rename abs-conflict.s to conflict-abs.s to be consistent with other
conflict*.s tests.
DeltaFile
+27-35lld/test/ELF/loongarch-branch.s
+25-24lld/test/ELF/conflict.s
+20-22lld/test/ELF/undef-spell-corrector.s
+23-13lld/test/ELF/ztext.s
+21-9lld/test/ELF/relocation-nocopy.s
+11-10lld/test/ELF/ppc64-error-toc-tail-call.s
+127-11311 files not shown
+190-17217 files

LLVM/project fc56916llvm/lib/Target/RISCV RISCVISelLowering.cpp, llvm/test/CodeGen/RISCV/rvv setcc-int-vp-mask.ll fixed-vectors-setcc-int-vp-mask.ll

[RISCV] Correct lowering of ISD::SETGE/SETULE/SETLE/SETUGE in lowerVPSetCCMaskOp. (#179801)

XOR should be OR to match the comment.

Found while reviewing #179622 which deletes this function. I would like
to commit this first so we have a correct baseline for reviewing that
patch.
DeltaFile
+28-28llvm/test/CodeGen/RISCV/rvv/setcc-int-vp-mask.ll
+16-16llvm/test/CodeGen/RISCV/rvv/fixed-vectors-setcc-int-vp-mask.ll
+2-2llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+46-463 files

LLVM/project 7c64723clang/lib/AST/ByteCode Compiler.cpp, clang/test/AST/ByteCode gh176549.cpp

[clang][bytecode] Fix stack corruption in pointer arithmetic discard (#176555)

The bytecode compiler was ignoring the DiscardResult flag in 
VisitPointerArithBinOp
, causing pointer addition and subtraction results to persist on the
stack when they should have been popped (e.g., in comma expressions).
This led to stack corruption and assertion failures in subsequent
operations that encountered an unexpected pointer on the stack.

This patch refactors the unified addition/subtraction logic to ensure
the result is properly popped when DiscardResult is true.

Fixes #176549
DeltaFile
+15-12clang/lib/AST/ByteCode/Compiler.cpp
+7-0clang/test/AST/ByteCode/gh176549.cpp
+22-122 files

LLVM/project dfdc3b7llvm/lib/CodeGen MachinePipeliner.cpp, llvm/test/CodeGen/AArch64 sms-loop-carried-fp-exceptions1.mir

[MachinePipelner] Add loop-carried dependencies for global barriers (#174391)

The loads/stores must not be reordered across barrier instructions.
However, in MachinePipeliner, it potentially could happen since
loop-carried dependencies from loads/stores to a barrier instruction
were not considered. The same problem exists for barrier-to-barrier
dependencies. This patch adds the handling for those cases. The
implementation is based on that of `ScheduleDAGInstrs::buildSchedGraph`.

Split off from https://github.com/llvm/llvm-project/pull/135148
DeltaFile
+51-4llvm/lib/CodeGen/MachinePipeliner.cpp
+25-15llvm/test/CodeGen/Hexagon/swp-loop-carried-order-dep6.mir
+10-2llvm/test/CodeGen/AArch64/sms-loop-carried-fp-exceptions1.mir
+86-213 files

FreeBSD/doc 7e6b303documentation/content/en/articles/committers-guide _index.adoc

committers-guide: Tidy Fixes: trailer instructions

Reviewed by:            jlduran
Reported by:            emaste, jlduran
Differential Revision:  https://reviews.freebsd.org/D55121
DeltaFile
+1-1documentation/content/en/articles/committers-guide/_index.adoc
+1-11 files

FreeBSD/src abf911ausr.sbin/pkg pkg.c config.c

pkg: Fix mirror type parsing and service discovery

Signed-off-by: Pavel Knoblokh <info at software-advisory.com.au>
Reviewed by:    emaste, imp, kevans
Fixes:          dc4581589a3 ("pkg: clean support for repositories")
Closes:         https://github.com/freebsd/freebsd-src/pull/1989
DeltaFile
+6-0usr.sbin/pkg/pkg.c
+2-1usr.sbin/pkg/config.c
+8-12 files

FreeBSD/src 2e020c8lib/libbe be.c libbe.3, lib/libbe/tests target_prog.c be_create.sh

bectl: Add -E flag to create an empty boot environment

Signed-off-by: Pat Maddox <pat at patmaddox.com>
Reviewed by:    kevans
MFC after:      1 week
Closes:         https://github.com/freebsd/freebsd-src/pull/1975
DeltaFile
+50-14lib/libbe/be.c
+14-2sbin/bectl/bectl.c
+13-1sbin/bectl/bectl.8
+7-4lib/libbe/tests/target_prog.c
+9-0lib/libbe/tests/be_create.sh
+8-1lib/libbe/libbe.3
+101-223 files not shown
+111-239 files

FreeBSD/ports 2667fbeconverters/R-cran-base64enc distinfo Makefile

converters/R-cran-base64enc: Update to 0.1-6

Reported by:    portscout
DeltaFile
+3-3converters/R-cran-base64enc/distinfo
+1-2converters/R-cran-base64enc/Makefile
+4-52 files

LLVM/project cab9517flang/lib/Semantics pointer-assignment.cpp check-call.cpp, flang/test/Semantics ignore_tkr05.f90

[flang] Disable various semantic checks for descriptor dummy args with ignore_tkr(c) (#179530)

When descriptor dummy args have ignore_tkr(c), we want to use the
descriptor unchanged. As such, disable various semantic error checks
that are normally performed on descriptor based dummy args without
ignore_tkr(c)
DeltaFile
+97-0flang/test/Semantics/ignore_tkr05.f90
+16-1flang/lib/Semantics/pointer-assignment.cpp
+6-0flang/lib/Semantics/check-call.cpp
+4-1flang/lib/Semantics/check-declarations.cpp
+123-24 files

LLVM/project 37bbeb3llvm/test/Analysis/DependenceAnalysis weak-zero-siv-large-btc.ll rdiv-large-btc.ll

[DA] Add tests for dependencies are missed due to large BTC (NFC) (#179664)

For some dependence tests, there are corner cases where `BTC <s 0`. This
patch adds test cases for those situations. Notably, in these tests,
dependencies are missed even though no overflow occurs.
DeltaFile
+106-0llvm/test/Analysis/DependenceAnalysis/weak-zero-siv-large-btc.ll
+83-0llvm/test/Analysis/DependenceAnalysis/rdiv-large-btc.ll
+69-0llvm/test/Analysis/DependenceAnalysis/weak-crossing-siv-large-btc.ll
+62-0llvm/test/Analysis/DependenceAnalysis/strong-siv-large-btc.ll
+320-04 files

LLVM/project ce9471fllvm/test/CodeGen/AMDGPU amdgcn.bitcast.1024bit.ll amdgcn.bitcast.512bit.ll, llvm/test/CodeGen/RISCV/rvv clmulh-sdnode.ll

Merge branch 'main' into users/kasuga-fj/pipeliner-handle-global-barrier
DeltaFile
+121,421-138,357llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+43,323-44,825llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+56,025-0llvm/test/CodeGen/RISCV/rvv/clmulh-sdnode.ll
+52,760-0polly/lib/External/isl/include/isl/typed_cpp.h
+12,842-18,547llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.960bit.ll
+30,890-0polly/lib/External/isl/include/isl/cpp.h
+317,261-201,7297,188 files not shown
+984,842-581,4057,194 files

FreeBSD/src 4f7336ausr.sbin/etcupdate etcupdate.sh, usr.sbin/etcupdate/tests empty_file_test.sh Makefile

etcupdate: Do not ignore empty files.

PR:             bin/292773
Reviewed by:    markj
MFC after:      1 week

Differential Revision: https://reviews.freebsd.org/D54935
DeltaFile
+86-0usr.sbin/etcupdate/tests/empty_file_test.sh
+0-4usr.sbin/etcupdate/etcupdate.sh
+1-0usr.sbin/etcupdate/tests/Makefile
+87-43 files

FreeBSD/src c1a339bsys/powerpc/aim moea64_native.c

powerpc64/pmap: No need to use r0 anymore in tlbie

The only use of `tlbie %rN, 0` is now explicit and covered in the block
above.  Since there's no need for an explicit `tlbie %rN, 0` now, drop
this convoluted piece and let the compiler decide.

While here, a trivial optimization of the old-style tlbie block, by
clearing tlbie_lock and returning, instead of going to the end which
checks again if the lock is needed.  Since it's already known to be
needed, there's no need to check again.
DeltaFile
+3-14sys/powerpc/aim/moea64_native.c
+3-141 files

FreeBSD/src e54a1efshare/man/man1 builtin.1 Makefile

builtin.1: Command list maintenance

+ link to return(1) like the other exclusive builtins
+ fix alphabetical sorting of list in rendered manual

MFC after:      3 days
DeltaFile
+1-1share/man/man1/builtin.1
+1-0share/man/man1/Makefile
+2-12 files

LLVM/project f00584dcompiler-rt/lib/asan asan_flags.cpp, compiler-rt/test/asan/TestCases initialization-bug-no-global.cpp

[asan] Disable strict init checking on AIX (#178012)

The `__cxa_atexit` interceptor is disabled for `SANITIZER_AIX` because
Clang on AIX neither uses `__cxa_atexit` nor links against a library
with such. This interceptor calls `StopInitOrderChecking()`, which is
needed to prevent false positives for the `initialization-order-fiasco`
error observed in the asan test `init-order-atexit.cpp` that uses the
`strict_init_order` flag. For now, we'll disable the `strict_init_order`
flag, but we'll look to support it in the future by implementing an
`exit` interceptor or some other alternative. With the flag disabled, we
won't update `init-order-atexit.cpp` to ensure it continues to pass and
the false positive doesn't show up.
DeltaFile
+10-0compiler-rt/test/asan/TestCases/AIX/lit.local.cfg.py
+6-0compiler-rt/test/asan/TestCases/AIX/strict-init-order-warning.cpp
+5-0compiler-rt/lib/asan/asan_flags.cpp
+3-0compiler-rt/test/asan/TestCases/initialization-bug-no-global.cpp
+24-04 files

FreeBSD/src 38a4995sys/dev/tpm tpm20.c tpm20.h

tpm20: fix suspend/resume and entropy harvesting

There were a few problem here:
  - TPM2_Shutdown results in a response that we need to either process
    or ignore, otherwise any tpm20_write or tpm20_harvest call will
    trivially hang on an `sc->pending_data_length != 0`
  - We should have a matching TPM2_Startup upon resume to restore any
    state that should have persisted
  - We must drain the harvest task before we suspend to avoid problems
    there

This commit is sufficient to avoid breaking suspend/resume.

PR:             291067
Fixes:  a2d5ed9442bb ("Introduce driver for TPM 2.0 in CRB and [...]")
Fixes:  4ee7d3b0118c ("Allow using TPM as entropy source.")
Co-authored-by: markj (D53835)
Tested by:      garga
Differential Revision:  https://reviews.freebsd.org/D55074
DeltaFile
+65-0sys/dev/tpm/tpm20.c
+1-0sys/dev/tpm/tpm20.h
+1-0sys/dev/tpm/tpm_crb.c
+1-0sys/dev/tpm/tpm_tis_core.c
+68-04 files

FreeBSD/src 5c9d988tools/build/mk OptionalObsoleteFiles.inc

OptionalObsoleteFiles: Add etc/zfs/compatibility.d

If the world is built and installed with WITHOUT_ZFS, then make
-DBATCH_DELETE_OLD_FILES delete-old-dirs will give the error:

> rmdir: /etc/zfs: Directory not empty

because /etc/zfs/compatibility.d is still there.  While we're here,
clean out /usr/share/zfs as well.

Co-authored-by: kevans
Differential Revision:  https://reviews.freebsd.org/D54758
DeltaFile
+58-0tools/build/mk/OptionalObsoleteFiles.inc
+58-01 files

OpenBSD/src 7fGWLMRsys/kern uipc_mbuf.c, sys/net pf.c pfvar_priv.h

   revert "use pf_states to link mbufs/inpcbs and forwarded connections together"

   Pedro Caetano on bugs@ has a setup that triggers the kasserts in
   pf_state_link_reverse().
VersionDeltaFile
1.1236+190-257sys/net/pf.c
1.42+9-5sys/net/pfvar_priv.h
1.304+6-6sys/kern/uipc_mbuf.c
1.269+3-3sys/sys/mbuf.h
1.548+3-2sys/net/pfvar.h
1.174+2-2sys/netinet/in_pcb.h
+213-2754 files not shown
+217-27910 files

LLVM/project 010f853llvm/unittests/Transforms/Utils BasicBlockUtilsTest.cpp

[BasicBlockUtilsTests] Added test case splitBlockBefore2. NFC (#179408)

Splitting a basic block BB into a pair of blocks NewBB->BB used to make
LoopInfo invalid. Commit 28a0cfa946c5 (PR #179392) fixed this issue. So
this commit just adds the test case the issue was found with.
DeltaFile
+31-0llvm/unittests/Transforms/Utils/BasicBlockUtilsTest.cpp
+31-01 files

LLVM/project 567376fllvm/lib/Transforms/InstCombine InstCombineAddSub.cpp, llvm/test/Transforms/InstCombine zext-bool-add-sub.ll

[InstCombine][profcheck] Fix missing profdata for zext/sext transform and update tests
DeltaFile
+0-49llvm/utils/profcheck-xfail.txt
+8-12llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
+1-1llvm/test/Transforms/InstCombine/zext-bool-add-sub.ll
+9-623 files

LLVM/project 362759allvm/lib/Transforms/InstCombine InstCombineAddSub.cpp, llvm/test/Transforms/InstCombine zext-bool-add-sub.ll

[InstCombine][profcheck] Fix missing profdata for zext transform.
DeltaFile
+17-4llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
+9-5llvm/test/Transforms/InstCombine/zext-bool-add-sub.ll
+0-1llvm/utils/profcheck-xfail.txt
+26-103 files