LLVM/project 57c6854libcxx/lib/abi i686-linux-android23.libcxxabi.v1.stable.exceptions.nonew.abilist i686-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist, libcxx/utils adb_run.py

Update Android CI and Emulator image to API 23 (#194936)

As seen in https://github.com/android/ndk/issues/2188, NDK will raise
minimum supported version to API 23 (Android 6.0) in r31. We need to
bump the API level for the x86 emulator image so we can use it for the
CI. It required generating a new ABI list for API 23 and removing the
old API 21 and making some changes to adb_run.py to filter out warnings
and get permissions for the adb run folder.
DeltaFile
+2,338-0libcxx/lib/abi/i686-linux-android23.libcxxabi.v1.stable.exceptions.nonew.abilist
+0-2,337libcxx/lib/abi/i686-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist
+2,332-0libcxx/lib/abi/x86_64-linux-android23.libcxxabi.v1.stable.exceptions.nonew.abilist
+0-2,331libcxx/lib/abi/x86_64-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist
+28-5libcxx/utils/adb_run.py
+4-4runtimes/cmake/android/Arch-x86_64.cmake
+4,702-4,6775 files not shown
+4,717-4,69211 files

LLVM/project edfb913libc/src/__support/math CMakeLists.txt fminimum_mag_numf16.h, utils/bazel/llvm-project-overlay/libc BUILD.bazel

[libc][math] Refactor fmaximum-mag-num-fminimum-mag-num family to header-only (#195415)

Refactors the fmaximum-mag-num-fminimum-mag-num math family to be
header-only.

part of: #147386

Target Functions:
  - fmaximum_mag_numf128
  - fmaximum_mag_numf16
  - fmaximum_mag_numl
  - fminimum_mag_num
  - fminimum_mag_numbf16
  - fminimum_mag_numf
  - fminimum_mag_numf128
  - fminimum_mag_numf16
  - fminimum_mag_numl
DeltaFile
+129-4utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+88-0libc/src/__support/math/CMakeLists.txt
+31-0libc/src/__support/math/fminimum_mag_numf16.h
+31-0libc/src/__support/math/fmaximum_mag_numf128.h
+31-0libc/src/__support/math/fmaximum_mag_numf16.h
+31-0libc/src/__support/math/fminimum_mag_numf128.h
+341-429 files not shown
+786-6035 files

LLVM/project a5c9be0libc/src/__support/math CMakeLists.txt fromfpxf128.h, libc/src/math/generic CMakeLists.txt

[libc][math] Refactor fromfp family to header-only (#195413)

Refactors the fromfp math family to be header-only.

part of: #147386

Target Functions:
  - fromfp
  - fromfpbf16
  - fromfpf
  - fromfpf128
  - fromfpf16
  - fromfpl
  - fromfpx
  - fromfpxbf16
  - fromfpxf
  - fromfpxf128
  - fromfpxf16
  - fromfpxl
DeltaFile
+176-6utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+114-0libc/src/__support/math/CMakeLists.txt
+12-24libc/src/math/generic/CMakeLists.txt
+32-0libc/src/__support/math/fromfpxf128.h
+32-0libc/src/__support/math/fromfpf16.h
+32-0libc/src/__support/math/fromfpf128.h
+398-3037 files not shown
+1,029-8043 files

LLVM/project 61a401elibc/src/__support/math CMakeLists.txt fmodf16.h, libc/src/math/generic CMakeLists.txt

[libc][math] Refactor fmod-modf family to header-only (#195406)

Refactors the fmod-modf math family to be header-only.

part of: #147386

Target Functions:
  - fmod
  - fmodbf16
  - fmodf
  - fmodf128
  - fmodf16
  - fmodl
  - modf
  - modfbf16
  - modff
  - modff128
  - modff16
  - modfl
DeltaFile
+157-10utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+80-49libc/test/shared/shared_math_constexpr_test.cpp
+113-0libc/src/__support/math/CMakeLists.txt
+12-24libc/src/math/generic/CMakeLists.txt
+31-0libc/src/__support/math/fmodf16.h
+31-0libc/src/__support/math/modff16.h
+424-8339 files not shown
+1,081-13945 files

LLVM/project b2f9210llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/X86 sibling-loops-mismatched-tripcount.ll

[SLP] Keep loops BTCs across CurrentLoopNest truncations

Record SCEV BTCs in a per-depth vector so a later loop nest reaching a
previously merged depth via the empty, divergence, or extend branch in
buildTreeRec is re-validated.

Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/195411
DeltaFile
+39-4llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+24-6llvm/test/Transforms/SLPVectorizer/X86/sibling-loops-mismatched-tripcount.ll
+63-102 files

LLVM/project 6d46b0bclang/test/Instrumentor UnreachableRT.cpp InstrumentorUnreachable.cpp, llvm/include/llvm/Transforms/IPO Instrumentor.h

[Instrumentor] Add unreachable support; unreachable stack trace printing

Allow to instrument unreachable and provide a use case for stack trace
printing.
DeltaFile
+22-0llvm/include/llvm/Transforms/IPO/Instrumentor.h
+20-0clang/test/Instrumentor/UnreachableRT.cpp
+20-0clang/test/Instrumentor/InstrumentorUnreachable.cpp
+15-0clang/test/Instrumentor/UnreachableRT.json
+13-1llvm/lib/Transforms/IPO/Instrumentor.cpp
+5-1clang/test/Instrumentor/lit.local.cfg
+95-26 files

LLVM/project 0545b33mlir/include/mlir/Dialect/AMDGPU/IR AMDGPUOps.td, mlir/lib/Conversion/AMDGPUToROCDL AMDGPUToROCDL.cpp

cluster load to lds

Signed-off-by: Eric Feng <Eric.Feng at amd.com>
DeltaFile
+76-20mlir/lib/Dialect/AMDGPU/IR/AMDGPUOps.cpp
+93-0mlir/test/Dialect/AMDGPU/invalid.mlir
+75-9mlir/lib/Conversion/AMDGPUToROCDL/AMDGPUToROCDL.cpp
+64-0mlir/test/Conversion/AMDGPUToROCDL/gfx1250.mlir
+43-1mlir/include/mlir/Dialect/AMDGPU/IR/AMDGPUOps.td
+36-0mlir/test/Dialect/AMDGPU/ops.mlir
+387-306 files

LLVM/project b542771mlir/lib/Dialect/AMDGPU/Transforms FoldMemRefsOps.cpp, mlir/test/Dialect/AMDGPU amdgpu-fold-memrefs.mlir

fold memref global async to lds

Signed-off-by: Eric Feng <Eric.Feng at amd.com>
DeltaFile
+57-22mlir/lib/Dialect/AMDGPU/Transforms/FoldMemRefsOps.cpp
+50-0mlir/test/Dialect/AMDGPU/amdgpu-fold-memrefs.mlir
+107-222 files

LLVM/project 0605d2cllvm/test/Transforms/SLPVectorizer/X86 sibling-loops-mismatched-tripcount.ll

[SLP][NFC]Add a test with the incorrect cross-loop vectorization, NFC



Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/195407
DeltaFile
+412-0llvm/test/Transforms/SLPVectorizer/X86/sibling-loops-mismatched-tripcount.ll
+412-01 files

LLVM/project 7d853a2libc/src/__support/math CMakeLists.txt totalordermagf128.h, libc/src/math/generic CMakeLists.txt

[libc][math] Refactor totalorder, totalordermag family to header-only (#195399)

Refactors the totalorder, totalordermag math family to be header-only.

part of: #147386

Target Functions:
  - totalorder
  - totalorderbf16
  - totalorderf
  - totalorderf128
  - totalorderf16
  - totalorderl
  - totalordermag
  - totalordermagbf16
  - totalordermagf
  - totalordermagf128
  - totalordermagf16
  - totalordermagl

    [3 lines not shown]
DeltaFile
+176-6utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+114-0libc/src/__support/math/CMakeLists.txt
+57-0libc/test/shared/shared_math_constexpr_test.cpp
+48-0libc/test/shared/shared_math_test.cpp
+12-22libc/src/math/generic/CMakeLists.txt
+32-0libc/src/__support/math/totalordermagf128.h
+439-2838 files not shown
+1,099-8044 files

LLVM/project 562ba80libc/src/__support/math CMakeLists.txt ufromfpxf16.h, libc/src/math/generic CMakeLists.txt

[libc][math] Refactor ufromfp family to header-only (#195395)

Refactors the ufromfp math family to be header-only.

part of: #147386

Target Functions:
  - ufromfp
  - ufromfpbf16
  - ufromfpf
  - ufromfpf128
  - ufromfpf16
  - ufromfpl
  - ufromfpx
  - ufromfpxbf16
  - ufromfpxf
  - ufromfpxf128
  - ufromfpxf16
  - ufromfpxl

Co-authored-by: Muhammad Bassiouni <60100307+bassiounix at users.noreply.github.com>
DeltaFile
+176-6utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+115-0libc/src/__support/math/CMakeLists.txt
+12-24libc/src/math/generic/CMakeLists.txt
+32-0libc/src/__support/math/ufromfpxf16.h
+32-0libc/src/__support/math/ufromfpxf128.h
+32-0libc/src/__support/math/ufromfpf16.h
+399-3037 files not shown
+1,029-8043 files

LLVM/project 2bc30bdlibc/src/__support/math CMakeLists.txt fminimum_magf16.h, libc/src/math/generic CMakeLists.txt

[libc][math] Refactor fmaximum-mag-fminimum-mag family to header-only (#195394)

Refactors the fmaximum-mag-fminimum-mag math family to be header-only.

part of: #147386

Target Functions:
  - fmaximum_mag
  - fmaximum_magbf16
  - fmaximum_magf
  - fmaximum_magf128
  - fmaximum_magf16
  - fmaximum_magl
  - fminimum_mag
  - fminimum_magbf16
  - fminimum_magf
  - fminimum_magf128
  - fminimum_magf16
  - fminimum_magl
DeltaFile
+176-6utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+118-0libc/src/__support/math/CMakeLists.txt
+12-26libc/src/math/generic/CMakeLists.txt
+31-0libc/src/__support/math/fminimum_magf16.h
+31-0libc/src/__support/math/fminimum_magf128.h
+31-0libc/src/__support/math/fmaximum_magf16.h
+399-3238 files not shown
+1,034-8444 files

LLVM/project 1cc9a8dllvm/test/tools/dsymutil odr-two-units-in-single-file.test, llvm/test/tools/dsymutil/AArch64 typedefs-with-same-name.test

[dsymutil] Relax tests to accept both linker outputs (#195354)

Remove the FIXMEs from tests whose divergence between the classic and
parallel linkers was cosmetic. Typical relaxations consist of using
CHECK-DAG for reordered attributes and allowing DIE and string offsets
to differ.
DeltaFile
+18-15llvm/test/tools/dsymutil/X86/odr-two-units-in-single-file.test
+19-10llvm/test/tools/dsymutil/AArch64/typedefs-with-same-name.test
+16-12llvm/test/tools/dsymutil/X86/union-fwd-decl.test
+13-9llvm/test/tools/dsymutil/odr-two-units-in-single-file.test
+9-6llvm/test/tools/dsymutil/X86/keep-func.test
+9-5llvm/test/tools/dsymutil/X86/objc.test
+84-573 files not shown
+98-679 files

LLVM/project df7408fllvm/lib/Target/SystemZ SystemZOperands.td

Also change to FPImmLeaf.
DeltaFile
+2-2llvm/lib/Target/SystemZ/SystemZOperands.td
+2-21 files

LLVM/project 82bf5e8compiler-rt/lib/ubsan ubsan_handlers.cpp, compiler-rt/test/cfi mfcall.cpp

[LowerTypeTests] Add debug info to jump table entries (#194493)

[LowerTypeTests] Add debug info to jump table entries (#192736)
    
When Control Flow Integrity (CFI) is enabled, jump tables are used to
redirect indirect calls. Previously, these jump table entries lacked
debug information, making it difficult for profilers and debuggers to
attribute execution time correctly.

Now stack trace, when stopped on jump table entry will looks like this:
```
#0: c::c() (.cfi_jt) at sanitizer/ubsan_interface.h:0:0
#1: __ubsan_check_cfi_icall_jt at sanitizer/ubsan_interface.h:0
```

Following up on previous attempts #192736 and #193670, this PR is
essentially #192736 but with the `(.cfi_jt)` and
`__ubsan_check_cfi_icall_jt`
frames swapped. While the specific order of `__ubsan_check_cfi_icall_jt`

    [5 lines not shown]
DeltaFile
+69-4llvm/lib/Transforms/IPO/LowerTypeTests.cpp
+27-9llvm/test/Transforms/LowerTypeTests/x86-jumptable-dbg.ll
+29-1compiler-rt/lib/ubsan/ubsan_handlers.cpp
+14-5llvm/test/Transforms/LowerTypeTests/aarch64-jumptable-dbg.ll
+2-2compiler-rt/test/cfi/mfcall.cpp
+1-1compiler-rt/test/cfi/cross-dso/icall/diag.cpp
+142-222 files not shown
+144-248 files

LLVM/project 29e48d9clang/test/AST ast-dump-templates.cpp, llvm/test/CodeGen/AArch64 sve-fixed-length-masked-expandloads.ll

Rebase

Created using spr 1.3.6-beta.1
DeltaFile
+26,606-0llvm/test/CodeGen/AArch64/sve-fixed-length-masked-expandloads.ll
+648-9,301clang/test/AST/ast-dump-templates.cpp
+4,811-4,818llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+5,061-4,162llvm/test/CodeGen/Thumb2/mve-clmul.ll
+326-4,626llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-setcc.ll
+4,652-0llvm/test/CodeGen/RISCV/rvp-simd-64.ll
+42,104-22,9078,095 files not shown
+397,644-203,3128,101 files

LLVM/project 58f6727clang/test/AST ast-dump-templates.cpp, llvm/test/CodeGen/AArch64 sve-fixed-length-masked-expandloads.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.6-beta.1

[skip ci]
DeltaFile
+26,606-0llvm/test/CodeGen/AArch64/sve-fixed-length-masked-expandloads.ll
+648-9,301clang/test/AST/ast-dump-templates.cpp
+4,811-4,818llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+5,061-4,162llvm/test/CodeGen/Thumb2/mve-clmul.ll
+326-4,626llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-setcc.ll
+4,652-0llvm/test/CodeGen/RISCV/rvp-simd-64.ll
+42,104-22,9078,095 files not shown
+397,644-203,3118,101 files

LLVM/project 073f765clang/test/AST ast-dump-templates.cpp, llvm/test/CodeGen/AArch64 sve-fixed-length-masked-expandloads.ll

Address review comments

Created using spr 1.3.6-beta.1
DeltaFile
+26,606-0llvm/test/CodeGen/AArch64/sve-fixed-length-masked-expandloads.ll
+648-9,301clang/test/AST/ast-dump-templates.cpp
+4,811-4,818llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+5,061-4,162llvm/test/CodeGen/Thumb2/mve-clmul.ll
+326-4,626llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-setcc.ll
+4,652-0llvm/test/CodeGen/RISCV/rvp-simd-64.ll
+42,104-22,9078,098 files not shown
+397,757-203,3348,104 files

LLVM/project 73f78fbclang/test/AST ast-dump-templates.cpp, llvm/test/CodeGen/AArch64 sve-fixed-length-masked-expandloads.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.6-beta.1

[skip ci]
DeltaFile
+26,606-0llvm/test/CodeGen/AArch64/sve-fixed-length-masked-expandloads.ll
+648-9,301clang/test/AST/ast-dump-templates.cpp
+4,811-4,818llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+5,061-4,162llvm/test/CodeGen/Thumb2/mve-clmul.ll
+326-4,626llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-setcc.ll
+4,652-0llvm/test/CodeGen/RISCV/rvp-simd-64.ll
+42,104-22,9078,097 files not shown
+397,721-203,3018,103 files

LLVM/project a671e79clang-tools-extra/clang-tidy/readability RedundantTypenameCheck.cpp, clang/docs ReleaseNotes.rst

[clang] Implement CWG2413 (implicit `typename` in conversion operators) (#195207)

Link: [CWG2413](https://wg21.link/cwg2413). This DR was resolved by
[P1787R6](https://wg21.link/P1787R6) by adding the following wording to
[[temp.res.general]/4](https://eel.is/c++draft/temp.res.general#4):

> A [type-only
context](https://eel.is/c++draft/temp.res.general#def:context,type-only)
is defined as follows: A qualified or unqualified name is said to be in
a type-only context if it is the terminal name of
> - ...
> - a [type-specifier](https://eel.is/c++draft/dcl.type.general#nt:type-specifier) of a
>   - ...
> - [conversion-type-id](https://eel.is/c++draft/class.conv.fct#nt:conversion-type-id),

Towards #54150.
DeltaFile
+14-4clang/test/CXX/drs/cwg24xx.cpp
+1-4clang/lib/Parse/ParseDecl.cpp
+2-2clang/test/CXX/temp/temp.res/p4.cpp
+3-0clang/docs/ReleaseNotes.rst
+2-1clang-tools-extra/clang-tidy/readability/RedundantTypenameCheck.cpp
+1-1clang/www/cxx_dr_status.html
+23-121 files not shown
+24-137 files

LLVM/project 7c881ddclang/lib/CIR/CodeGen CIRGenBuiltinRISCV.cpp, clang/test/CIR/CodeGenBuiltins/RISCV riscv-zbkx.c

[CIR][RISCV] Support zbkx builitin codegen (#195211)

Include 4 builtins: __builtin_riscv_xperm4_32,
__builtin_riscv_xperm4_64, __builtin_riscv_xperm8_32,
__builtin_riscv_xperm8_64.
DeltaFile
+64-0clang/test/CIR/CodeGenBuiltins/RISCV/riscv-zbkx.c
+8-2clang/lib/CIR/CodeGen/CIRGenBuiltinRISCV.cpp
+72-22 files

LLVM/project 14ea3a1mlir/include/mlir/Dialect/LLVMIR ROCDLOps.td, mlir/test/Dialect/LLVMIR rocdl.mlir

[mlir][ROCDL] Add rocdl.wave.barrier (#195357)

Co-authored-by: Claude Opus 4.7 (1M context) <noreply at anthropic.com>
DeltaFile
+13-0mlir/include/mlir/Dialect/LLVMIR/ROCDLOps.td
+7-0mlir/test/Target/LLVMIR/rocdl.mlir
+6-0mlir/test/Dialect/LLVMIR/rocdl.mlir
+26-03 files

LLVM/project a235362clang/include/clang/ScalableStaticAnalysisFramework/Core/SourcePassAnalysis SourcePassAnalysis.h

improve doc/comments
DeltaFile
+11-7clang/include/clang/ScalableStaticAnalysisFramework/Core/SourcePassAnalysis/SourcePassAnalysis.h
+11-71 files

LLVM/project 8f46a9dllvm/test/tools/llvm-profgen filter-build-id.test, llvm/test/tools/llvm-profgen/Inputs buildid-cs-noprobe.aggperfscript buildid-cs-noprobe.perfscript

[llvm-profgen] Support [buildid:]0xaddr format in perfscript input (#190863)

Add support for optional build ID prefix in perfscript addresses,
following the format buildid:0xhexaddr. This enables multi-DSO profiling
with a single input file: each address optionally carries a build ID,
and profgen filters addresses by matching the binary's build ID.

--filter-build-id=<hex> CLI option overrides auto-detected build ID.
DeltaFile
+58-13llvm/tools/llvm-profgen/PerfReader.cpp
+57-0llvm/test/tools/llvm-profgen/filter-build-id.test
+11-0llvm/test/tools/llvm-profgen/Inputs/buildid-cs-noprobe.aggperfscript
+9-0llvm/test/tools/llvm-profgen/Inputs/buildid-cs-noprobe.perfscript
+135-134 files

LLVM/project 627813cclang/test/CIR/CodeGenCUDA address-spaces.cu

Fix cc mismatch
DeltaFile
+1-1clang/test/CIR/CodeGenCUDA/address-spaces.cu
+1-11 files

LLVM/project ff91bf8lldb/include/lldb/Symbol VariableList.h, lldb/source/Symbol VariableList.cpp

[lldb] Make VariableList::FindVariable const (NFC) (#195355)

I was surprised to find `FindVariable` was not `const`. While making it
`const`, I also replaced the iterator based loop with a ranged based
loop.
DeltaFile
+12-24lldb/source/Symbol/VariableList.cpp
+3-4lldb/include/lldb/Symbol/VariableList.h
+15-282 files

LLVM/project dfb7a66clang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

fix fmt
DeltaFile
+4-5clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+4-51 files

LLVM/project 25af42dclang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp, clang/test/CIR/CodeGenCUDA device-stub.cu

[CIR][HIP] Handle HIP module constructor and destructor emission
DeltaFile
+147-5clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+121-0clang/test/CIR/CodeGenCUDA/device-stub.cu
+268-52 files

LLVM/project 1baf1a0utils/bazel/llvm-project-overlay/llvm/unittests BUILD.bazel

[Bazel] Fixes 30463fb (#195375)

This fixes 30463fbc4cd49bc1caa02bf799da5226dd5d7927.

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+1-0utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel
+1-01 files

LLVM/project d073a10llvm/test/CodeGen/AMDGPU/NextUseAnalysis spill-vreg-many-lanes.mir acyclic-770bb.mir

rebase

Created using spr 1.3.4
DeltaFile
+275,101-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/spill-vreg-many-lanes.mir
+144,679-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/acyclic-770bb.mir
+57,682-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/double-nested-loops-complex-cfg.mir
+41,844-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/test_ers_multiple_spills2.mir
+40,613-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/test_ers_multiple_spills1.mir
+37,209-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/test_ers_multiple_spills3.mir
+597,128-010,333 files not shown
+1,452,699-291,86310,339 files