LLVM/project aec50cdllvm/test/tools/llvm-objdump/MachO/AArch64 macho-relative-method-lists.test

[NFC] Disable llvm-objdump test on AIX

After commit 9d5edfde5c3dbc4eb559d316e82e664f291fc2bf the test is failing on the AIX bot. XFAIL for now to unblock the bot and give time to investigate.
DeltaFile
+1-0llvm/test/tools/llvm-objdump/MachO/AArch64/macho-relative-method-lists.test
+1-01 files

LLVM/project a5f576eflang/lib/Semantics check-do-forall.cpp, flang/test/Semantics forall02.f90

[flang] Diagnose calling impure final procedure due to finalization in FORALL (#85685)

This patch checks the LHS of an assignment in a FORALL loop and
diagnoses if any impure final procedure is called.
DeltaFile
+67-0flang/test/Semantics/forall02.f90
+12-0flang/lib/Semantics/check-do-forall.cpp
+79-02 files

LLVM/project a629621libc/src/math/generic atanf.cpp inv_trigf_utils.h, libc/test/src/math inv_trigf_utils_test.cpp CMakeLists.txt

[libc][math] Improve atanf performance. (#85463)

Simplify the range reduction logic and computations. Performance test
using `perf.sh` from CORE-MATH project on Ryzen 5900X:

Before:
```
$ ./perf.sh atanf --rdtsc --path1
LIBC-location: /home/lnt/experiment/llvm-project/build/projects/libc/lib/libllvmlibc.a
GNU libc version: 2.35
GNU libc release: stable
-- CORE-MATH reciprocal throughput --
[####################] 100 %
Ntrial = 20 ; Min = 14.369 + 0.556 clc/call; Median-Min = 0.613 clc/call; Max = 15.061 clc/call;
-- System LIBC reciprocal throughput --
[####################] 100 %
Ntrial = 20 ; Min = 26.180 + 0.015 clc/call; Median-Min = 0.014 clc/call; Max = 26.260 clc/call;
-- LIBC reciprocal throughput --
[####################] 100 %

    [47 lines not shown]
DeltaFile
+90-35libc/src/math/generic/atanf.cpp
+15-68libc/src/math/generic/inv_trigf_utils.h
+66-14libc/src/math/generic/inv_trigf_utils.cpp
+0-34libc/test/src/math/inv_trigf_utils_test.cpp
+5-9libc/src/math/generic/CMakeLists.txt
+0-14libc/test/src/math/CMakeLists.txt
+176-1743 files not shown
+186-1819 files

LLVM/project d66121dclang/lib/Driver/ToolChains WebAssembly.cpp WebAssembly.h, clang/test/Driver wasm-toolchain.c

[WebAssembly] Change the default linker for `wasm32-wasip2` (#84569)

This commit changes the default linker in the WebAssembly toolchain for
the `wasm32-wasip2` target. This target is being added to the
WebAssembly/wasi-sdk and WebAssembly/wasi-libc projects to target the
Component Model by default, in contrast with the preexisting
`wasm32-wasi` target (in the process of being renamed to
`wasm32-wasip1`) which outputs a core WebAssembly module by default.

The `wasm-component-ld` project currently lives in my GitHub account at
https://github.com/alexcrichton/wasm-component-ld and isn't necessarily
"official" yet, but it's expected to continue to evolve as the
`wasm32-wasip2` target continues to shape up and evolve.
DeltaFile
+25-2clang/lib/Driver/ToolChains/WebAssembly.cpp
+24-0clang/test/Driver/wasm-toolchain.c
+1-1clang/lib/Driver/ToolChains/WebAssembly.h
+50-33 files

LLVM/project a57b411llvm/lib/DebugInfo/LogicalView/Readers LVDWARFReader.cpp LVELFReader.cpp, llvm/lib/Target/ARM/AsmParser ARMAsmParser.cpp

style

Created using spr 1.3.4
DeltaFile
+320-1,548llvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-fp.ll
+1,618-0llvm/test/CodeGen/AMDGPU/itofp.i128.ll
+1,510-0llvm/test/CodeGen/AMDGPU/fptoi.i128.ll
+772-579llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
+1,247-0llvm/lib/DebugInfo/LogicalView/Readers/LVDWARFReader.cpp
+0-1,233llvm/lib/DebugInfo/LogicalView/Readers/LVELFReader.cpp
+5,467-3,3603,434 files not shown
+99,144-37,8973,440 files

LLVM/project 80d57f0llvm/lib/DebugInfo/LogicalView/Readers LVDWARFReader.cpp LVELFReader.cpp, llvm/lib/Target/ARM/AsmParser ARMAsmParser.cpp

use UNIMPLEMENTED

Created using spr 1.3.6-beta.1
DeltaFile
+320-1,548llvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-fp.ll
+1,618-0llvm/test/CodeGen/AMDGPU/itofp.i128.ll
+1,510-0llvm/test/CodeGen/AMDGPU/fptoi.i128.ll
+772-579llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
+1,247-0llvm/lib/DebugInfo/LogicalView/Readers/LVDWARFReader.cpp
+0-1,233llvm/lib/DebugInfo/LogicalView/Readers/LVELFReader.cpp
+5,467-3,3603,342 files not shown
+96,991-36,5083,348 files

LLVM/project 5373daalld/MachO ObjC.cpp ObjC.h, lld/test/MachO objc-category-merging-complete-test.s objc-category-merging-extern-class-minimal.s

Revert "[lld-macho] Implement ObjC category merging (-objc_category_merging) (#82928)"

This reverts commit ece2903ce730392e5236d27f1f387fa8067fcb1b, https://github.com/llvm/llvm-project/pull/82928.

https://github.com/llvm/llvm-project/pull/82928
DeltaFile
+3-917lld/MachO/ObjC.cpp
+0-762lld/test/MachO/objc-category-merging-complete-test.s
+0-155lld/test/MachO/objc-category-merging-extern-class-minimal.s
+0-12lld/MachO/ObjC.h
+4-6lld/MachO/Options.td
+0-9lld/MachO/Driver.cpp
+7-1,8611 files not shown
+8-1,8627 files

LLVM/project 6ae77eclld/MachO ObjC.cpp

Revert "[lld] Fix warnings"

This reverts commit 6800f422c22ffd672b1e31f0d0a3fa29d19b7a13 as the part of revert https://github.com/llvm/llvm-project/pull/82928.

buildbot failures: https://lab.llvm.org/buildbot/#/builders/168/builds/19302/steps/10/logs/stdio
DeltaFile
+0-2lld/MachO/ObjC.cpp
+0-21 files

LLVM/project 8a6a0f1flang/include/flang/Evaluate tools.h, flang/lib/Lower Bridge.cpp

[flang][cuda] Add proper TODO for cuda fortran assignment (#85705)

Data transfer between host and device can be done with assignment
statements in CUDA Fortran. This is currently not lowered so adding a
proper TODO.


https://docs.nvidia.com/hpc-sdk/archive/24.3/compilers/cuda-fortran-prog-guide/index.html#cfref-data-trans-assgn-statemts
DeltaFile
+14-0flang/include/flang/Evaluate/tools.h
+5-0flang/lib/Lower/Bridge.cpp
+1-1flang/test/Lower/CUDA/cuda-module-use.cuf
+20-13 files

LLVM/project 42c38b1mlir/lib/Dialect/SparseTensor/Transforms SparseReinterpretMap.cpp

[mlir][sparse] deallocate temporary transposed tensor (#85720)

Last resort resolution of cycles introduced a sparse conversion without
explicit sparse deallocation (which is not inserted by any automatic
means). This fixes 2 out of 5 remaining asan detected leaks in sparse
integration tests.
DeltaFile
+6-0mlir/lib/Dialect/SparseTensor/Transforms/SparseReinterpretMap.cpp
+6-01 files

LLVM/project 2e6b18bmlir/include/mlir/Dialect/SparseTensor/IR SparseTensorOps.td, mlir/test/Dialect/SparseTensor roundtrip.mlir

[mlir][sparse] add example to new operation doc, and roundtrip test (#85711)

DeltaFile
+13-3mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
+10-0mlir/test/Dialect/SparseTensor/roundtrip.mlir
+23-32 files

LLVM/project ba2dc29compiler-rt/lib/msan/tests CMakeLists.txt, compiler-rt/test/asan_abi CMakeLists.txt

[compiler-rt] Don't check COMPILER_RT_STANDALONE_BUILD for test deps

With https://github.com/llvm/llvm-project/pull/83088, we now need the
runtimes to be built before running test if
COMPILER_RT_TEST_STANDALONE_BUILD_LIBS is true, since otherwise we
get failures running `ninja check-all` such as the following:
```
/usr/bin/ld: cannot find .../compiler-rt/cmake-build-all-sanitizers/lib/linux/libclang_rt.fuzzer-x86_64.a: No such file or directory
/usr/bin/ld: cannot find .../compiler-rt/cmake-build-all-sanitizers/lib/linux/libclang_rt.xray-x86_64.a: No such file or directory
/usr/bin/ld: cannot find .../compiler-rt/cmake-build-all-sanitizers/lib/linux/libclang_rt.xray-basic-x86_64.a: No such file or directory
/usr/bin/ld: cannot find .../compiler-rt/cmake-build-all-sanitizers/lib/linux/libclang_rt.xray-fdr-x86_64.a: No such file or directory
```

This is a follow-up to 058e9b03 which started removing these checks
and it should make it easier to stop forcing COMPILER_RT_STANDALONE_BUILD
for runtimes builds in the future.

Reviewed By: vitalybuka

Pull Request: https://github.com/llvm/llvm-project/pull/83651
DeltaFile
+13-8compiler-rt/test/fuzzer/CMakeLists.txt
+3-6compiler-rt/test/memprof/CMakeLists.txt
+1-5compiler-rt/test/msan/CMakeLists.txt
+2-3compiler-rt/test/xray/CMakeLists.txt
+1-4compiler-rt/test/asan_abi/CMakeLists.txt
+1-3compiler-rt/lib/msan/tests/CMakeLists.txt
+21-292 files not shown
+24-338 files

LLVM/project f4e90e3flang/runtime freestanding-tools.h numeric-templates.h

[flang][runtime] Get rid of warnings in F18 runtime CUDA build. (#85488)

DeltaFile
+23-0flang/runtime/freestanding-tools.h
+7-0flang/runtime/numeric-templates.h
+1-1flang/runtime/tools.cpp
+1-1flang/runtime/tools.h
+32-24 files

LLVM/project 715a931libc/spec posix.td

[libc] Added tablegen definition for fileno (#85682)

This was missed in the previous PR. Updating tablegen definition with this PR.
DeltaFile
+5-0libc/spec/posix.td
+5-01 files

LLVM/project 7ef1a59compiler-rt/lib/hwasan hwasan_checks.h

remove incorrect DCHECK

this DCHECK was not valid for hwasan_load1, and was not necessary for
the. the function is written without any assumptions of alignment of the
pointer.
DeltaFile
+0-1compiler-rt/lib/hwasan/hwasan_checks.h
+0-11 files

LLVM/project 4841858bolt/lib/Core DebugNames.cpp, bolt/test/X86 dwarf5-debug-names-dw-at-specification.s dwarf5-debug-names-generate-debug-names.test

[BOLT][DWARF] Add support to debug_names for DW_AT_abstract_origin/DW_AT_specification (#85485)

According to the DWARF spec a DIE that has DW_AT_specification or
DW_AT_abstract_origin can be part of .debug_name if a DIE those
attribute points to has DW_AT_name or DW_AT_linkage_name.
DeltaFile
+694-0bolt/test/X86/dwarf5-debug-names-dw-at-specification.s
+161-114bolt/test/X86/dwarf5-debug-names-generate-debug-names.test
+41-8bolt/lib/Core/DebugNames.cpp
+1-8bolt/test/X86/dwarf5-debug-names.test
+1-7bolt/test/X86/dwarf5-one-cu-debug-names.test
+898-1375 files

LLVM/project 3bf86c0clang/cmake/caches Fuchsia-stage2.cmake, llvm/cmake/modules AddLLVM.cmake HandleLLVMOptions.cmake

[𝘀𝗽𝗿] initial version

Created using spr 1.3.4
DeltaFile
+1-1clang/cmake/caches/Fuchsia-stage2.cmake
+1-1llvm/cmake/modules/AddLLVM.cmake
+1-1llvm/cmake/modules/HandleLLVMOptions.cmake
+3-33 files

LLVM/project b985a32llvm/cmake/modules AddLLVM.cmake HandleLLVMOptions.cmake

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.4

[skip ci]
DeltaFile
+1-1llvm/cmake/modules/AddLLVM.cmake
+1-1llvm/cmake/modules/HandleLLVMOptions.cmake
+2-22 files

LLVM/project 241869allvm/cmake/modules AddLLVM.cmake HandleLLVMOptions.cmake

[𝘀𝗽𝗿] initial version

Created using spr 1.3.4
DeltaFile
+1-1llvm/cmake/modules/AddLLVM.cmake
+1-1llvm/cmake/modules/HandleLLVMOptions.cmake
+2-22 files

LLVM/project e0b19e9mlir/lib/Interfaces ViewLikeInterface.cpp

[MLIR] Remove unused implicit capture in the lambda (NFC)

This lambda does not capture anything, the `&` is just misleading.
DeltaFile
+1-1mlir/lib/Interfaces/ViewLikeInterface.cpp
+1-11 files

LLVM/project 228757flld/test/ELF pack-dyn-relocs.s pack-dyn-relocs-arm2.s

[ELF] Improve --pack-dyn-relocs tests for Android and RELR
DeltaFile
+106-120lld/test/ELF/pack-dyn-relocs.s
+8-5lld/test/ELF/pack-dyn-relocs-arm2.s
+114-1252 files

LLVM/project 7459f72llvm/include/llvm/ExecutionEngine/Orc/Shared VTuneSharedStructs.h

Add missing includes (to fix the modules build)
DeltaFile
+4-0llvm/include/llvm/ExecutionEngine/Orc/Shared/VTuneSharedStructs.h
+4-01 files

LLVM/project 65d444blldb/source/Commands CommandObjectDWIMPrint.cpp

[lldb][nfc] Factor out repeated code in DWIM Print (#85669)

The code that prints ValueObjects is duplicated across two different
cases of the dwim-print command, and a subsequent commit will add a
third case. As such, this commit factors out the common code into a
lambda. A free function was considered, but there is too much
function-local context required in that.

We also reword some of the comments so that they stop counting cases,
making it easier to add other cases later.
DeltaFile
+17-21lldb/source/Commands/CommandObjectDWIMPrint.cpp
+17-211 files

LLVM/project 8b8e1adllvm/lib/Target/SystemZ SystemZInstrInfo.td SystemZOperators.td, llvm/test/CodeGen/SystemZ atomic-memops.ll

[SystemZ] Don't lower ATOMIC_LOAD/STORE to LOAD/STORE (#75879)

- Instead of lowering float/double ISD::ATOMIC_LOAD / ISD::ATOMIC_STORE
nodes to regular LOAD/STORE nodes, make them legal and select those nodes
properly instead. This avoids exposing them to the DAGCombiner.

- AtomicExpand pass no longer casts float/double atomic load/stores to integer
  (FP128 is still casted).
DeltaFile
+739-0llvm/test/CodeGen/SystemZ/atomic-memops.ll
+125-125llvm/lib/Target/SystemZ/SystemZInstrInfo.td
+149-51llvm/lib/Target/SystemZ/SystemZOperators.td
+62-40llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
+27-27llvm/lib/Target/SystemZ/SystemZInstrHFP.td
+23-23llvm/lib/Target/SystemZ/SystemZInstrFP.td
+1,125-26616 files not shown
+1,296-32122 files

LLVM/project 5d56b34libc/fuzzing CMakeLists.txt, libc/src/__support/FPUtil FEnvImpl.h ManipulationFunctions.h

[libc] Remove direct math.h includes (#85324)

Reland of #84991

A downstream overlay mode user ran into issues with the isnan macro not
working in our sources with a specific libc configuration. This patch
replaces the last direct includes of math.h with our internal
math_macros.h, along with the necessary build system changes.
DeltaFile
+19-17libc/test/src/math/exhaustive/fmod_generic_impl_test.cpp
+15-1utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+6-4libc/test/src/math/explogxf_test.cpp
+1-2libc/src/__support/FPUtil/FEnvImpl.h
+1-2libc/src/__support/FPUtil/ManipulationFunctions.h
+2-1libc/fuzzing/CMakeLists.txt
+44-27123 files not shown
+166-149129 files

LLVM/project d0d9839flang/lib/Semantics data-to-inits.cpp

[flang] Fix crash on erroneous program (#85615) (#85659)

Replace a pointer that should never be null with a reference argument so
that it's always defined.

Fixes https://github.com/llvm/llvm-project/issues/85615.
DeltaFile
+12-13flang/lib/Semantics/data-to-inits.cpp
+12-131 files

LLVM/project 53e8d50flang/lib/Semantics check-declarations.cpp, flang/test/Semantics declarations02.f90

[flang] Catch inappropriate attributes for PARAMETERs (#85588)

There's several symbol attributes that cannot be applied to named
constants, but that weren't being checked.
DeltaFile
+14-0flang/test/Semantics/declarations02.f90
+5-0flang/lib/Semantics/check-declarations.cpp
+19-02 files

LLVM/project 7eb5d4fflang/runtime edit-input.cpp, flang/unittests/Runtime NumericalFormatTest.cpp

[flang][runtime] Round hex REAL input correctly with excess digits (#85587)

Excess hexadecimal digits were too significant for rounding purposes,
leading to inappropriate rounding away from zero for some modes.
DeltaFile
+42-29flang/runtime/edit-input.cpp
+8-0flang/unittests/Runtime/NumericalFormatTest.cpp
+50-292 files

LLVM/project 606a997flang/include/flang/Evaluate real.h, flang/test/Evaluate fold-scale.f90

[flang] Fix SCALE() folding with big scale factors (#85576)

The folding of the SCALE() intrinsic function is implemented via
multiplication by a power of two; this simplifies handling of
exceptional cases. But sometimes scaling by a power of two requires an
exponent larger or smaller than a floating-point format can represent,
and two multiplications are required.
DeltaFile
+21-8flang/include/flang/Evaluate/real.h
+2-1flang/test/Evaluate/fold-scale.f90
+23-92 files

LLVM/project 0007d7eflang/include/flang/Common visit.h

[flang] Reduce recursion in common::visit (#85483)

This patch yields small speed-ups in compiler build and execution times,
but more importantly, reduces the stack depth needed in a build
environment where tail call optimization does not appear to occur.
DeltaFile
+16-22flang/include/flang/Common/visit.h
+16-221 files