LLVM/project 8560959libcxx/test/std/containers/views/mdspan/layout_right ctor.layout_stride.pass.cpp

[libc++][mdspan] Fix layout_stride->layout_right test (#191611)
DeltaFile
+4-4libcxx/test/std/containers/views/mdspan/layout_right/ctor.layout_stride.pass.cpp
+4-41 files

LLVM/project 1ed2769libcxx/test/std/algorithms/alg.nonmodifying/alg.fold left_folds.pass.cpp

[libc++][test] Improve `fold_left` `check_lvalue_range` coverage.  (#183990)

This makes the test `fold_left` and `fold_left_with_iter` with and
without telemetrics similar to what we do in `check_iterator`.
DeltaFile
+5-4libcxx/test/std/algorithms/alg.nonmodifying/alg.fold/left_folds.pass.cpp
+5-41 files

LLVM/project 870f8d9clang/include/clang/Basic BuiltinsAMDGPU.td, clang/test/CodeGenOpenCL builtins-amdgcn-mfma-gfx908-err.cl builtins-amdgcn-gfx12-err.cl

[NFC][AMDGPU] Fix `gfx90a`+ MFMA builtins (#191537)

`gfx90a` added a set of MFMA instructions that are not available on
prior GFXIPs. The Clang builtins for these were requiring the
`mai-insts` feature, which is incorrect (`gfx908` supports this and does
not support the added MFMAs). This led to opaque bugs where we'd check
with `__has_builtin` for the availability of the builtin, target 908,
and get an ISEL failure.
DeltaFile
+33-0clang/test/CodeGenOpenCL/builtins-amdgcn-mfma-gfx908-err.cl
+7-7clang/include/clang/Basic/BuiltinsAMDGPU.td
+7-7clang/test/CodeGenOpenCL/builtins-amdgcn-gfx12-err.cl
+47-143 files

LLVM/project fc12e59clang/include/clang/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel EntityPointerLevel.h, clang/include/clang/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage UnsafeBufferUsage.h UnsafeBufferUsageExtractor.h

Reland "[NFC][SSAF] Move EntityPointerLevel to a separate folder" (#191481)" (#191518)

Relands #191481
DeltaFile
+246-0clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp
+7-213clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageExtractor.cpp
+99-0clang/include/clang/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.h
+1-67clang/include/clang/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsage.h
+0-5clang/include/clang/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageExtractor.h
+0-4clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsage.cpp
+353-2892 files not shown
+355-2928 files

LLVM/project cfcf59cllvm/lib/Target/WebAssembly WebAssemblyExceptionInfo.cpp, llvm/test/CodeGen/WebAssembly function-info.mir

[WebAssembly] Remove ExceptionInfo grouping tweaks (NFC) (#191495)

This removes fixes implemented in
https://github.com/llvm/llvm-project/commit/ea8c6375e3330f181105106b3adb84ff9fa76a7c,
https://github.com/llvm/llvm-project/commit/4a58116b7e5e1439c5fefdf59a89fc4f1d42875c,
and
https://github.com/llvm/llvm-project/commit/2b957ed4ff3344d8f761a053566e307277a1cdeb.
We don't need them anymore after #130374.

---

A little (unfortunate) winding history, mostly for my mental bookeeping.
Read the below only if you are curious:

There is a function called `findUnwindDestinations` in
`SelectionDAGBuilder.cpp`.

https://github.com/llvm/llvm-project/blob/c94f79886035a61bb5f3dc992f75fe0c08bdcd4b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp#L2107-L2164


    [91 lines not shown]
DeltaFile
+0-165llvm/lib/Target/WebAssembly/WebAssemblyExceptionInfo.cpp
+1-1llvm/test/CodeGen/WebAssembly/function-info.mir
+1-1662 files

LLVM/project 6c4bd0bcompiler-rt/test/sanitizer_common/TestCases/Linux soft_rss_limit_mb_test.cpp

[compiler-rt] Disable soft_rss_limit_mb_test.cpp (#191370)

The test has been failing flakily for a while; see PRs #170911, #171469,
#188441.

Co-authored-by: Vitaly Buka <vitalybuka at gmail.com>
DeltaFile
+4-0compiler-rt/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp
+4-01 files

LLVM/project 79dfa88clang/lib/Driver ModulesDriver.cpp

[clang][modules-driver] Add missing PrependArg for Clang module precompile jobs (#191610)

In `createClangModulePrecompileJob`, the `PrependArg` parameter was not
being passed for the newly created Clang module precompile job.
This causes failures for setups where the clang executable is a wrapper
(e.g., the llvm-driver wrapper).

See
https://github.com/llvm/llvm-project/pull/191258#issuecomment-4227294864
DeltaFile
+6-5clang/lib/Driver/ModulesDriver.cpp
+6-51 files

LLVM/project 385b8d9clang/cmake/caches Release.cmake, llvm CMakeLists.txt

Revert "[cmake] Add support for statically linking libxml2 (#166867)"

This reverts commit 11a802685043cb1e9b23e54437da011bdfbf1d61.
DeltaFile
+0-75llvm/cmake/modules/FindLibXml2.cmake
+3-16llvm/cmake/config-ix.cmake
+3-7llvm/lib/WindowsManifest/CMakeLists.txt
+0-4clang/cmake/caches/Release.cmake
+0-2llvm/CMakeLists.txt
+6-1045 files

LLVM/project 193d7a6llvm/include/llvm/MC MCSection.h, llvm/lib/MC MCAssembler.cpp

[MC,CodeGen] Update .prefalign for symbol-based preferred alignment (#184032)

https://discourse.llvm.org/t/rfc-enhancing-function-alignment-attributes/88019/17
The recently-introduced .prefalign only worked when each function was in
its own section (-ffunction-sections), because the section size gave the
function body size needed for the alignment rule.

This led to -ffunction-sections and -fno-function-sections AsmPrinter
differences (#155529), which is rather unusual.

This patch fixes this AsmPrinter difference by extending .prefalign to
accept an end symbol and a required fill operand:

    .prefalign <log2_align>, <end_sym>, nop
    .prefalign <log2_align>, <end_sym>, <fill_byte>

The first operand is a log2 alignment value (e.g. 4 means 16-byte
alignment). The body size (end_sym_offset - start_offset) determines the
alignment:

    [19 lines not shown]
DeltaFile
+122-88llvm/test/MC/ELF/prefalign.s
+55-15llvm/include/llvm/MC/MCSection.h
+61-0llvm/lib/MC/MCAssembler.cpp
+48-3llvm/test/MC/ELF/prefalign-errors.s
+44-6llvm/lib/MC/MCParser/AsmParser.cpp
+47-0llvm/test/MC/ELF/prefalign-convergence.s
+377-11233 files not shown
+570-23239 files

LLVM/project f06cb0dllvm/tools/llvm-profgen PerfReader.cpp

Update llvm/tools/llvm-profgen/PerfReader.cpp
DeltaFile
+1-1llvm/tools/llvm-profgen/PerfReader.cpp
+1-11 files

LLVM/project 94a7b67llvm/lib/CodeGen MachineModuleInfo.cpp, llvm/lib/MC MCContext.cpp

[MC] Remove MCTargetOptions parameter from MCContext constructor (#191596)

Now that MCAsmInfo stores the MCTargetOptions pointer (set by
TargetRegistry::createMCAsmInfo #180464), MCContext can retrieve it via
MCAsmInfo. Remove the redundant MCTargetOptions parameter from the
MCContext constructor and update all callers.
DeltaFile
+2-4llvm/lib/MC/MCContext.cpp
+3-3llvm/lib/CodeGen/MachineModuleInfo.cpp
+1-3llvm/tools/llvm-dwp/llvm-dwp.cpp
+1-2mlir/lib/Target/LLVM/ROCDL/Target.cpp
+1-2llvm/unittests/MC/SystemZ/SystemZAsmLexerTest.cpp
+1-2llvm/tools/llvm-mc/llvm-mc.cpp
+9-166 files not shown
+14-2312 files

LLVM/project f6167ecclang-tools-extra/clang-tidy/utils ExceptionAnalyzer.cpp, clang-tools-extra/test/clang-tidy/checkers/bugprone exception-escape-treat-functions-without-specification-as-throwing.cpp

[clang-tidy] Fix FP in bugprone-exception-escape with unevaluated exception specs (#190593)

Functions whose exception spec has not yet been evaluated have no body
in the AST. Because the compiler does not generate call sites for these
functions before evaluating their spec, they cannot propagate
exceptions.

Closes https://github.com/llvm/llvm-project/issues/188730
DeltaFile
+9-13clang-tools-extra/test/clang-tidy/checkers/bugprone/exception-escape-treat-functions-without-specification-as-throwing.cpp
+9-0clang-tools-extra/clang-tidy/utils/ExceptionAnalyzer.cpp
+18-132 files

LLVM/project a3ae5b5lld/ELF/Arch AMDGPU.cpp, lld/test/ELF amdgpu-abs32-reloc.s

Revert "[lld][AMDGPU] Support R_AMDGPU_ABS32_(LO|HI) relocations" (#191591)

Reverts llvm/llvm-project#191550

Merged without understanding getImplicitAddend and test convention, and
less than 4 hours after a colleague rubber stamping with "I am not ELF
or linker expert but to me looks good."
DeltaFile
+0-22lld/test/ELF/amdgpu-abs32-reloc.s
+0-14lld/ELF/Arch/AMDGPU.cpp
+0-362 files

LLVM/project 32e1148clang/lib/Headers/hlsl hlsl_alias_intrinsics.h, llvm/test/tools/llvm-mca/RISCV/SiFiveX390 vector-fp.s

refactor, address comments

Created using spr 1.3.4
DeltaFile
+0-4,851llvm/test/tools/llvm-mca/RISCV/SiFiveX390/vector-fp.s
+4,526-0llvm/test/tools/llvm-mca/RISCV/SiFiveX390/rvv/arithmetic.test
+4-3,871clang/lib/Headers/hlsl/hlsl_alias_intrinsics.h
+3,706-0llvm/test/tools/llvm-mca/RISCV/SiFiveX390/rvv/fp.test
+3,126-0llvm/test/tools/llvm-mca/RISCV/SiFiveX390/rvv/vlseg-vsseg.test
+2,878-0llvm/test/tools/llvm-mca/RISCV/SiFiveX390/rvv/bitwise.test
+14,240-8,7221,955 files not shown
+101,158-49,3631,961 files

LLVM/project 4ffebdcclang/lib/Headers/hlsl hlsl_alias_intrinsics.h, llvm/test/tools/llvm-mca/RISCV/SiFiveX390 vector-fp.s

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.4

[skip ci]
DeltaFile
+0-4,851llvm/test/tools/llvm-mca/RISCV/SiFiveX390/vector-fp.s
+4,526-0llvm/test/tools/llvm-mca/RISCV/SiFiveX390/rvv/arithmetic.test
+4-3,871clang/lib/Headers/hlsl/hlsl_alias_intrinsics.h
+3,706-0llvm/test/tools/llvm-mca/RISCV/SiFiveX390/rvv/fp.test
+3,126-0llvm/test/tools/llvm-mca/RISCV/SiFiveX390/rvv/vlseg-vsseg.test
+2,878-0llvm/test/tools/llvm-mca/RISCV/SiFiveX390/rvv/bitwise.test
+14,240-8,7221,953 files not shown
+101,115-49,2751,959 files

LLVM/project 97678adllvm/tools/llvm-profgen PerfReader.cpp

HasPrefix

Created using spr 1.3.4
DeltaFile
+4-4llvm/tools/llvm-profgen/PerfReader.cpp
+4-41 files

LLVM/project 2b06aeellvm/tools/llvm-profgen PerfReader.cpp PerfReader.h

[𝘀𝗽𝗿] initial version

Created using spr 1.3.4
DeltaFile
+34-19llvm/tools/llvm-profgen/PerfReader.cpp
+8-3llvm/tools/llvm-profgen/PerfReader.h
+42-222 files

LLVM/project 5a5eb4dllvm/tools/llvm-profgen PerfReader.cpp PerfReader.h

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

Created using spr 1.3.4

[skip ci]
DeltaFile
+21-11llvm/tools/llvm-profgen/PerfReader.cpp
+7-2llvm/tools/llvm-profgen/PerfReader.h
+28-132 files

LLVM/project cb51d01llvm/tools/llvm-profgen PerfReader.cpp PerfReader.h

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

Created using spr 1.3.4

[skip ci]
DeltaFile
+9-6llvm/tools/llvm-profgen/PerfReader.cpp
+7-2llvm/tools/llvm-profgen/PerfReader.h
+16-82 files

LLVM/project 852bcd8llvm/tools/llvm-profgen PerfReader.cpp PerfReader.h

[𝘀𝗽𝗿] initial version

Created using spr 1.3.4
DeltaFile
+21-11llvm/tools/llvm-profgen/PerfReader.cpp
+7-2llvm/tools/llvm-profgen/PerfReader.h
+28-132 files

LLVM/project b9998b1llvm/tools/llvm-profgen PerfReader.cpp PerfReader.h

[𝘀𝗽𝗿] initial version

Created using spr 1.3.4
DeltaFile
+9-6llvm/tools/llvm-profgen/PerfReader.cpp
+7-2llvm/tools/llvm-profgen/PerfReader.h
+16-82 files

LLVM/project 8378b6dmlir/lib/Dialect/XeGPU/Transforms XeGPUSgToWiDistributeExperimental.cpp, mlir/lib/Dialect/XeGPU/Utils XeGPUUtils.cpp

[MLIR][XeGPU] Lower vector.multi_reduction to vector.reduction for lane local (#191037)
DeltaFile
+26-9mlir/test/Dialect/XeGPU/sg-to-wi-experimental-unit.mlir
+8-9mlir/lib/Dialect/XeGPU/Transforms/XeGPUSgToWiDistributeExperimental.cpp
+2-1mlir/test/Dialect/XeGPU/sg-to-wi-experimental.mlir
+2-0mlir/lib/Dialect/XeGPU/Utils/XeGPUUtils.cpp
+38-194 files

LLVM/project 95ad60fllvm/tools/llvm-profgen PerfReader.cpp PerfReader.h

[𝘀𝗽𝗿] initial version

Created using spr 1.3.4
DeltaFile
+9-6llvm/tools/llvm-profgen/PerfReader.cpp
+7-2llvm/tools/llvm-profgen/PerfReader.h
+16-82 files

LLVM/project 8b316fclld/ELF/Arch AMDGPU.cpp, lld/test/ELF amdgpu-abs32-reloc.s

Revert "[lld][AMDGPU] Support R_AMDGPU_ABS32_(LO|HI) relocations (#191550)"

This reverts commit 3a47349c084217d83f9968db8b551a8526de9702.
DeltaFile
+0-22lld/test/ELF/amdgpu-abs32-reloc.s
+0-14lld/ELF/Arch/AMDGPU.cpp
+0-362 files

LLVM/project 3a47349lld/ELF/Arch AMDGPU.cpp, lld/test/ELF amdgpu-abs32-reloc.s

[lld][AMDGPU] Support R_AMDGPU_ABS32_(LO|HI) relocations (#191550)

Summary:
These relocations are extremely rare, but they are listed as an expected
relocation in https://llvm.org/docs/AMDGPUUsage.html#relocation-records
and you can theoretically make them happen so we should probably support
it in the linker.
DeltaFile
+22-0lld/test/ELF/amdgpu-abs32-reloc.s
+14-0lld/ELF/Arch/AMDGPU.cpp
+36-02 files

LLVM/project ea8554ellvm/lib/Analysis InstCount.cpp, llvm/lib/Passes PassBuilderPipelines.cpp

Changed stat passes to count instructions before and after optimizations (#188837)

Created this for instcount and func-properties-analysis to be able to
see the change the optimization pipelines have on stats
DeltaFile
+0-70llvm/test/Analysis/FunctionPropertiesAnalysis/properties-stats.ll
+63-0llvm/test/Analysis/FunctionPropertiesAnalysis/function-properties-analysis.ll
+43-8llvm/lib/Analysis/InstCount.cpp
+38-6llvm/lib/Passes/PassBuilderPipelines.cpp
+41-0llvm/test/Analysis/InstCount/pipeline.ll
+41-0llvm/test/Analysis/FunctionPropertiesAnalysis/pipeline.ll
+226-846 files not shown
+285-9912 files

LLVM/project c9b632fllvm/test/MC/SystemZ insn-good-zos-pcrel.s

Fully translate test case to HLASM syntax dialect

This is a follow-up to 9d4436e3f4dfecd9503e90fb4cba907c86103e1e
which came in through the rebase.
DeltaFile
+28-28llvm/test/MC/SystemZ/insn-good-zos-pcrel.s
+28-281 files

LLVM/project afce975mlir/test/Dialect/Quant/Bytecode types.mlir

Fix duplicate quant bytecode test to actually test storage-type-only case (#190194)

Fixes a copy paste error
DeltaFile
+2-2mlir/test/Dialect/Quant/Bytecode/types.mlir
+2-21 files

LLVM/project eaf2f4eclang/lib/CodeGen BackendUtil.cpp, llvm/include/llvm/CodeGen AsmPrinterAnalysis.h

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+53-0llvm/include/llvm/CodeGen/AsmPrinterAnalysis.h
+51-1clang/lib/CodeGen/BackendUtil.cpp
+25-22llvm/include/llvm/Passes/CodeGenPassBuilder.h
+13-18llvm/lib/Target/X86/X86CodeGenPassBuilder.cpp
+10-15llvm/lib/Target/AMDGPU/R600TargetMachine.cpp
+10-11llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
+162-6710 files not shown
+196-11316 files

LLVM/project 2850600llvm/include/llvm/CodeGen AsmPrinterAnalysis.h, llvm/include/llvm/Passes CodeGenPassBuilder.h

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

Created using spr 1.3.7

[skip ci]
DeltaFile
+53-0llvm/include/llvm/CodeGen/AsmPrinterAnalysis.h
+25-22llvm/include/llvm/Passes/CodeGenPassBuilder.h
+13-18llvm/lib/Target/X86/X86CodeGenPassBuilder.cpp
+10-15llvm/lib/Target/AMDGPU/R600TargetMachine.cpp
+0-21llvm/lib/Target/X86/X86AsmPrinter.h
+10-11llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
+111-877 files not shown
+135-11213 files