LLVM/project fb974e8lld/COFF Writer.cpp DriverUtils.cpp, lld/test/COFF stub.test

[LLD][COFF] Add support for custom DOS stub (#122561)

This change implements support for the /stub flag to align with MS
link.exe. This option is useful when a program needs to optimize the DOS
program that executes when the PE runs on DOS, avoiding the traditional
hardcoded DOS program in LLD.
DeltaFile
+49-23lld/COFF/Writer.cpp
+55-0lld/test/COFF/stub.test
+16-0lld/COFF/DriverUtils.cpp
+4-0lld/COFF/Driver.cpp
+3-0lld/COFF/Driver.h
+1-0lld/COFF/Config.h
+128-234 files not shown
+128-2310 files

LLVM/project e5992b6clang/docs ReleaseNotes.rst, clang/lib/Sema SemaChecking.cpp

[Clang] Fix warning for non std functions with name `infinity` (#123417)

Fix reporting diagnostic for non std functions that has the name
`infinity`

Fixes: #123231
DeltaFile
+32-15clang/lib/Sema/SemaChecking.cpp
+39-4clang/test/Sema/warn-infinity-nan-disabled-win.cpp
+38-4clang/test/Sema/warn-infinity-nan-disabled-lnx.cpp
+2-0clang/docs/ReleaseNotes.rst
+111-234 files

LLVM/project 28ae363llvm/test/MC/AMDGPU gfx12_asm_vopc_t16_promote.s gfx11_asm_vopc_dpp16.s

[AMDGPU][True16][MC] true16 for v_cmp_xx_i/u16 (#122968)

A bulk commit of true16 support for v_cmp_xx_i/u16 instructions
including:

v_cmp_lt_i16
v_cmp_eq_i16
v_cmp_le_i16
v_cmp_gt_i16
v_cmp_ne_i16
v_cmp_ge_i16
v_cmp_lt_u16
v_cmp_eq_u16
v_cmp_le_u16
v_cmp_gt_u16
v_cmp_ne_u16
v_cmp_ge_u16
DeltaFile
+1,883-827llvm/test/MC/AMDGPU/gfx12_asm_vopc_t16_promote.s
+1,920-672llvm/test/MC/AMDGPU/gfx11_asm_vopc_dpp16.s
+1,824-672llvm/test/MC/AMDGPU/gfx12_asm_vopc_dpp16.s
+1,411-619llvm/test/MC/AMDGPU/gfx12_asm_vopc_t16_err.s
+1,411-619llvm/test/MC/AMDGPU/gfx11_asm_vopc_t16_err.s
+1,296-720llvm/test/MC/AMDGPU/gfx11_asm_vopc.s
+9,745-4,12923 files not shown
+23,778-10,35929 files

LLVM/project 2f1bc68flang/test/HLFIR unroll-loops.fir, flang/test/Integration unroll-loops.f90

[flang][PPC] XFAIL unroll-loops on PPC (#123661)

xfail the following 2 test cases that are failing on PowerPC buildbots
`ppc64-flang-aix` and `ppc64le-flang-rhel-clang` due toPR #122906.
Defect opened:  #123668.

FAIL: Flang::unroll-loops.fir
FAIL: Flang::unroll-loops.f90
DeltaFile
+3-0flang/test/HLFIR/unroll-loops.fir
+3-0flang/test/Integration/unroll-loops.f90
+6-02 files

LLVM/project 3f47c8flibcxx/include/__chrono utc_clock.h, libcxx/test/libcxx/time/time.clock/time.clock.utc get_leap_second_info.pass.cpp

[libc++][chrono] implements UTC clock.

While implementing this feature and its associated LWG issues it turns out
- LWG3316 Correctly define epoch for utc_clock / utc_timepoint
only added non-normative wording to the standard.

Implements parts of:
- P0355 Extending <chrono> to Calendars and Time Zones
- P1361 Integration of chrono with text formatting
- LWG3359 <chrono> leap second support should allow for negative leap seconds
DeltaFile
+1,004-0libcxx/test/std/time/time.syn/formatter.utc_time.pass.cpp
+245-0libcxx/test/std/time/time.clock/time.clock.utc/time.clock.utc.members/from_sys.pass.cpp
+242-0libcxx/test/std/time/time.clock/time.clock.utc/time.clock.utc.members/to_sys.pass.cpp
+165-0libcxx/test/std/time/time.clock/time.clock.utc/utc_time.ostream.pass.cpp
+163-0libcxx/include/__chrono/utc_clock.h
+147-0libcxx/test/libcxx/time/time.clock/time.clock.utc/get_leap_second_info.pass.cpp
+1,966-019 files not shown
+2,636-625 files

LLVM/project c31fcdalibcxx/include/__chrono utc_clock.h, libcxx/test/libcxx/time/time.clock/time.clock.utc get_leap_second_info.pass.cpp

[libc++][chrono] implements UTC clock.

While implementing this feature and its associated LWG issues it turns out
- LWG3316 Correctly define epoch for utc_clock / utc_timepoint
only added non-normative wording to the standard.

Implements parts of:
- P0355 Extending <chrono> to Calendars and Time Zones
- P1361 Integration of chrono with text formatting
- LWG3359 <chrono> leap second support should allow for negative leap seconds
DeltaFile
+1,004-0libcxx/test/std/time/time.syn/formatter.utc_time.pass.cpp
+245-0libcxx/test/std/time/time.clock/time.clock.utc/time.clock.utc.members/from_sys.pass.cpp
+242-0libcxx/test/std/time/time.clock/time.clock.utc/time.clock.utc.members/to_sys.pass.cpp
+165-0libcxx/test/std/time/time.clock/time.clock.utc/utc_time.ostream.pass.cpp
+163-0libcxx/include/__chrono/utc_clock.h
+147-0libcxx/test/libcxx/time/time.clock/time.clock.utc/get_leap_second_info.pass.cpp
+1,966-019 files not shown
+2,634-625 files

LLVM/project ac1065alibcxx/include/__chrono utc_clock.h, libcxx/test/libcxx/time/time.clock/time.clock.utc get_leap_second_info.pass.cpp

[libc++][chrono] implements UTC clock.

While implementing this feature and its associated LWG issues it turns out
- LWG3316 Correctly define epoch for utc_clock / utc_timepoint
only added non-normative wording to the standard.

Implements parts of:
- P0355 Extending <chrono> to Calendars and Time Zones
- P1361 Integration of chrono with text formatting
- LWG3359 <chrono> leap second support should allow for negative leap seconds
DeltaFile
+1,004-0libcxx/test/std/time/time.syn/formatter.utc_time.pass.cpp
+245-0libcxx/test/std/time/time.clock/time.clock.utc/time.clock.utc.members/from_sys.pass.cpp
+242-0libcxx/test/std/time/time.clock/time.clock.utc/time.clock.utc.members/to_sys.pass.cpp
+165-0libcxx/test/std/time/time.clock/time.clock.utc/utc_time.ostream.pass.cpp
+163-0libcxx/include/__chrono/utc_clock.h
+147-0libcxx/test/libcxx/time/time.clock/time.clock.utc/get_leap_second_info.pass.cpp
+1,966-019 files not shown
+2,632-625 files

LLVM/project d35d7f4.github/workflows build-ci-container.yml, .github/workflows/containers/github-action-ci Dockerfile

[Github] Add Agent Container Image (#123486)

This patch adds an agent container image on top of the normal CI
container image. They are the exact same except that the agent container
image also contains Github Runner binaries. I've split it into a
separate container as only one user of these images (the new premerge)
needs this binary installed, and it bloats the container image size
significantly (900MB->1.3GB or so).
DeltaFile
+12-1.github/workflows/containers/github-action-ci/Dockerfile
+9-2.github/workflows/build-ci-container.yml
+21-32 files

LLVM/project e68d18c.github/workflows/containers/github-action-ci Dockerfile

[Github] Add Zlib at build time to CI container (#123489)

This patch adds zlib at build time to the CI container. This is needed
to make an lldb test pass that defaults to using the system lld if it is
not explicitly enabled in LLVM_ENABLE_PROJECTS.

Fixes #123479 (by fixing the proximal cause).
DeltaFile
+2-1.github/workflows/containers/github-action-ci/Dockerfile
+2-11 files

LLVM/project f5b7a30libcxx/include/__chrono utc_clock.h, libcxx/test/libcxx/time/time.clock/time.clock.utc get_leap_second_info.pass.cpp

[libc++][chrono] implements UTC clock.

While implementing this feature and its associated LWG issues it turns out
- LWG3316 Correctly define epoch for utc_clock / utc_timepoint
only added non-normative wording to the standard.

Implements parts of:
- P0355 Extending <chrono> to Calendars and Time Zones
- P1361 Integration of chrono with text formatting
- LWG3359 <chrono> leap second support should allow for negative leap seconds
DeltaFile
+1,004-0libcxx/test/std/time/time.syn/formatter.utc_time.pass.cpp
+245-0libcxx/test/std/time/time.clock/time.clock.utc/time.clock.utc.members/from_sys.pass.cpp
+242-0libcxx/test/std/time/time.clock/time.clock.utc/time.clock.utc.members/to_sys.pass.cpp
+165-0libcxx/test/std/time/time.clock/time.clock.utc/utc_time.ostream.pass.cpp
+163-0libcxx/include/__chrono/utc_clock.h
+147-0libcxx/test/libcxx/time/time.clock/time.clock.utc/get_leap_second_info.pass.cpp
+1,966-019 files not shown
+2,632-625 files

LLVM/project 3d08fa2libcxx/include future

[libc++] Another _LIBCPP_NODEBUG fix
DeltaFile
+1-1libcxx/include/future
+1-11 files

LLVM/project 2546b3elibcxx/include/__chrono utc_clock.h, libcxx/test/libcxx/time/time.clock/time.clock.utc get_leap_second_info.pass.cpp

[libc++][chrono] implements UTC clock.

While implementing this feature and its associated LWG issues it turns out
- LWG3316 Correctly define epoch for utc_clock / utc_timepoint
only added non-normative wording to the standard.

Implements parts of:
- P0355 Extending <chrono> to Calendars and Time Zones
- P1361 Integration of chrono with text formatting
- LWG3359 <chrono> leap second support should allow for negative leap seconds
DeltaFile
+1,004-0libcxx/test/std/time/time.syn/formatter.utc_time.pass.cpp
+245-0libcxx/test/std/time/time.clock/time.clock.utc/time.clock.utc.members/from_sys.pass.cpp
+242-0libcxx/test/std/time/time.clock/time.clock.utc/time.clock.utc.members/to_sys.pass.cpp
+165-0libcxx/test/std/time/time.clock/time.clock.utc/utc_time.ostream.pass.cpp
+163-0libcxx/include/__chrono/utc_clock.h
+147-0libcxx/test/libcxx/time/time.clock/time.clock.utc/get_leap_second_info.pass.cpp
+1,966-018 files not shown
+2,627-524 files

LLVM/project 1434313llvm/include/llvm/CodeGen LiveRegMatrix.h, llvm/lib/CodeGen LiveRegMatrix.cpp

[LiveRegMatrix] Use MCRegUnit instead of MCRegister for register unit. NFC

MCRegister should be used for registers, not register units.
DeltaFile
+2-2llvm/lib/CodeGen/LiveRegMatrix.cpp
+1-1llvm/include/llvm/CodeGen/LiveRegMatrix.h
+3-32 files

LLVM/project 2c9cc78llvm Maintainers.md

[LLVM] Update cmake and library layering maintainers (#120542)

Currently @chandlerc is listed as the maintainer for "CMake and library
layering", but he has not been active in that area in while.
Consequently, this patch updates the maintainers for CMake and
library layering to folks who are working more actively in these
areas.

See https://llvm.org/docs/DeveloperPolicy.html#maintainers for
context on the maintainers terminology.
DeltaFile
+9-4llvm/Maintainers.md
+9-41 files

LLVM/project 4df28afmlir/lib/Conversion/GPUCommon OpToFuncCallLowering.h, mlir/lib/Conversion/GPUToNVVM LowerGpuOpsToNVVMOps.cpp

[mlir] Add lowering of absi and fpowi to libdevice (#123644)

More concise version of #123422.

---------

Co-authored-by: William S. Moses <gh at wsmoses.com>
DeltaFile
+54-28mlir/lib/Conversion/GPUCommon/OpToFuncCallLowering.h
+24-0mlir/test/Conversion/GPUToNVVM/gpu-to-nvvm.mlir
+19-0mlir/lib/Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp
+97-283 files

LLVM/project 9c464e6flang/lib/Semantics resolve-directives.cpp, flang/test/Semantics/OpenMP forall.f90 doconcurrent01.f90

[flang][OpenMP] Don't try to privatize FORALL/DO CONCURRENT indices (#123341)

FORALL/DO CONCURRENT indices have predetermined private DSA (OpenMP 5.2
5.1.1).

As FORALL/DO CONCURRENT indices are defined in the construct itself, and
OpenMP
directives may not appear in it, they are already private and don't need
to be modified.

Fixes https://github.com/llvm/llvm-project/issues/100919
Fixes https://github.com/llvm/llvm-project/issues/120023
Fixes https://github.com/llvm/llvm-project/issues/123537
DeltaFile
+32-0flang/test/Semantics/OpenMP/forall.f90
+1-18flang/lib/Semantics/resolve-directives.cpp
+7-3flang/test/Semantics/OpenMP/doconcurrent01.f90
+40-213 files

LLVM/project 623ba9blibcxx/include/__type_traits invoke.h

[libc++] Add missing _LIBCPP_NODEBUG on internal alias
DeltaFile
+1-1libcxx/include/__type_traits/invoke.h
+1-11 files

LLVM/project 6d3d071libcxx/include/__chrono utc_clock.h, libcxx/test/libcxx/time/time.clock/time.clock.utc get_leap_second_info.pass.cpp

[libc++][chrono] implements UTC clock.

While implementing this feature and its associated LWG issues it turns out
- LWG3316 Correctly define epoch for utc_clock / utc_timepoint
only added non-normative wording to the standard.

Implements parts of:
- P0355 Extending <chrono> to Calendars and Time Zones
- P1361 Integration of chrono with text formatting
- LWG3359 <chrono> leap second support should allow for negative leap seconds
DeltaFile
+1,004-0libcxx/test/std/time/time.syn/formatter.utc_time.pass.cpp
+245-0libcxx/test/std/time/time.clock/time.clock.utc/time.clock.utc.members/from_sys.pass.cpp
+241-0libcxx/test/std/time/time.clock/time.clock.utc/time.clock.utc.members/to_sys.pass.cpp
+165-0libcxx/test/std/time/time.clock/time.clock.utc/utc_time.ostream.pass.cpp
+163-0libcxx/include/__chrono/utc_clock.h
+147-0libcxx/test/libcxx/time/time.clock/time.clock.utc/get_leap_second_info.pass.cpp
+1,965-018 files not shown
+2,622-524 files

LLVM/project 8b879d1mlir/lib/ExecutionEngine CMakeLists.txt, mlir/lib/ExecutionEngine/SparseTensor CMakeLists.txt

Revert "[mlir] Link libraries that aren't included in libMLIR to libMLIR (#123477)"

This reverts commit af6616676fb7f9dd4898290ea684ee0c90f1701d.  It broke
builds with `-DBUILD_SHARED_LIBS=ON`.
DeltaFile
+2-5mlir/lib/ExecutionEngine/CMakeLists.txt
+2-2mlir/lib/ExecutionEngine/SparseTensor/CMakeLists.txt
+1-3mlir/test/lib/Analysis/CMakeLists.txt
+2-2mlir/test/lib/Conversion/ConvertToSPIRV/CMakeLists.txt
+1-3mlir/test/lib/Conversion/FuncToLLVM/CMakeLists.txt
+2-2mlir/test/lib/Conversion/MathToVCIX/CMakeLists.txt
+10-1737 files not shown
+77-9843 files

LLVM/project 8424bf2clang/lib/Headers vecintrin.h, clang/test/CodeGen/SystemZ zvector.c

[SystemZ] Add support for new cpu architecture - arch15

This patch adds support for the next-generation arch15
CPU architecture to the SystemZ backend.

This includes:
- Basic support for the new processor and its features.
- Detection of arch15 as host processor.
- Assembler/disassembler support for new instructions.
- Exploitation of new instructions for code generation.
- New vector (signed|unsigned|bool) __int128 data types.
- New LLVM intrinsics for certain new instructions.
- Support for low-level builtins mapped to new LLVM intrinsics.
- New high-level intrinsics in vecintrin.h.
- Indicate support by defining  __VEC__ == 10305.

Note: No currently available Z system supports the arch15
architecture.  Once new systems become available, the
official system name will be added as supported -march name.
DeltaFile
+3,896-0llvm/test/CodeGen/SystemZ/vec-eval.ll
+1,741-41clang/lib/Headers/vecintrin.h
+1,753-0llvm/test/MC/Disassembler/SystemZ/insns-arch15.txt
+1,348-0llvm/test/MC/SystemZ/insn-good-arch15.s
+849-80clang/test/CodeGen/SystemZ/zvector.c
+541-0llvm/test/CodeGen/SystemZ/vec-intrinsics-05.ll
+10,128-12178 files not shown
+16,455-28084 files

LLVM/project 64edde6clang/include/clang/Basic AttrDocs.td

[clang] Improve the documentation for the init_priority attribute (#123098)

The documentation wasn't very clear about whether ordering is controlled
within or across TUs, and same for dylibs. Clarify that, and also add
mentions for the state of support on Mach-O platforms.
DeltaFile
+12-5clang/include/clang/Basic/AttrDocs.td
+12-51 files

LLVM/project 818d6e5llvm/utils/TableGen/Common CodeGenSchedule.cpp

[TableGen] Avoid repeated hash lookups (NFC) (#123562)

DeltaFile
+5-9llvm/utils/TableGen/Common/CodeGenSchedule.cpp
+5-91 files

LLVM/project efae9f3llvm/lib/CodeGen/MIRParser MIParser.cpp

[MIRParser] Avoid repeated map lookups (NFC) (#123561)

DeltaFile
+3-2llvm/lib/CodeGen/MIRParser/MIParser.cpp
+3-21 files

LLVM/project 7fa1936llvm/lib/Transforms/InstCombine InstCombineCalls.cpp

[InstCombine] Avoid repeated hash lookups (NFC) (#123559)

DeltaFile
+4-3llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
+4-31 files

LLVM/project 64749fbllvm/lib/Target/AMDGPU AMDGPULowerBufferFatPointers.cpp, llvm/test/CodeGen/AMDGPU buffer-fat-pointers-contents-legalization.ll lower-buffer-fat-pointers-contents-legalization.ll

Revert "[AMDGPU] Handle natively unsupported types in addrspace(7) lowering" (#123657)

Reverts llvm/llvm-project#110572

Seem to have broken a buildbot, not sure why
https://lab.llvm.org/buildbot/#/builders/108/builds/8346
DeltaFile
+0-3,998llvm/test/CodeGen/AMDGPU/buffer-fat-pointers-contents-legalization.ll
+386-912llvm/test/CodeGen/AMDGPU/lower-buffer-fat-pointers-contents-legalization.ll
+3-562llvm/lib/Target/AMDGPU/AMDGPULowerBufferFatPointers.cpp
+0-11llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.store.nxv2i32.fail.ll
+1-6llvm/test/CodeGen/AMDGPU/lower-buffer-fat-pointers-calls.ll
+1-6llvm/test/CodeGen/AMDGPU/lower-buffer-fat-pointers-unoptimized-debug-data.ll
+391-5,4956 files

LLVM/project f355a44llvm/lib/Transforms/HipStdPar HipStdPar.cpp

[HipStdPar] Avoid repeated hash lookups (NFC) (#123558)

DeltaFile
+3-2llvm/lib/Transforms/HipStdPar/HipStdPar.cpp
+3-21 files

LLVM/project bc1e699llvm/lib/CodeGen MachineCopyPropagation.cpp

[CodeGen] Avoid repeated hash lookups (NFC) (#123557)

DeltaFile
+4-4llvm/lib/CodeGen/MachineCopyPropagation.cpp
+4-41 files

LLVM/project cac3f5ellvm/lib/Transforms/IPO MemProfContextDisambiguation.cpp

[memprof] Add simplify_type (NFC) (#123556)

IndexCall is a simple wrapper around:

  PointerUnion<CallsiteInfo *, AllocInfo *>

Now, because we don't have CastInfo for IndexCall, we would have to
use getBase like so:

  dyn_cast_if_present<CallsiteInfo *>(Call.getBase())

This patch adds simplify_type<IndexCall>, which in turn enables
CastInfo for IndexCall, so we can drop getBase like so::

  dyn_cast_if_present<CallsiteInfo *>(Call)
DeltaFile
+27-19llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
+27-191 files

LLVM/project bba7783clang/include/clang/Basic BuiltinsX86.td, llvm/test/CodeGen/RISCV/rvv vfma-vp.ll

Rebase

Created using spr 1.3.5
DeltaFile
+4,839-5,345llvm/test/CodeGen/RISCV/rvv/vfma-vp.ll
+3,056-4,201llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-8.ll
+233-6,579llvm/test/DebugInfo/NVPTX/debug-info.ll
+6,647-0llvm/test/MC/AMDGPU/gfx12_asm_vop3c_dpp16-fake16.s
+5,378-4clang/include/clang/Basic/BuiltinsX86.td
+2,667-2,586llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vopc.txt
+22,820-18,7155,948 files not shown
+312,261-154,8845,954 files

LLVM/project 14c52a8libcxx/include/__chrono utc_clock.h, libcxx/test/libcxx/time/time.clock/time.clock.utc get_leap_second_info.pass.cpp

[libc++][chrono] implements UTC clock.

While implementing this feature and its associated LWG issues it turns out
- LWG3316 Correctly define epoch for utc_clock / utc_timepoint
only added non-normative wording to the standard.

Implements parts of:
- P0355 Extending <chrono> to Calendars and Time Zones
- P1361 Integration of chrono with text formatting
- LWG3359 <chrono> leap second support should allow for negative leap seconds
DeltaFile
+1,004-0libcxx/test/std/time/time.syn/formatter.utc_time.pass.cpp
+245-0libcxx/test/std/time/time.clock/time.clock.utc/time.clock.utc.members/from_sys.pass.cpp
+241-0libcxx/test/std/time/time.clock/time.clock.utc/time.clock.utc.members/to_sys.pass.cpp
+165-0libcxx/test/std/time/time.clock/time.clock.utc/utc_time.ostream.pass.cpp
+164-0libcxx/include/__chrono/utc_clock.h
+147-0libcxx/test/libcxx/time/time.clock/time.clock.utc/get_leap_second_info.pass.cpp
+1,966-018 files not shown
+2,630-524 files