LLVM/project 47cef55llvm/lib/CodeGen/AsmPrinter DwarfDebug.cpp

[AsmPrinter] Replace improper use of Register with MCRegUnit (NFC) (#167682)

DeltaFile
+7-7llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+7-71 files

LLVM/project ca02ab4llvm/lib/Target/AArch64 AArch64InstrFormats.td, llvm/lib/Target/AArch64/AsmParser AArch64AsmParser.cpp

fixup! [AArch64][llvm] Add instructions for FEAT_MOPS_GO

Adjust assembly so that `Rm` is ignored, since it is always 0b11111.
DeltaFile
+28-13llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+16-12llvm/lib/Target/AArch64/AArch64InstrFormats.td
+26-0llvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp
+70-253 files

LLVM/project 114e418llvm/lib/Target/AArch64 AArch64InstrFormats.td, llvm/test/MC/AArch64 arm-mops-go.s arm-mops-go-diagnostics.s

fixup! [AArch64][llvm] Add instructions for FEAT_MOPS_GO

Adjust assembly so that `Rm` is ignored, since it is always 0b11111.
DeltaFile
+48-48llvm/test/MC/AArch64/arm-mops-go.s
+13-33llvm/test/MC/AArch64/arm-mops-go-diagnostics.s
+11-4llvm/lib/Target/AArch64/AArch64InstrFormats.td
+72-853 files

LLVM/project 4c542bbllvm/docs ReleaseNotes.md, llvm/test/MC/AArch64 arm-mops-go.s

fixup! [AArch64][llvm] Add instructions for FEAT_MOPS_GO

Fix tests
DeltaFile
+2-2llvm/test/MC/AArch64/arm-mops-go.s
+3-0llvm/docs/ReleaseNotes.md
+5-22 files

LLVM/project e7544d4llvm/lib/Target/AArch64 AArch64InstrFormats.td AArch64InstrInfo.td, llvm/lib/Target/AArch64/AsmParser AArch64AsmParser.cpp

[AArch64][llvm] Add instructions for FEAT_MOPS_GO

Add the following `FEAT_MOPS_GO` instructions:
  * `SETGOP`, `SETGOM`, `SETGOE`
  * `SETGOPN`, `SETGOMN`, `SETGOEN`
  * `SETGOPT`, `SETGOMT`, `SETGOET`
  * `SETGOPTN`, `SETGOMTN`, `SETGOETN`

as documented here:

  https://developer.arm.com/documentation/109697/2025_09/Future-Architecture-Technologies
DeltaFile
+89-0llvm/test/MC/AArch64/arm-mops-go.s
+56-0llvm/test/MC/AArch64/arm-mops-go-diagnostics.s
+25-14llvm/lib/Target/AArch64/AArch64InstrFormats.td
+14-1llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+11-0llvm/lib/Target/AArch64/AArch64InstrInfo.td
+7-0llvm/lib/Target/AArch64/AArch64Features.td
+202-153 files not shown
+213-169 files

LLVM/project 377abddllvm/lib/Target/ARM ARMFrameLowering.cpp, llvm/test/CodeGen/ARM save-fp-with-non-leaf.ll

[ARM] Fix not saving FP when required to in frame-pointer=non-leaf.

When the stars align to conspire against stack alignment, when we have
frame-pointer=non-leaf we can incorrectly skip preserving fp/r7 in the prolog.
The fix here first makes sure we're using the right frame pointer register in
the context of preserving the incoming FP, and then make sure that we save
the FP when re-alignment is known to be necessary.

rdar://162462271
DeltaFile
+37-0llvm/test/CodeGen/ARM/save-fp-with-non-leaf.ll
+6-2llvm/lib/Target/ARM/ARMFrameLowering.cpp
+43-22 files

LLVM/project a799a8eclang/lib/CIR/Dialect/IR CIRTypes.cpp

[CIR] Cast record size to uint64 to prevent overflow (#167525)

`llvm::TypeSize` uses 64bit integers, so we should cast the `recordSize`
before multiplying by 8 to prevent an overflow.
DeltaFile
+1-1clang/lib/CIR/Dialect/IR/CIRTypes.cpp
+1-11 files

LLVM/project 894713dllvm/lib/CodeGen/SelectionDAG LegalizeVectorTypes.cpp

DAG: Use poison for some load/store offsets in legalizer
DeltaFile
+10-8llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
+10-81 files

LLVM/project 2d631ccclang/cmake/caches Release.cmake

[CMake][Release] Stop linking against stage1 runtimes (#164017)

This was causing a build failure on Darwin and a test failure on Linux.
This config is not widely used or well tested, so I don't think the
potential and likely small performance gains and the portability from
this are worth the maintenance costs.

(cherry picked from commit 1906c3e1e30759d2eb85b2833e8c5ff64128bfba)
DeltaFile
+30-9clang/cmake/caches/Release.cmake
+30-91 files

LLVM/project 2a9f464llvm/lib/CodeGen/SelectionDAG LegalizeVectorTypes.cpp

DAG: Use poison for some load/store offsets in legalizer
DeltaFile
+8-6llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
+8-61 files

LLVM/project d18eeaellvm/lib/CodeGen/SelectionDAG LegalizeVectorTypes.cpp

DAG: Use poison in SplitVecRes_VP_LOAD_FF
DeltaFile
+1-1llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
+1-11 files

LLVM/project 2466334llvm/include/llvm/CodeGen ISDOpcodes.h

Update documentation phrasing
DeltaFile
+2-2llvm/include/llvm/CodeGen/ISDOpcodes.h
+2-21 files

LLVM/project c83e1c2llvm/lib/CodeGen/SelectionDAG LegalizeVectorTypes.cpp

DAG: Use poison when legalizing scalar_to_vector results
DeltaFile
+1-1llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
+1-11 files

LLVM/project f295da1llvm/test/CodeGen/NVPTX atomics-b128.ll atomics-sm90.ll, llvm/test/CodeGen/PowerPC licm-xxsplti.ll sms-phi-2.ll

CodeGen: Remove target hook for terminal rule

Enables the terminal rule for remaining targets
DeltaFile
+75-75llvm/test/CodeGen/NVPTX/atomics-b128.ll
+28-28llvm/test/CodeGen/PowerPC/licm-xxsplti.ll
+21-22llvm/test/CodeGen/PowerPC/sms-phi-2.ll
+20-20llvm/test/CodeGen/NVPTX/atomics-sm90.ll
+20-20llvm/test/CodeGen/NVPTX/atomics-sm70.ll
+6-8llvm/test/CodeGen/WebAssembly/simd-shift-in-loop.ll
+170-17316 files not shown
+208-22722 files

LLVM/project e5e9c3blibunwind/src UnwindLevel1.c

[libunwind] Fix build error because of wrong register size (#167743)

DeltaFile
+1-1libunwind/src/UnwindLevel1.c
+1-11 files

LLVM/project 782759bllvm/test/CodeGen/X86 vector-interleaved-load-i8-stride-7.ll vector-interleaved-load-i8-stride-8.ll

DAG: Use poison when widening build_vector (#167631)

Test changes are mostly noise. There are a few improvements and a few
regressions.
DeltaFile
+534-549llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-7.ll
+499-506llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-8.ll
+424-424llvm/test/CodeGen/X86/vector-interleaved-load-i16-stride-7.ll
+341-341llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-6.ll
+303-303llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-5.ll
+250-234llvm/test/CodeGen/X86/vector-interleaved-load-i16-stride-5.ll
+2,351-2,35733 files not shown
+4,411-4,49039 files

LLVM/project 0c0c1a7llvm/lib/Target/X86 X86DynAllocaExpander.cpp X86.h

[X86][NewPM] Port DynAllocaExpander to New PM

No tests modified as there are none that explicitly stop at
DynAllocaExpander, and we do not have enough of a pipeline to run those
yet anyways.

Reviewers: phoebewang, RKSimon, paperchalice, arsenm

Reviewed By: arsenm

Pull Request: https://github.com/llvm/llvm-project/pull/167740
DeltaFile
+33-9llvm/lib/Target/X86/X86DynAllocaExpander.cpp
+9-2llvm/lib/Target/X86/X86.h
+2-2llvm/lib/Target/X86/X86TargetMachine.cpp
+1-1llvm/lib/Target/X86/X86PassRegistry.def
+45-144 files

LLVM/project cc54ee8clang/lib/Sema SemaHLSL.cpp

[clang][HLSL] Fix crash issue due to Twine usage

- Dangling pointer (from std::string) is created and trigger crash on
  some Linux distributions under different build types.
DeltaFile
+1-2clang/lib/Sema/SemaHLSL.cpp
+1-21 files

LLVM/project 0385a18llvm/lib/CodeGen/SelectionDAG SelectionDAG.cpp, llvm/test/CodeGen/AArch64 frem-power2.ll

DAG: exp opcodes cannotBeOrderedNegativeFP (#167604)

DeltaFile
+3-15llvm/test/CodeGen/AArch64/frem-power2.ll
+11-1llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+14-162 files

LLVM/project 3653a95llvm/lib/CodeGen/SelectionDAG LegalizeVectorTypes.cpp

DAG: Use poison when legalizing scalar_to_vector results
DeltaFile
+1-1llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
+1-11 files

LLVM/project 45e4b3dllvm/lib/CodeGen/SelectionDAG LegalizeVectorTypes.cpp

Change comments
DeltaFile
+2-2llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
+2-21 files

LLVM/project 43ca08dlibcxx/include __config, libcxx/include/__type_traits aligned_storage.h

[libc++] Simplify the implementation of aligned_storage (#162459)

DeltaFile
+13-40libcxx/include/__type_traits/aligned_storage.h
+2-2libcxx/include/__config
+15-422 files

LLVM/project e7bccc7flang/include/flang/Evaluate check-expression.h, flang/lib/Evaluate check-expression.cpp

[flang] Fixed regression in copy-in/copy-out (#161259)

Fixed the polymprphic check for copy-in/copy-out, added regression
tests.

Changed MayNeedCopy() to return std::optional<bool> and renamed it to
ActualArgNeedsCopy(). This function now returns true/false when it's
known that actual arguments needs copy in/out, or std::nullopt to
signify that it's now known, whether copy in/out is needed.

Fixes #159149
DeltaFile
+37-52flang/lib/Evaluate/check-expression.cpp
+58-0flang/test/Lower/force-temp.f90
+8-4flang/lib/Lower/ConvertCall.cpp
+5-3flang/lib/Semantics/check-call.cpp
+2-2flang/include/flang/Evaluate/check-expression.h
+110-615 files

LLVM/project 242a6cblibc/cmake/modules LLVMLibCArchitectures.cmake

[libc] Handle the `unknown` default target in CMake (#115122)

When the backend for the host target isn't enabled, Clang would report
the default target as `unknown`. This currently breaks the libc CMake
build, but shouldn't in the case where we're cross-compiling since we're
given an explicit target and the default one isn't being used.
DeltaFile
+31-34libc/cmake/modules/LLVMLibCArchitectures.cmake
+31-341 files

LLVM/project 28dbbbautils/bazel/llvm-project-overlay/lldb BUILD.bazel

[bazel] Fix LLDB :Host Build (#167711)

On some systems (probably those with a more recent clang), building
:Host errors out with a layering check violation due to the histedit.h
system include. Opt it out of layering checks for now, similar to other
targets that depend on non standard library system includes.
DeltaFile
+1-0utils/bazel/llvm-project-overlay/lldb/BUILD.bazel
+1-01 files

LLVM/project 0a34d37mlir/lib/Dialect/MemRef/Transforms ExpandStridedMetadata.cpp, mlir/test/Dialect/MemRef expand-strided-metadata.mlir

[mlir][memref] Remove invalid `extract_aligned_pointer_as_index` folding in `ExpandStridedMetadata` (#167615)

`RewriteExtractAlignedPointerAsIndexOfViewLikeOp` tries to propagate
`extract_aligned_pointer_as_index` through the view ops.

`ViewLikeOpInterface` by itself doesn't guarantee to preserve the base
pointer and `memref.view` is one such example, so limit pattern to a few
specific ops.
DeltaFile
+17-0mlir/test/Dialect/MemRef/expand-strided-metadata.mlir
+5-1mlir/lib/Dialect/MemRef/Transforms/ExpandStridedMetadata.cpp
+22-12 files

LLVM/project 934b74fllvm/lib/Target/X86 X86.h

clang-format

Created using spr 1.3.7
DeltaFile
+2-1llvm/lib/Target/X86/X86.h
+2-11 files

LLVM/project 029a023llvm/lib/CodeGen TargetLoweringBase.cpp

TargetLowering: Avoid hardcoding OpenBSD + __guard_local name

Query RuntimeLibcalls for the support and the name. The check
that the implementation is exactly __guard_local instead of
unsupported feels a bit strange.
DeltaFile
+12-10llvm/lib/CodeGen/TargetLoweringBase.cpp
+12-101 files

LLVM/project bcc9a7dllvm/test/CodeGen/X86 vector-interleaved-load-i8-stride-7.ll vector-interleaved-load-i8-stride-8.ll

DAG: Use poison when widening build_vector
DeltaFile
+534-549llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-7.ll
+499-506llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-8.ll
+424-424llvm/test/CodeGen/X86/vector-interleaved-load-i16-stride-7.ll
+341-341llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-6.ll
+303-303llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-5.ll
+237-237llvm/test/CodeGen/X86/vector-interleaved-load-i32-stride-7.ll
+2,338-2,36027 files not shown
+3,853-3,96333 files

LLVM/project 1111ad4llvm/test/CodeGen/X86 vector-interleaved-load-i16-stride-5.ll vector-interleaved-load-i32-stride-6.ll

regression
DeltaFile
+250-234llvm/test/CodeGen/X86/vector-interleaved-load-i16-stride-5.ll
+214-206llvm/test/CodeGen/X86/vector-interleaved-load-i32-stride-6.ll
+64-62llvm/test/CodeGen/X86/vector-interleaved-load-i16-stride-3.ll
+13-12llvm/test/CodeGen/X86/vector-fshl-sub128.ll
+11-8llvm/test/CodeGen/X86/urem-seteq-illegal-types.ll
+4-3llvm/test/CodeGen/X86/vector-shift-shl-sub128.ll
+556-5256 files