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

LLVM/project e266936utils/bazel/llvm-project-overlay/mlir BUILD.bazel

[Bazel] Fixes bd3088e (#191571)

This fixes bd3088ec7c680d419b108713945d94b1365c1201.

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

LLVM/project 380b70cclang-tools-extra/clang-doc Serialize.cpp Representation.cpp, clang-tools-extra/clang-doc/benchmarks ClangDocBenchmark.cpp

[clang-doc] Use distinct APIs for fixed arena allocation sites

Typically, code either always emits data into the TransientArena or the
PersistentArena. Use more explicit APIs to convey the intent directly
instead of relying on parameters or defaults.
DeltaFile
+18-17clang-tools-extra/clang-doc/Serialize.cpp
+7-8clang-tools-extra/clang-doc/Representation.cpp
+7-7clang-tools-extra/clang-doc/BitcodeReader.cpp
+8-3clang-tools-extra/clang-doc/Representation.h
+3-3clang-tools-extra/clang-doc/benchmarks/ClangDocBenchmark.cpp
+43-385 files

LLVM/project eac7e79clang-tools-extra/clang-doc Representation.h

[clang-doc][nfc] Reformat and revise comment block
DeltaFile
+9-12clang-tools-extra/clang-doc/Representation.h
+9-121 files

LLVM/project 3b2c11eclang-tools-extra/clang-doc Serialize.cpp Serialize.h

[clang-doc] Removed OwnedPtr alias

The alias served a purpose during migration, but now conveys the wrong
semantics, as the memory of these pointers is generally interned inside
a local arena.
DeltaFile
+40-38clang-tools-extra/clang-doc/Serialize.cpp
+29-42clang-tools-extra/clang-doc/Serialize.h
+17-18clang-tools-extra/clang-doc/Representation.cpp
+3-14clang-tools-extra/clang-doc/Representation.h
+8-8clang-tools-extra/clang-doc/JSONGenerator.cpp
+8-6clang-tools-extra/clang-doc/HTMLGenerator.cpp
+105-12610 files not shown
+145-16616 files

LLVM/project 766ae30clang-tools-extra/clang-doc Representation.h Representation.cpp, clang-tools-extra/clang-doc/benchmarks ClangDocBenchmark.cpp

[clang-doc] Update type aliases

Many of the type aliases we introduced to simplify migration to arena
allocation  are no longer relevant after completing the migration. We
can use more relevant names and remove dead aliases.
DeltaFile
+13-25clang-tools-extra/clang-doc/Representation.h
+9-9clang-tools-extra/unittests/clang-doc/BitcodeTest.cpp
+4-4clang-tools-extra/unittests/clang-doc/MergeTest.cpp
+4-4clang-tools-extra/clang-doc/Representation.cpp
+4-4clang-tools-extra/clang-doc/benchmarks/ClangDocBenchmark.cpp
+4-4clang-tools-extra/unittests/clang-doc/ClangDocTest.cpp
+38-505 files not shown
+47-5911 files