LLVM/project f5a5596mlir/include/mlir-c/Dialect LLVM.h, mlir/include/mlir/Dialect/LLVMIR LLVMAttrDefs.td

reduce lit test
DeltaFile
+11-69mlir/test/Target/LLVMIR/llvmir-named-metadata.mlir
+3-3mlir/include/mlir-c/Dialect/LLVM.h
+2-3mlir/lib/CAPI/Dialect/LLVM.cpp
+0-2mlir/python/mlir/dialects/llvm.py
+1-1mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td
+0-1mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp
+17-796 files

LLVM/project 53a1e05orc-rt/include/orc-rt Session.h Service.h, orc-rt/lib/executor Session.cpp SimpleNativeMemoryMap.cpp

[orc-rt] Don't return Error in Service::OnComplete. (#186708)

The Session can't do anything useful with these errors, it can only
report them. It's cleaner if the Service objects just report the error
directly.
DeltaFile
+3-6orc-rt/lib/executor/Session.cpp
+2-2orc-rt/lib/executor/SimpleNativeMemoryMap.cpp
+1-1orc-rt/include/orc-rt/Session.h
+1-1orc-rt/include/orc-rt/Service.h
+7-104 files

LLVM/project 5a729d8mlir/include/mlir/Dialect/LLVMIR LLVMAttrDefs.td, mlir/lib/Bindings/Python DialectLLVM.cpp

format and document integer limitation
DeltaFile
+76-73mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp
+31-22mlir/test/python/dialects/llvm.py
+22-25mlir/lib/Bindings/Python/DialectLLVM.cpp
+9-12mlir/lib/CAPI/Dialect/LLVM.cpp
+16-1mlir/python/mlir/dialects/llvm.py
+5-4mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td
+159-1371 files not shown
+160-1387 files

LLVM/project 80f2ef7llvm/docs LangRef.rst, llvm/include/llvm/IR Constants.h

