LLVM/project 41a431clldb/source/Target StackFrameList.cpp

[lldb/Target] Revert overly broad locking in StackFrameList::FetchFramesUpTo (#182969)

(cherry picked from commit 901636112c6a45385a0ef421d32a5fb95374f56e)
DeltaFile
+1-16lldb/source/Target/StackFrameList.cpp
+1-161 files

LLVM/project 1a5938ellvm/lib/Target/Hexagon HexagonNewValueJump.cpp HexagonVLIWPacketizer.cpp, llvm/test/CodeGen/Hexagon disable-packetizer-nvj.ll

[Hexagon] Disable new value jumps when packetizer is disabled (#180615)

New value jumps require the feeder instruction to be in the same packet
as the consumer (.new) instruction. When --disable-packetizer is used,
each instruction is placed in its own packet, making it impossible to
satisfy this requirement.

Previously, using --disable-packetizer would cause an assertion failure
in the MCCodeEmitter: "Couldn't find producer". This change fixes the
crash by checking the DisablePacketizer flag in the NewValueJump pass
and skipping NVJ generation when packetization is disabled.

(cherry picked from commit e1be4dfe1ef889c51d7e1704782a31dc65bb745c)
DeltaFile
+34-0llvm/test/CodeGen/Hexagon/disable-packetizer-nvj.ll
+5-1llvm/lib/Target/Hexagon/HexagonNewValueJump.cpp
+2-3llvm/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
+41-43 files

HardenedBSD/ports 916fc97ports-mgmt/pkg distinfo Makefile

HBSD: Bump ports-mgmt/pkg to 2.6.2_1

FreeBSD finally properly fixed the bugs.

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
DeltaFile
+3-3ports-mgmt/pkg/distinfo
+2-1ports-mgmt/pkg/Makefile
+5-42 files

LLVM/project 6e8a068llvm/test/CodeGen/AMDGPU amdgcn.bitcast.1024bit.ll amdgcn.bitcast.512bit.ll, llvm/test/CodeGen/RISCV clmul.ll

Rebase, address comments

Created using spr 1.3.7
DeltaFile
+84,317-78,372llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+66,293-29,491llvm/test/CodeGen/RISCV/rvv/clmulh-sdnode.ll
+25,751-24,782llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+24,655-20,149llvm/test/CodeGen/RISCV/clmul.ll
+23,663-20,281llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.960bit.ll
+21,867-18,577llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.896bit.ll
+246,546-191,6525,589 files not shown
+739,893-448,5835,595 files

LLVM/project 673d725llvm/test/tools/llvm-ir2vec/bindings ir2vec-bindings.py, llvm/tools/llvm-ir2vec/Bindings PyIR2Vec.cpp

Reland "[llvm-ir2vec] Adding Inst Embeddings Map API to ir2vec python bindings (#180140)" (#184196)

Relanding change from https://github.com/llvm/llvm-project/pull/180140

- Returns a Inst Embedding Map based on the input function name
 `getInstEmbMap(funcName) -> Map<Inst string, Embedding>`

- Refactors IR2VecTool methods to have a separate call to create the
embedder object
DeltaFile
+34-44llvm/tools/llvm-ir2vec/lib/Utils.cpp
+42-1llvm/tools/llvm-ir2vec/Bindings/PyIR2Vec.cpp
+38-0llvm/test/tools/llvm-ir2vec/bindings/ir2vec-bindings.py
+7-0llvm/tools/llvm-ir2vec/lib/Utils.h
+121-454 files

LLVM/project 6d003f5clang/lib/Sema SemaARM.cpp, clang/test/CodeGen/AArch64 pcdphint-atomic-store.c

[AArch64][clang][llvm] Add ACLE `stshh` atomic store builtin (#181386)

Add `__arm_atomic_store_with_stshh` implementation as defined in the
ACLE. Validate arguments passed are correct, and lower to the `stshh`
intrinsic plus an atomic store using a pseudo-instruction with the
allowed orderings:
  * memory orderings: relaxed, release, seq_cst
  * retention policies: keep, strm

The `STSHH` instruction (Store with Store Hint for Hardware) is part
of the `FEAT_PCDPHINT` extension.
DeltaFile
+243-0llvm/test/CodeGen/AArch64/pcdphint-atomic-store.ll
+100-0clang/lib/Sema/SemaARM.cpp
+74-0clang/test/Sema/AArch64/pcdphint-atomic-store.c
+71-0clang/test/CodeGen/AArch64/pcdphint-atomic-store.c
+70-0llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
+47-0llvm/test/Verifier/AArch64/intrinsic-immarg.ll
+605-012 files not shown
+728-318 files

FreeBSD/ports 8d60ebdsysutils/whowatch Makefile, sysutils/whowatch/files patch-whowatch.c patch-procinfo.c

sysutils/whowatch: Revert port removal and mark it broken

This reverts commit 10c44e86de34692159e298a8d3542cecd596c5db.
This reverts commit e49d8ae4238f7402cfc9d9cc61c033c85ceaa818.

Mark sysutils/whowatch broken because current version is completly
unusable in FreeBSD. PR 293113 tries to fix it.
DeltaFile
+105-0sysutils/whowatch/files/patch-whowatch.c
+31-0sysutils/whowatch/files/patch-procinfo.c
+27-0sysutils/whowatch/files/patch-whowatch.h
+27-0sysutils/whowatch/Makefile
+13-0sysutils/whowatch/files/patch-Makefile.in
+11-0sysutils/whowatch/files/patch-process.c
+214-04 files not shown
+223-110 files

FreeNAS/freenas f5f6c8dtests/unit test_filesystem_acl.py

Fix broken WRITE_ATTRIBUTES test

This commit fixes a test that claude munged when converting
functional tests from tests/api2 to tests/unit (with local utils).
DeltaFile
+6-3tests/unit/test_filesystem_acl.py
+6-31 files

LLVM/project 8519b9fllvm/lib/Target/AArch64 AArch64InstrFormats.td

fixup! Add $policy to MIOperandInfo
DeltaFile
+1-1llvm/lib/Target/AArch64/AArch64InstrFormats.td
+1-11 files

LLVM/project cd01ed2clang/lib/CodeGen/TargetBuiltins ARM.cpp, clang/lib/Headers arm_acle.h

fixup! Address Carol's comments and fix git clang-format issues
DeltaFile
+27-0llvm/test/CodeGen/AArch64/pcdphint-atomic-store-diagnostic.ll
+20-0llvm/lib/IR/Verifier.cpp
+12-6clang/lib/Sema/SemaARM.cpp
+0-11clang/lib/CodeGen/TargetBuiltins/ARM.cpp
+4-2clang/lib/Headers/arm_acle.h
+2-4llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+65-236 files

LLVM/project a38cd7aclang/lib/CodeGen/TargetBuiltins ARM.cpp, clang/lib/Headers arm_acle.h

fixup! More small fixes
DeltaFile
+15-37clang/lib/Sema/SemaARM.cpp
+11-0clang/test/Sema/AArch64/pcdphint-atomic-store.c
+5-3clang/lib/CodeGen/TargetBuiltins/ARM.cpp
+2-2clang/lib/Headers/arm_acle.h
+0-1clang/test/CodeGen/arm_acle.c
+33-435 files

LLVM/project feef2b2clang/lib/Sema SemaARM.cpp, clang/test/Sema/AArch64 pcdphint-atomic-store.c

fixup! Ensure Context.getTypeSize() is only called after checking ValType->isIntegerType()
DeltaFile
+6-0clang/test/Sema/AArch64/pcdphint-atomic-store.c
+3-2clang/lib/Sema/SemaARM.cpp
+9-22 files

LLVM/project ddaf289llvm/lib/Target/AArch64 AArch64ISelLowering.cpp, llvm/test/CodeGen/AArch64 pcdphint-atomic-store-diagnostic.ll

fixup! Move tests to llvm/test/Verifier
DeltaFile
+0-54llvm/test/CodeGen/AArch64/pcdphint-atomic-store-diagnostic.ll
+47-0llvm/test/Verifier/intrinsic-immarg.ll
+0-32llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+47-863 files

LLVM/project 7ef9113clang/lib/CodeGen/TargetBuiltins ARM.cpp, llvm/lib/IR Verifier.cpp

fixup! More small optimisations Kerry spotted
DeltaFile
+7-12clang/lib/CodeGen/TargetBuiltins/ARM.cpp
+2-3llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
+1-2llvm/lib/IR/Verifier.cpp
+10-173 files

LLVM/project 3c2a3e7clang/lib/Sema SemaARM.cpp, llvm/lib/Target/AArch64 AArch64ISelLowering.cpp AArch64ExpandPseudoInsts.cpp

fixup! Small fixes Kerry has suggested
DeltaFile
+112-40llvm/test/CodeGen/AArch64/pcdphint-atomic-store.ll
+7-11clang/lib/Sema/SemaARM.cpp
+7-9llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+1-1llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
+127-614 files

LLVM/project 2c29d9cclang/lib/CodeGen/TargetBuiltins ARM.cpp, llvm/lib/Target/AArch64 AArch64ISelLowering.cpp AArch64ExpandPseudoInsts.cpp

fixup! Fixes for Caroline
DeltaFile
+27-0llvm/test/CodeGen/AArch64/pcdphint-atomic-store-diagnostic.ll
+1-12llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+2-2llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
+0-3clang/lib/CodeGen/TargetBuiltins/ARM.cpp
+30-174 files

LLVM/project 9ff5084llvm/test/CodeGen/AArch64 pcdphint-atomic-store.ll

fixup! Sort out testcases
DeltaFile
+54-102llvm/test/CodeGen/AArch64/pcdphint-atomic-store.ll
+54-1021 files

LLVM/project 3ae285bclang/lib/CodeGen/TargetBuiltins ARM.cpp, clang/lib/Sema SemaARM.cpp

fixup! Final changes before merge
DeltaFile
+0-47llvm/test/Verifier/intrinsic-immarg.ll
+47-0llvm/test/Verifier/AArch64/intrinsic-immarg.ll
+2-4clang/lib/Sema/SemaARM.cpp
+2-2clang/lib/CodeGen/TargetBuiltins/ARM.cpp
+51-534 files

LLVM/project d528dedclang/include/clang/Basic DiagnosticSemaKinds.td, clang/lib/CodeGen/TargetBuiltins ARM.cpp

fixup! Fix issues Kerry raised in PR
DeltaFile
+10-23clang/lib/Sema/SemaARM.cpp
+16-11clang/test/Sema/AArch64/pcdphint-atomic-store.c
+5-12clang/lib/CodeGen/TargetBuiltins/ARM.cpp
+1-5clang/include/clang/Basic/DiagnosticSemaKinds.td
+32-514 files

LLVM/project ae3e176clang/lib/CodeGen/TargetBuiltins ARM.cpp, clang/test/Sema/AArch64 pcdphint-atomic-store.c

fixup!

A few small tidyups
DeltaFile
+7-6clang/lib/CodeGen/TargetBuiltins/ARM.cpp
+4-4llvm/lib/Target/AArch64/AArch64InstrFormats.td
+4-0clang/test/Sema/AArch64/pcdphint-atomic-store.c
+15-103 files

LLVM/project ea6f66dclang/lib/CodeGen/TargetBuiltins ARM.cpp, clang/lib/Sema SemaARM.cpp

fixup! Move code to `AArch64ExpandPseudoInsts` and `getTgtMemIntrinsic`

Move code to `AArch64ExpandPseudoInsts` and `getTgtMemIntrinsic`
and use tablegen pattern for intrinsic, plus other small review changes.
DeltaFile
+47-75llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+69-32llvm/test/CodeGen/AArch64/pcdphint-atomic-store.ll
+42-47clang/lib/Sema/SemaARM.cpp
+21-12llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
+17-5clang/lib/CodeGen/TargetBuiltins/ARM.cpp
+10-12llvm/lib/Target/AArch64/AArch64InstrInfo.td
+206-1835 files not shown
+220-19211 files

LLVM/project 15bd37dclang/test/CodeGen arm_acle.c builtins-arm64.c, clang/test/Sema/AArch64 pcdphint-atomic-store.c

fixup! Fix more PR comments
DeltaFile
+19-9clang/test/Sema/AArch64/pcdphint-atomic-store.c
+8-6llvm/test/CodeGen/AArch64/pcdphint-atomic-store.ll
+10-0clang/test/CodeGen/arm_acle.c
+0-9llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+5-0clang/test/CodeGen/builtins-arm64.c
+0-4llvm/include/llvm/IR/IntrinsicsAArch64.td
+42-282 files not shown
+44-328 files

LLVM/project a09421dclang/include/clang/Basic BuiltinsAArch64.def, clang/lib/CodeGen/TargetBuiltins ARM.cpp

fixup!

More small issues tidied, and remove gating.
DeltaFile
+6-2clang/test/Sema/AArch64/pcdphint-atomic-store.c
+2-2clang/lib/CodeGen/TargetBuiltins/ARM.cpp
+1-1clang/lib/Sema/SemaARM.cpp
+1-1clang/test/CodeGen/AArch64/pcdphint-atomic-store.c
+1-1clang/include/clang/Basic/BuiltinsAArch64.def
+0-2clang/lib/Headers/arm_acle.h
+11-96 files

LLVM/project 1b9dccfclang/lib/Sema SemaARM.cpp, llvm/lib/Target/AArch64 AArch64InstrInfo.td AArch64InstrFormats.td

fixup! Address more helpful review comments from Kerry
DeltaFile
+160-0llvm/test/CodeGen/AArch64/pcdphint-atomic-store.ll
+4-4llvm/lib/Target/AArch64/AArch64InstrInfo.td
+1-4clang/lib/Sema/SemaARM.cpp
+0-5llvm/lib/Target/AArch64/AArch64InstrFormats.td
+165-134 files

LLVM/project 66db34cclang/lib/CodeGen/TargetBuiltins ARM.cpp, clang/test/CodeGen/AArch64 pcdphint-atomic-store.c

fixup! Ensure stshh always immediately precedes a store instruction
DeltaFile
+82-0llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+50-13clang/test/CodeGen/AArch64/pcdphint-atomic-store.c
+62-0llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
+20-26clang/lib/CodeGen/TargetBuiltins/ARM.cpp
+15-0llvm/lib/Target/AArch64/AArch64InstrInfo.td
+8-3llvm/lib/Target/AArch64/AArch64InstrFormats.td
+237-423 files not shown
+248-499 files

LLVM/project 82ed27fclang/include/clang/Basic DiagnosticSemaKinds.td, clang/lib/CodeGen/TargetBuiltins ARM.cpp

fixup! Improve error diagnostics, and other cleanups
DeltaFile
+12-0llvm/test/CodeGen/AArch64/pcdphint-atomic-store.ll
+4-2clang/lib/Sema/SemaARM.cpp
+2-1clang/lib/CodeGen/TargetBuiltins/ARM.cpp
+2-0clang/lib/Headers/arm_acle.h
+1-1clang/include/clang/Basic/DiagnosticSemaKinds.td
+1-1clang/test/Sema/AArch64/pcdphint-atomic-store.c
+22-56 files

LLVM/project cfeba39llvm/lib/Target/AArch64 AArch64ISelLowering.cpp

fixup! Fix tests
DeltaFile
+2-0llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+2-01 files

LLVM/project 6a47b56llvm/include/llvm/IR IntrinsicsAArch64.td, llvm/lib/Target/AArch64 AArch64InstrFormats.td

fixup! remove mayLoad/mayStore as suggested by Kerry
DeltaFile
+0-5llvm/lib/Target/AArch64/AArch64InstrFormats.td
+1-1llvm/include/llvm/IR/IntrinsicsAArch64.td
+1-62 files

LLVM/project d836f72clang/include/clang/Basic DiagnosticSemaKinds.td, clang/lib/CodeGen/TargetBuiltins ARM.cpp

fixup! Fix Kerry's CR comments and add negative test for "must be an integer type"
DeltaFile
+16-6llvm/test/CodeGen/AArch64/pcdphint-atomic-store.ll
+3-7clang/lib/CodeGen/TargetBuiltins/ARM.cpp
+3-3clang/lib/Sema/SemaARM.cpp
+5-0clang/test/Sema/AArch64/pcdphint-atomic-store.c
+3-0clang/include/clang/Basic/DiagnosticSemaKinds.td
+1-1clang/lib/Headers/arm_acle.h
+31-176 files

LLVM/project f097aa6clang/lib/CodeGen/TargetBuiltins ARM.cpp, clang/lib/Sema SemaARM.cpp

[AArch64][clang][llvm] Add ACLE `stshh` atomic store builtin

Add `__arm_atomic_store_with_stshh` implementation as defined
in the ACLE. Validate that the arguments passed are correct, and
lower it to the stshh intrinsic plus an atomic store with the
allowed orderings.

Gate this on FEAT_PCDPHINT so that availability matches
hardware support for the `STSHH` instruction. Use an i64
immediate and side-effect modeling to satisfy tablegen and decoding.
DeltaFile
+140-0clang/lib/Sema/SemaARM.cpp
+48-0clang/lib/CodeGen/TargetBuiltins/ARM.cpp
+31-0clang/test/CodeGen/AArch64/pcdphint-atomic-store.c
+29-0clang/test/Sema/AArch64/pcdphint-atomic-store.c
+13-0llvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp
+10-2llvm/lib/Target/AArch64/AArch64InstrFormats.td
+271-25 files not shown
+298-211 files