LLVM/project d6c22d4bolt/lib/Passes Instrumentation.cpp, bolt/test/runtime/AArch64 instrumentation-ind-call-bti.c

[BOLT][BTI] Disallow instrumenting BTI binaries (#174936)

Until instrumentation support is added, the feature should be
disabled for BTI binaries. An error message is added to explain
the situation.
Meanwhile, users can choose sampling-based profiling methods.

Added a TODO comment explaining missing steps.
DeltaFile
+30-0bolt/test/runtime/AArch64/instrumentation-ind-call-bti.c
+16-0bolt/lib/Passes/Instrumentation.cpp
+46-02 files

LLVM/project c63d295llvm/test/CodeGen/X86 llround-conv.ll lrint-conv-i32.ll

[SelectionDAG,GISel] Add `f16` soft promotion for `lrint`, `lround`, `llrint`, and `llround` (#152684)

On platforms that soft promote `half`, using `lrint` intrinsics crashes
with the following:

    SoftPromoteHalfOperand Op #0: t5: i32 = lrint t4

    LLVM ERROR: Do not know how to soft promote this operator's operand!
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash
backtrace.
    Stack dump:
0. Program arguments:
/Users/tmgross/Documents/projects/llvm/llvm-build/bin/llc
-mtriple=riscv32
    1.      Running pass 'Function Pass Manager' on module '<stdin>'.
2. Running pass 'RISC-V DAG->DAG Pattern Instruction Selection' on
function '@test_lrint_ixx_f16'


    [7 lines not shown]
DeltaFile
+112-10llvm/test/CodeGen/X86/llround-conv.ll
+86-11llvm/test/CodeGen/X86/lrint-conv-i32.ll
+76-12llvm/test/CodeGen/X86/llrint-conv.ll
+72-10llvm/test/CodeGen/X86/lrint-conv-i64.ll
+63-8llvm/test/CodeGen/X86/lround-conv-i32.ll
+57-6llvm/test/CodeGen/X86/lround-conv-i64.ll
+466-578 files not shown
+594-10814 files

FreeBSD/ports ab8edfdsecurity/modsecurity3-nginx distinfo Makefile

security/modsecurity3-nginx: update to latest 1.0.4 snapshot

Upstream continues to receive fixes and small improvements after the
1.0.4 release. Switch the GitHub fetch from the 1.0.4 tag to commit
b94f2d3 and bump PORTREVISION accordingly.

Sponsored by:   Netzkommune GmbH
DeltaFile
+3-3security/modsecurity3-nginx/distinfo
+2-2security/modsecurity3-nginx/Makefile
+5-52 files

LLVM/project 5dfa538clang/include/clang/Analysis/Analyses/LifetimeSafety LifetimeAnnotations.h, clang/lib/Analysis/LifetimeSafety LifetimeAnnotations.cpp FactsGenerator.cpp

[LifetimeSafety] Add implicit tracking for STL functions (#170005)

Add support for tracking STL container methods and free functions in the
lifetime safety analysis.

- Added `VisitExprWithCleanups` to the `FactsGenerator` to properly
handle expressions with cleanup code
- Moved `shouldTrackImplicitObjectArg` and `shouldTrackFirstArgument`
from `CheckExprLifetime.cpp` to `LifetimeAnnotations.h/cpp` to make them
available to the lifetime safety analysis
- Enhanced the lifetime analysis to track STL container methods that
return pointers or references dependent on the container's lifetime
(e.g., `begin()`, `data()`, `c_str()`)
- Added support for tracking free functions like `std::begin`,
`std::data`, and `std::any_cast` that return pointers or references
dependent on their arguments

Fixes https://github.com/llvm/llvm-project/issues/162622
DeltaFile
+180-0clang/unittests/Analysis/LifetimeSafetyTest.cpp
+6-88clang/lib/Sema/CheckExprLifetime.cpp
+82-0clang/lib/Analysis/LifetimeSafety/LifetimeAnnotations.cpp
+21-0clang/include/clang/Analysis/Analyses/LifetimeSafety/LifetimeAnnotations.h
+4-1clang/lib/Analysis/LifetimeSafety/FactsGenerator.cpp
+4-0clang/lib/Analysis/LifetimeSafety/Origins.cpp
+297-896 files

LLVM/project d49fe5fclang/lib/CIR/Dialect/IR CIRDialect.cpp, mlir/include/mlir/Interfaces ControlFlowInterfaces.td ControlFlowInterfaces.h

[mlir][Interfaces] Simplify and align `RegionSuccessor` API
DeltaFile
+36-27mlir/include/mlir/Interfaces/ControlFlowInterfaces.td
+11-13mlir/lib/Dialect/SCF/IR/SCF.cpp
+8-14clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+10-6mlir/include/mlir/Interfaces/ControlFlowInterfaces.h
+5-5mlir/lib/Dialect/Affine/IR/AffineOps.cpp
+5-5mlir/test/lib/Dialect/Test/TestOpDefs.cpp
+75-7016 files not shown
+107-10422 files

GhostBSD/ghostbsd 3fc13b7contrib/libcbor/doc/source requirements.txt

Merge pull request #380 from ghostbsd/dependabot/pip/contrib/libcbor/doc/source/urllib3-2.6.3

build(deps): bump urllib3 from 2.6.0 to 2.6.3 in /contrib/libcbor/doc/source
DeltaFile
+1-1contrib/libcbor/doc/source/requirements.txt
+1-11 files

LLVM/project f9581d6clang/lib/Lex Lexer.cpp

Revert "[Clang] [Lexer] Detect SSE4.2 availability at runtime in fastParseASCIIIdentifier" (#174946)

Reverts llvm/llvm-project#171914 because of compilation failures
reported.
DeltaFile
+10-30clang/lib/Lex/Lexer.cpp
+10-301 files

LLVM/project 0510790llvm/lib/Frontend/OpenMP OMPIRBuilder.cpp

formatting
DeltaFile
+3-2llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+3-21 files

LLVM/project a380b22mlir/test/Target/LLVMIR openmp-taskloop-untied.mlir openmp-taskloop-if.mlir

reduce test cases
DeltaFile
+2-100mlir/test/Target/LLVMIR/openmp-taskloop-untied.mlir
+8-52mlir/test/Target/LLVMIR/openmp-taskloop-if.mlir
+8-51mlir/test/Target/LLVMIR/openmp-taskloop-num_tasks.mlir
+8-50mlir/test/Target/LLVMIR/openmp-taskloop-grainsize.mlir
+8-49mlir/test/Target/LLVMIR/openmp-taskloop-nogroup.mlir
+1-52mlir/test/Target/LLVMIR/openmp-taskloop-mergeable.mlir
+35-3542 files not shown
+36-4558 files

LLVM/project 086381dmlir/test/Target/LLVMIR openmp-taskloop-untied.mlir

add missing fix to test
DeltaFile
+1-1mlir/test/Target/LLVMIR/openmp-taskloop-untied.mlir
+1-11 files

LLVM/project 59afcbellvm/lib/Frontend/OpenMP OMPIRBuilder.cpp, mlir/lib/Target/LLVMIR/Dialect/OpenMP OpenMPToLLVMIRTranslation.cpp

Respond to review comments
DeltaFile
+8-5llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+2-10mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+1-1mlir/test/Target/LLVMIR/openmp-taskloop-nogroup.mlir
+1-1mlir/test/Target/LLVMIR/openmp-taskloop-final.mlir
+1-1mlir/test/Target/LLVMIR/openmp-taskloop-grainsize.mlir
+1-1mlir/test/Target/LLVMIR/openmp-taskloop-if.mlir
+14-196 files not shown
+20-2512 files

LLVM/project 6084838mlir/test/Target/LLVMIR openmp-taskloop-untied.mlir openmp-todo.mlir

[MLIR][OpenMP] Add Initial Taskloop Clause Support

Following on from the work to implement MLIR -> LLVM IR
Translation for Taskloop, this adds support for the following
clauses to be used alongside taskloop:
- if
- grainsize
- num_tasks
- untied
- Nogroup
- Final
- Mergeable
- Priority

These clauses are ones which work directly through the relevant
OpenMP Runtime functions, so their information just needed collecting
from the relevant location and passing through to the appropriate
runtime function.


    [2 lines not shown]
DeltaFile
+161-0mlir/test/Target/LLVMIR/openmp-taskloop-untied.mlir
+0-104mlir/test/Target/LLVMIR/openmp-todo.mlir
+93-0mlir/test/Target/LLVMIR/openmp-taskloop-if.mlir
+88-0mlir/test/Target/LLVMIR/openmp-taskloop-final.mlir
+88-0mlir/test/Target/LLVMIR/openmp-taskloop-num_tasks.mlir
+88-0mlir/test/Target/LLVMIR/openmp-taskloop-priority.mlir
+518-1048 files not shown
+863-15914 files

LLVM/project 2f2fe48libcxx/include/__format width_estimation_table.h extended_grapheme_cluster_table.h, libcxx/utils generate_width_estimation_table.py generate_extended_grapheme_cluster_table.py

[libc++] Avoid ranges::upper_bound inside <format> (#173150)

This reduces the time to include `<vector>` from 565ms to 452ms on my
machine.
DeltaFile
+4-2libcxx/include/__format/width_estimation_table.h
+4-2libcxx/utils/generate_width_estimation_table.py
+3-2libcxx/include/__format/extended_grapheme_cluster_table.h
+3-2libcxx/utils/generate_extended_grapheme_cluster_table.py
+3-2libcxx/utils/generate_indic_conjunct_break_table.py
+3-2libcxx/include/__format/indic_conjunct_break_table.h
+20-126 files

LLVM/project d52507dlibcxx/include __locale, libcxx/lib/abi i686-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist powerpc-ibm-aix.libcxxabi.v1.stable.exceptions.nonew.abilist

[libc++] Remove numpunct_byname::__init (#173283)

`numpunct_byname::__init` is only used inside the dylib, so we can
remove it. To do that we can move the code into one of the constructors
and delegate the other.
DeltaFile
+10-16libcxx/src/locale.cpp
+0-6libcxx/include/__locale
+0-2libcxx/lib/abi/i686-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist
+0-2libcxx/lib/abi/powerpc-ibm-aix.libcxxabi.v1.stable.exceptions.nonew.abilist
+0-2libcxx/lib/abi/powerpc64-ibm-aix.libcxxabi.v1.stable.exceptions.nonew.abilist
+0-2libcxx/lib/abi/x86_64-apple-darwin.libcxxabi.v1.stable.exceptions.nonew.abilist
+10-305 files not shown
+10-4011 files

LLVM/project 13fb3f3offload/test/sanitizer kernel_crash_many.c double_free.c

[Offload] Fix line numbers after #174804 (#174932)

The changes in line numbers caused a few CHECK macros to now fail. This
is fixed by this PR.

Build w/ breakages:
https://lab.llvm.org/staging/#/builders/105/builds/39748
DeltaFile
+9-9offload/test/sanitizer/kernel_crash_many.c
+7-7offload/test/sanitizer/double_free.c
+5-5offload/test/sanitizer/kernel_crash.c
+3-3offload/test/sanitizer/kernel_crash_single.c
+2-2offload/test/sanitizer/free_wrong_ptr_kind.cpp
+2-2offload/test/sanitizer/free_wrong_ptr_kind.c
+28-286 files not shown
+33-3512 files

LLVM/project 1af1cc2llvm/include/llvm/Frontend/OpenMP OMPIRBuilder.h, llvm/lib/Frontend/OpenMP OMPIRBuilder.cpp

[mlir][OpenMP] Translation support for taskloop construct (#174386)

This PR replaces #166903

This implements translation for taskloop, along with DSA clauses. Other
clauses will follow immediately after this is merged.

This patch was collaborative work by myself, @kaviya2510, and
@Stylie777. I’ve left the commits unsquashed to make authorship clear.
My only changes to other author’s commits are to rebase and run
clang-format.

The taskloop implementation in the runtime works roughly like this: if
the number of loop iterations to perform are more than some threshold,
the current task is duplicated and both resulting tasks gets half of the
loop range. This continues recursively until each task has a small
enough loop range to run itself in a single thread.

This leads to two implementation complexities:

    [20 lines not shown]
DeltaFile
+411-117mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+359-9llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+151-3mlir/test/Target/LLVMIR/openmp-todo.mlir
+151-0mlir/test/Target/LLVMIR/openmp-taskloop.mlir
+128-0mlir/test/Target/LLVMIR/openmp-taskloop-no-context-struct.mlir
+77-0llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
+1,277-1293 files not shown
+1,285-1319 files

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

review:root the combine at def instead of the user
DeltaFile
+71-106llvm/lib/Transforms/Vectorize/VectorCombine.cpp
+22-40llvm/test/CodeGen/AMDGPU/combine-scalar-selects.ll
+2-2llvm/test/CodeGen/AMDGPU/combine-scalar-selects-asm.ll
+95-1483 files

LLVM/project 5cab524llvm/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 8682436llvm/test/CodeGen/AMDGPU combine-scalar-selects.ll combine-scalar-selects-asm.ll

review: update run check
DeltaFile
+31-62llvm/test/CodeGen/AMDGPU/combine-scalar-selects.ll
+4-2llvm/test/CodeGen/AMDGPU/combine-scalar-selects-asm.ll
+35-642 files

LLVM/project 6dd33b9llvm/lib/Target/AMDGPU AMDGPULateCodeGenPrepare.cpp, llvm/lib/Transforms/Vectorize VectorCombine.cpp

review: apply the patch to vectorcombine based on suggestion
DeltaFile
+82-85llvm/test/CodeGen/AMDGPU/combine-scalar-selects.ll
+4-153llvm/lib/Target/AMDGPU/AMDGPULateCodeGenPrepare.cpp
+122-0llvm/lib/Transforms/Vectorize/VectorCombine.cpp
+2-2llvm/test/CodeGen/AMDGPU/combine-scalar-selects-asm.ll
+210-2404 files

LLVM/project f5b4276llvm/lib/Transforms/Vectorize VectorCombine.cpp

add TTI cost check to check profitability
DeltaFile
+32-6llvm/lib/Transforms/Vectorize/VectorCombine.cpp
+32-61 files

LLVM/project a309e35llvm/lib/Target/AMDGPU AMDGPULateCodeGenPrepare.cpp, llvm/test/CodeGen/AMDGPU combine-scalar-selects.ll combine-scalar-selects-asm.ll

incorporate handling of other data type casting
DeltaFile
+1,157-0llvm/test/CodeGen/AMDGPU/combine-scalar-selects.ll
+979-0llvm/test/CodeGen/AMDGPU/combine-scalar-selects-asm.ll
+16-7llvm/lib/Target/AMDGPU/AMDGPULateCodeGenPrepare.cpp
+2,152-73 files

LLVM/project f388652llvm/test/CodeGen/AMDGPU combine-scalar-selects.ll combine-scalar-selects-asm.ll

review: transformation is profitable for other uses
DeltaFile
+131-0llvm/test/CodeGen/AMDGPU/combine-scalar-selects.ll
+123-0llvm/test/CodeGen/AMDGPU/combine-scalar-selects-asm.ll
+254-02 files

LLVM/project 8a7a2fcllvm/lib/Transforms/Vectorize VectorCombine.cpp

review: split nested loop & enhance pattern match
DeltaFile
+39-34llvm/lib/Transforms/Vectorize/VectorCombine.cpp
+39-341 files

LLVM/project e81d64fllvm/lib/Target/AMDGPU AMDGPULateCodeGenPrepare.cpp

review: avoid making seperate pass over block
DeltaFile
+9-18llvm/lib/Target/AMDGPU/AMDGPULateCodeGenPrepare.cpp
+9-181 files

LLVM/project 2901f00llvm/test/CodeGen/AMDGPU combine-scalar-selects-asm.ll

added asm test file
DeltaFile
+268-0llvm/test/CodeGen/AMDGPU/combine-scalar-selects-asm.ll
+268-01 files

LLVM/project a009ef8llvm/lib/Target/AMDGPU AMDGPULateCodeGenPrepare.cpp, llvm/test/CodeGen/AMDGPU combine-scalar-selects.ll

Combine scalarized selects back into vector selects
DeltaFile
+638-0llvm/test/CodeGen/AMDGPU/combine-scalar-selects.ll
+149-0llvm/lib/Target/AMDGPU/AMDGPULateCodeGenPrepare.cpp
+787-02 files

LLVM/project a470e70llvm/lib/Target/AMDGPU AMDGPULegalizerInfo.cpp AMDGPUISelLowering.cpp, llvm/test/CodeGen/AMDGPU fsqrt.f32.ll

AMDGPU: Teach lowering that sqrt never returns subnormal (#174838)

DeltaFile
+205-0llvm/test/CodeGen/AMDGPU/fsqrt.f32.ll
+3-0llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
+2-0llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
+210-03 files

LLVM/project 3665de7llvm/lib/Target/AArch64 AArch64InstrFormats.td AArch64InstrInfo.td, llvm/test/CodeGen/AArch64 arm64-neon-v8.1a.ll arm64-int-neon.ll

[AArch64] Add lowering for NEON rounding multiple (accumulate) intrinsics (#172851)

Extends #161840 to add lowering with bitcasts for sqdmulh, sqrdmulh,
sqrdmlah & sqrdmlsh intrinsics.
DeltaFile
+110-56llvm/test/CodeGen/AArch64/arm64-neon-v8.1a.ll
+59-0llvm/test/CodeGen/AArch64/arm64-int-neon.ll
+39-15llvm/lib/Target/AArch64/AArch64InstrFormats.td
+15-18llvm/lib/Target/AArch64/AArch64InstrInfo.td
+9-21llvm/test/CodeGen/AArch64/arm64-vmul.ll
+11-8llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+243-1186 files

NetBSD/src VkT0rMVdoc CHANGES-9.5

   Tickets #1994 and #1995
VersionDeltaFile
1.1.2.91+11-1doc/CHANGES-9.5
+11-11 files