[IR] Add initial support for the byte type (#178666)

Following the [byte type RFC](https://discourse.llvm.org/t/rfc-add-a-new-byte-type-to-llvm-ir/89522)
and the discussions within the [LLVM IR Formal Specification WG](https://discourse.llvm.org/t/rfc-forming-a-working-group-on-formal-specification-for-llvm/89056), this PR introduces initial support for the byte type in LLVM. This PR:
- Adds the byte type to LLVM's type system
- Extends the `bitcast` instruction to accept the byte operands
- Adds parsing tests for all new functionality
- Fixes failing regressions tests (IR2Vec and IRNormalizer)

---------

Co-authored-by: George Mitenkov <georgemitenk0v at gmail.com>
DeltaFile
+290-17llvm/lib/IR/Constants.cpp
+177-16llvm/include/llvm/IR/Constants.h
+106-9llvm/docs/LangRef.rst
+101-0llvm/test/Assembler/byte.ll
+37-36llvm/test/tools/llvm-ir2vec/entities.ll
+72-1llvm/lib/IR/Type.cpp
+783-7940 files not shown
+1,488-16846 files

LLVM/project e172f81mlir/include/mlir/Dialect/LLVMIR LLVMAttrDefs.td, mlir/lib/Bindings/Python DialectLLVM.cpp

format and document integer limitation
DeltaFile
+76-73mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp
+22-25mlir/lib/Bindings/Python/DialectLLVM.cpp
+23-22mlir/test/python/dialects/llvm.py
+9-12mlir/lib/CAPI/Dialect/LLVM.cpp
+16-1mlir/python/mlir/dialects/llvm.py
+4-3mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td
+150-1366 files

LLVM/project 6858c79clang/lib/CIR/CodeGen CIRGenExprAggregate.cpp CIRGenValue.h, clang/test/CIR/CodeGen aggregate-copy-overlap.cpp no-unique-address.cpp

[CIR] Use data size in emitAggregateCopy for overlapping copies
DeltaFile
+76-0clang/test/CIR/CodeGen/aggregate-copy-overlap.cpp
+16-6clang/lib/CIR/CodeGen/CIRGenExprAggregate.cpp
+5-4clang/test/CIR/CodeGen/no-unique-address.cpp
+1-1clang/lib/CIR/CodeGen/CIRGenValue.h
+98-114 files

LLVM/project b748beamlir/include/mlir-c/Dialect LLVM.h, mlir/lib/Bindings/Python DialectLLVM.cpp

add python bindings test
DeltaFile
+130-0mlir/test/python/dialects/llvm.py
+48-0mlir/lib/Bindings/Python/DialectLLVM.cpp
+18-5mlir/include/mlir-c/Dialect/LLVM.h
+12-0mlir/lib/CAPI/Dialect/LLVM.cpp
+208-54 files

LLVM/project a27ad57clang/lib/CIR/CodeGen CIRGenExprAggregate.cpp CIRGenValue.h, clang/test/CIR/CodeGen aggregate-copy-overlap.cpp no-unique-address.cpp

[CIR] Use data size in emitAggregateCopy for overlapping copies
DeltaFile
+63-0clang/test/CIR/CodeGen/aggregate-copy-overlap.cpp
+16-6clang/lib/CIR/CodeGen/CIRGenExprAggregate.cpp
+5-4clang/test/CIR/CodeGen/no-unique-address.cpp
+1-1clang/lib/CIR/CodeGen/CIRGenValue.h
+85-114 files

LLVM/project 3604119llvm/include/llvm/IR CFG.h, llvm/lib/Frontend/OpenMP OMPIRBuilder.cpp

[IR] Don't allow successors() over block without terminators (#186646)

There's no point constructing a dominator tree or similar on
known-broken IR. Generally, functions should be able to assume that IR
is valid (i.e., passes the verifier). Users of this "feature" were:

- Verifier, fixed by verifying existence of terminators first.
- FuzzMutate, worked around by temporarily inserting terminators.
- OpenMP to run analyses while building the IR, worked around by
temporarily inserting terminators.
- Polly to work with an empty dominator tree, fixed by temporarily
adding an unreachable inst.
- MergeBlockIntoPredecessor, inadvertently, fixed by adding terminator
before updating MemorySSA.
- Some sloppily written unit tests.
DeltaFile
+46-0llvm/test/Transforms/LoopSimplifyCFG/mssa_term.ll
+33-0llvm/unittests/Analysis/MemorySSATest.cpp
+28-0llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+8-12llvm/include/llvm/IR/CFG.h
+14-2llvm/lib/FuzzMutate/RandomIRBuilder.cpp
+6-3llvm/lib/IR/Verifier.cpp
+135-176 files not shown
+150-1912 files

LLVM/project df6e557mlir/include/mlir-c/Dialect LLVM.h, mlir/include/mlir/Dialect/LLVMIR LLVMAttrDefs.td

[MLIR][LLVM] add metadata attrs and llvm.named_metadata
DeltaFile
+95-48mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp
+122-1mlir/lib/Bindings/Python/DialectLLVM.cpp
+107-0mlir/test/Target/LLVMIR/llvmir-named-metadata.mlir
+86-2mlir/lib/CAPI/Dialect/LLVM.cpp
+70-0mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td
+65-0mlir/include/mlir-c/Dialect/LLVM.h
+545-511 files not shown
+585-517 files

LLVM/project de81419llvm/utils/gn/secondary/lldb/test BUILD.gn

[gn] port f002fc0ee8734283
DeltaFile
+2-0llvm/utils/gn/secondary/lldb/test/BUILD.gn
+2-01 files

LLVM/project dc1f7c7llvm/utils/gn/secondary/clang/include/clang/Config BUILD.gn, llvm/utils/gn/secondary/clang/test BUILD.gn

[gn] port 629edaf67844c01db37 (CLANG_USE_XCSELECT)
DeltaFile
+2-0llvm/utils/gn/secondary/clang/include/clang/Config/BUILD.gn
+1-0llvm/utils/gn/secondary/clang/test/BUILD.gn
+3-02 files

LLVM/project 562f519.github/workflows/containers/libc Dockerfile

[libc][Github] Bump clang in libc container to v23 (#186697)

Back to HEAD now that apt.llvm.org is working again for ToT.
DeltaFile
+3-0.github/workflows/containers/libc/Dockerfile
+3-01 files

LLVM/project 906f2b6clang/include/clang/Basic AttrDocs.td

[Clang][Docs] Clarify [[unlikely]] example in compound statement (#186590)

The first code example in the "confusing standard behavior" section
had a comment claiming `[[unlikely]]` makes the branch unlikely,
contradicting a later example showing the same placement being ignored.

Rewords the comment to clarify this is the C++ Standard's
recommendation that Clang does not follow, since the attribute is not on
the substatement.

Continues the work from #126372.

Fixes #126362.
DeltaFile
+4-2clang/include/clang/Basic/AttrDocs.td
+4-21 files

LLVM/project 6f6d7dallvm/utils git-llvm-push git-llvm-push.md

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+37-24llvm/utils/git-llvm-push
+1-0llvm/utils/git-llvm-push.md
+38-242 files

LLVM/project 1a865abllvm/utils git-llvm-push

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

Created using spr 1.3.7

[skip ci]
DeltaFile
+20-19llvm/utils/git-llvm-push
+20-191 files

LLVM/project 7e5b2dcclang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/std type_traits utility, clang-tools-extra/test/clang-tidy/checkers/abseil/Inputs type_traits

rebase

Created using spr 1.3.7
DeltaFile
+451-0clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/std/type_traits
+0-427clang-tools-extra/test/clang-tidy/checkers/abseil/Inputs/type_traits
+1-85mlir/test/python/execution_engine.py
+36-36llvm/test/CodeGen/BPF/jump_table_switch_stmt.ll
+2-40clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/std/utility
+20-20llvm/test/CodeGen/BPF/remove_truncate_9.ll
+510-60841 files not shown
+633-81247 files

LLVM/project 89c3315clang/docs LibTooling.rst

[clang][doc] Improve error handling for `LibTooling` example code avoiding core dump (#98129)

Resolves #97983
DeltaFile
+2-2clang/docs/LibTooling.rst
+2-21 files

LLVM/project dcbbfb2llvm/utils git-llvm-push

[Utils] Format git-llvm-push

Use single quotes for string arguments inside f-strings or otherwise the
version of black that we use fails to parse. Also reformat the file
given that hasn't been working for a while (wholesale or incrementally)
to the above issue.
DeltaFile
+11-6llvm/utils/git-llvm-push
+11-61 files

LLVM/project fee5075clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/std type_traits utility, clang-tools-extra/test/clang-tidy/checkers/abseil/Inputs type_traits initializer_list

[clang-tidy][NFC] Use universal type_traits mock (#186652)
DeltaFile
+451-0clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/std/type_traits
+0-427clang-tools-extra/test/clang-tidy/checkers/abseil/Inputs/type_traits
+2-40clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/std/utility
+1-12clang-tools-extra/test/clang-tidy/checkers/readability/container-data-pointer.cpp
+0-11clang-tools-extra/test/clang-tidy/checkers/abseil/Inputs/initializer_list
+0-10clang-tools-extra/test/clang-tidy/checkers/abseil/Inputs/cstddef.h
+454-5003 files not shown
+462-5139 files

LLVM/project 8906bad.ci all_requirements.txt, mlir/python pyrefly.toml requirements.txt

[MLIR][Python] add pyrefly lit test
DeltaFile
+11-0.ci/all_requirements.txt
+4-0mlir/test/lit.cfg.py
+4-0mlir/python/pyrefly.toml
+2-0mlir/python/requirements.txt
+1-0mlir/test/python/type_check.py
+22-05 files

LLVM/project 08b4cb9llvm/utils git-llvm-push

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+20-19llvm/utils/git-llvm-push
+20-191 files

LLVM/project 37acbb5llvm/test/CodeGen/BPF jump_table_switch_stmt.ll remove_truncate_9.ll

[BPF] Use ".L" local prefix label for basic blocks (#95103)

Previously, PrivateLabelPrefix was default-initialized to "L", so basic
block labels were added to the symbol table. This seems like an
oversight, so use ".L" for all private labels.
DeltaFile
+36-36llvm/test/CodeGen/BPF/jump_table_switch_stmt.ll
+20-20llvm/test/CodeGen/BPF/remove_truncate_9.ll
+8-8llvm/test/CodeGen/BPF/cttz-ctlz.ll
+8-8llvm/test/CodeGen/BPF/jump_table_blockaddr.ll
+6-6llvm/test/CodeGen/BPF/jump_table_global_var.ll
+6-6llvm/test/CodeGen/BPF/gotol.ll
+84-842 files not shown
+91-918 files

LLVM/project bdbc13emlir/python pyrefly.toml requirements.txt, mlir/test lit.cfg.py

[MLIR][Python] add pyrefly lit test
DeltaFile
+4-0mlir/python/pyrefly.toml
+4-0mlir/test/lit.cfg.py
+2-0mlir/python/requirements.txt
+1-0mlir/test/python/type_check.py
+11-04 files

LLVM/project 9c4ac8eclang/lib/CIR/CodeGen CIRGenCall.cpp, clang/test/CIR/CodeGen arg-attrs.cpp invoke-attrs.cpp

[CIR] Fix reference alignment to use pointee type

getNaturalTypeAlignment on a reference type returned pointer alignment
instead of pointee alignment. Pass the pointee type with
forPointeeType=true to match traditional codegen's
getNaturalPointeeTypeAlignment behavior. Fix applies to both argument
and return type attribute construction paths.
DeltaFile
+27-4clang/test/CIR/CodeGen/arg-attrs.cpp
+13-5clang/lib/CIR/CodeGen/CIRGenCall.cpp
+3-3clang/test/CIR/CodeGen/invoke-attrs.cpp
+43-123 files

LLVM/project 6195e79clang/lib/CIR/CodeGen CIRGenExpr.cpp CIRGenRecordLayoutBuilder.cpp, clang/test/CIR/CodeGen no-unique-address.cpp

[CIR] Fix record layout for [[no_unique_address]] fields
DeltaFile
+53-0clang/test/CIR/CodeGen/no-unique-address.cpp
+34-11clang/lib/CIR/CodeGen/CIRGenExpr.cpp
+9-3clang/lib/CIR/CodeGen/CIRGenRecordLayoutBuilder.cpp
+96-143 files

LLVM/project bc5ac5f.github/workflows llvm-abi-tests.yml libcxx-build-and-test.yaml, .github/workflows/upload-release-artifact action.yml

Update GitHub Artifact Actions (major) (#184052)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[actions/download-artifact](https://redirect.github.com/actions/download-artifact)
| action | major | `v7.0.0` → `v8.0.1` |
|
[actions/upload-artifact](https://redirect.github.com/actions/upload-artifact)
| action | major | `v6.0.0` → `v7.0.0` |
|
[actions/upload-artifact](https://redirect.github.com/actions/upload-artifact)
| action | major | `6.0.0` → `7.0.0` |
DeltaFile
+6-6.github/workflows/llvm-abi-tests.yml
+4-4.github/workflows/libcxx-build-and-test.yaml
+4-4.github/workflows/premerge.yaml
+4-4.github/workflows/libclang-abi-tests.yml
+2-2.github/workflows/prune-branches.yml
+2-2.github/workflows/upload-release-artifact/action.yml
+22-2218 files not shown
+43-4324 files

LLVM/project 810edcabolt/docs profiles.md index.rst

[𝘀𝗽𝗿] initial version

Created using spr 1.3.4
DeltaFile
+202-0bolt/docs/profiles.md
+6-0bolt/docs/index.rst
+208-02 files

LLVM/project 41d5163llvm/lib/Target/X86 X86ISelLowering.cpp, llvm/test/CodeGen/X86 masked_packus.ll packus.ll

[X86] combineConcatVectorOps - concat(vtruncus(smax(x,0)),vtruncus(smax(y,0))) -> packus(shuffle(x,y),shuffle(x,y)) (#186681)

Followup to vtruncs/packss handling
DeltaFile
+2-22llvm/test/CodeGen/X86/masked_packus.ll
+16-8llvm/lib/Target/X86/X86ISelLowering.cpp
+2-20llvm/test/CodeGen/X86/packus.ll
+20-503 files

LLVM/project 9e22690mlir/python/mlir/runtime np_to_memref.py, mlir/test/python execution_engine.py

Revert "Support float8_e3m4 and float8_e4m3 in np_to_memref (#186453)" (#186677)

This reverts commit 57427f84fe5fdda71aef4be257ed28d7b4f55d05.

For some reason mlir-nvidia CI is failing to import `float8_e3m4` from
`ml_dtypes`. See
https://lab.llvm.org/buildbot/#/builders/138/builds/27095.
DeltaFile
+1-85mlir/test/python/execution_engine.py
+5-24mlir/python/mlir/runtime/np_to_memref.py
+6-1092 files