[all-commits] [llvm/llvm-project] af2a0e: [compiler-rt][cmake] filter libc-backed builtins s...
Sameer Sahasrabuddhe via All-commits
all-commits at lists.llvm.org
Tue Aug 4 20:58:25 PDT 2026
Branch: refs/heads/users/ssahasra/av-metadata-clang
Home: https://github.com/llvm/llvm-project
Commit: af2a0e9c8897060b4442e7d096459aad922f37d6
https://github.com/llvm/llvm-project/commit/af2a0e9c8897060b4442e7d096459aad922f37d6
Author: hulxv <hulxxv at gmail.com>
Date: 2026-08-05 (Wed, 05 Aug 2026)
Changed paths:
M compiler-rt/cmake/Modules/CompilerRTUtils.cmake
Log Message:
-----------
[compiler-rt][cmake] filter libc-backed builtins superseded by assembly (#213481)
apply
https://github.com/llvm/llvm-project/pull/209900#discussion_r3615454574
fix the duplication that causes issues like this:
```
lit-23: /__w/llvm-project/llvm-project/compiler-rt/test/builtins/Unit/lit.cfg.py:186: fatal: builtins_source_features contains duplicates: ['librt_has_floatdidf', 'librt_has_floatdisf', 'librt_has_floatundidf', 'librt_has_floatundisf']
FAILED: compiler-rt/test/builtins/CMakeFiles/check-builtins /__w/llvm-project/llvm-project/build/compiler-rt/test/builtins/CMakeFiles/check-builtins
cd /__w/llvm-project/llvm-project/build/compiler-rt/test/builtins && /usr/bin/python3 /usr/bin/lit-23 -sv --show-xfail --show-unsupported /__w/llvm-project/llvm-project/build/compiler-rt/test/builtins/TestCases /__w/llvm-project/llvm-project/build/compiler-rt/test/builtins/Unit/X86_64LinuxConfig
ninja: build stopped: subcommand failed.
```
Part of #197824
Commit: 723eaa4f83396c81212784fb0006e3ca4be19441
https://github.com/llvm/llvm-project/commit/723eaa4f83396c81212784fb0006e3ca4be19441
Author: Prabhu Rajasekaran <prabhukr at google.com>
Date: 2026-08-04 (Tue, 04 Aug 2026)
Changed paths:
M libc/cmake/caches/baremetal_common.cmake
Log Message:
-----------
[libc][cmake] Enable assertions and Werror for baremetal builds (#214093)
Enable LLVM_ENABLE_ASSERTIONS and LLVM_ENABLE_WERROR in
baremetal_common.cmake
to ensure pre-merge checks catch assertion failures and compiler
warnings for
baremetal targets.
Assisted-by: Gemini
Commit: 3d6ac5a9ba252cbaf8d12cecef89d015f1ffe0f7
https://github.com/llvm/llvm-project/commit/3d6ac5a9ba252cbaf8d12cecef89d015f1ffe0f7
Author: Longsheng Mou <longshengmou at gmail.com>
Date: 2026-08-05 (Wed, 05 Aug 2026)
Changed paths:
M mlir/lib/Dialect/Func/Transforms/DuplicateFunctionElimination.cpp
M mlir/test/Dialect/Func/duplicate-function-elimination.mlir
Log Message:
-----------
[mlir][func] Fix a crash in DuplicateFunctionEliminationPass (#209667)
Previously, we used `SymbolUserMap::replaceAllUsesWith` to replace
symbols, but this could not update the symbol table cached by
`SymbolUserMap` during traversal, leading to a crash. This PR switches
to `SymbolTable::replaceAllSymbolUses`, which always operates on the
latest symbol table and avoids the crash. Fixes #209648.
Commit: dbacea2912ae76f162ed622212a2804f2b32bd00
https://github.com/llvm/llvm-project/commit/dbacea2912ae76f162ed622212a2804f2b32bd00
Author: Arseniy Obolenskiy <arseniy.obolenskiy at amd.com>
Date: 2026-08-05 (Wed, 05 Aug 2026)
Changed paths:
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.illegal-data-type.err.ll
Log Message:
-----------
[AMDGPU] Reject non-fp16 image sample data in D16 detection while lowering image (#213272)
Commit: c15a90d299f4cab284f9d5e78922a86395de40a1
https://github.com/llvm/llvm-project/commit/c15a90d299f4cab284f9d5e78922a86395de40a1
Author: Zeyi Xu <mitchell.xu2 at gmail.com>
Date: 2026-08-05 (Wed, 05 Aug 2026)
Changed paths:
M clang/test/Driver/print-supported-extensions-riscv.c
M clang/test/Preprocessor/riscv-target-features.c
M llvm/docs/RISCVUsage.rst
M llvm/docs/ReleaseNotes.md
M llvm/lib/Target/RISCV/RISCVFeatures.td
M llvm/lib/Target/RISCV/RISCVSystemOperands.td
M llvm/test/CodeGen/RISCV/attributes.ll
M llvm/test/CodeGen/RISCV/features-info.ll
M llvm/test/MC/RISCV/attribute-arch.s
M llvm/test/MC/RISCV/machine-csr-names.s
M llvm/test/MC/RISCV/supervisor-csr-names.s
M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
Log Message:
-----------
[RISCV][MC] Add experimental Smijt, Ssijt, Smehv, and Ssehv support (#213431)
Add support for version 0.19 of the Smijt, Ssijt, Smehv, and Ssehv
extensions from the RISC-V fast interrupt specification.
Commit: 1a176af243e78fad48ce0d6ecd1311c1e9f943d8
https://github.com/llvm/llvm-project/commit/1a176af243e78fad48ce0d6ecd1311c1e9f943d8
Author: Vicky Nguyen <vicky.trucviennguyen at gmail.com>
Date: 2026-08-04 (Tue, 04 Aug 2026)
Changed paths:
M clang/lib/CIR/CodeGen/CIRGenBuiltinAArch64.cpp
M clang/test/CodeGen/AArch64/neon-intrinsics.c
M clang/test/CodeGen/AArch64/neon-ldst-one.c
M clang/test/CodeGen/AArch64/neon/store.c
M clang/test/CodeGen/AArch64/poly64.c
Log Message:
-----------
[CIR][AArch64] Upstream store (vst[234]_*/vst[234]q_*) NEON builtins (#212040)
Related to https://github.com/llvm/llvm-project/issues/185382
CIR lowering for store intrinsics (`vst[234]_*`/`vst[234]q_*`)
(https://arm-software.github.io/acle/neon_intrinsics/advsimd.html#store)
Port tests:
- `clang/test/CodeGen/AArch64/neon-intrinsics.c`
- `clang/test/CodeGen/AArch64/neon-ldst-one.c`
- `clang/test/CodeGen/AArch64/poly64.c`
to `clang/test/CodeGen/AArch64/neon/store.c`
Commit: d87c685d5d88fe00b0594fc238b9afb16ba6eb64
https://github.com/llvm/llvm-project/commit/d87c685d5d88fe00b0594fc238b9afb16ba6eb64
Author: Joseph Huber <huberjn at outlook.com>
Date: 2026-08-04 (Tue, 04 Aug 2026)
Changed paths:
M libclc/test/CMakeLists.txt
A libclc/test/conformance/lit.local.cfg
A libclc/test/conformance/work_group_reduce.cl
M libclc/test/lit.cfg.py
M libclc/test/lit.site.cfg.py.in
Log Message:
-----------
[libclc] Add initial support for libclc execution conformance tests (#214072)
Summary:
This uses the `llvm-gpu-loader` tool to invoke OpenCL test kernels. This
routes OpenCL through the standard compute runtimes, which aren't
exactly 1-to-1 with OpenCL, but it's close enough. Obviously, the best
solution would be to have a real OpenCL host library that can launch
these, but this is the best we can get in-tree and is very sipmle, write
kernel, test kernel.
The goal is to have a lot more tests run here, but this just gets the
basic infrastructure in place. We won't be able to do full conformance
like external suites, like exhaustive math, but I think its' a step in
the right direction. It looks like this on my side:
```console
$ ninja check-libclc-amdgpu-amd-amdhsa-llvm
```
This requires building with the LLVM `offload/` runtime enabled for the
source compiler.
Commit: da9ca9c5aeb29e5c1f1bfc27c746d03da1e1974d
https://github.com/llvm/llvm-project/commit/da9ca9c5aeb29e5c1f1bfc27c746d03da1e1974d
Author: Thirumalai Shaktivel <74826228+Thirumalai-Shaktivel at users.noreply.github.com>
Date: 2026-08-05 (Wed, 05 Aug 2026)
Changed paths:
M clang/include/clang/Basic/MakeSupport.h
M clang/include/clang/Frontend/DependencyOutputOptions.h
M clang/include/clang/Options/Options.td
M clang/lib/Basic/MakeSupport.cpp
M clang/lib/Driver/ToolChains/Flang.cpp
M clang/lib/Frontend/DependencyFile.cpp
M flang/docs/FlangDriver.md
M flang/include/flang/Frontend/FrontendAction.h
M flang/include/flang/Frontend/FrontendOptions.h
M flang/include/flang/Parser/provenance.h
M flang/lib/Frontend/CompilerInvocation.cpp
M flang/lib/Frontend/FrontendAction.cpp
M flang/lib/Parser/provenance.cpp
A flang/test/Driver/dependency-file-gen-mod.f90
A flang/test/Driver/dependency-file-gen.f90
A flang/test/Driver/dependency-file.f90
Log Message:
-----------
[flang][driver] Support Makefile dependency generation (#209379)
Implement the GCC/Clang dependency-file flags for flang, which it
previously rejected as unknown arguments: -M, -MM, -MD, -MMD, -MF,
-MT and -MQ.
Feature:
- -MD/-MMD : write a .d file alongside a normal compile
- -M/-MM : run through semantics; emit deps to stdout by default
- -MF : dependency-file path
- -MT/-MQ : target name (verbatim / Make-quoted)
(-M==-MM and -MD==-MMD; Fortran has no system/user header split.)
Design:
- `-M`/`-MM`: driver passes `-fsyntax-only -dependency-file - -MT
<target>` to `-fc1`. Running through semantics resolves USE
statements so module file dependencies are captured in the output.
This deviates from clang's prescan-only behaviour for -M, but is
intentional: unlike C/C++ #include, Fortran's USE statement is
resolved at the semantic stage, not during preprocessing.
- `-MD`/`-MMD`: driver passes `-dependency-file foo.d -MT <target>`
alongside the normal compile action. The object file is produced as
usual, and the dependency file is written as a side effect.
- `-MF <path>` overrides where the dependency file is written.
`-MT <target>` sets the target name (the part before the colon in
the Make rule) verbatim. `-MQ` does the same but additionally
quotes characters that are special to Make.
- In `-fc1`, `-dependency-file` and `-MT` are stored in the frontend
options. After the action, `writeDependencyFile()` is called
unconditionally. It collects every file opened during the action —
the source plus all INCLUDE/#include/USE module files — via
`GetIncludedFilePaths()`, then writes the
`target: source includes...` Make rule to the specified file, or
stdout if the path is `-`.
Commit: 3fcd11ece7aa5aff2e2001240ca89fd4d02de978
https://github.com/llvm/llvm-project/commit/3fcd11ece7aa5aff2e2001240ca89fd4d02de978
Author: Sameer Sahasrabuddhe <sameer.sahasrabuddhe at amd.com>
Date: 2026-08-05 (Wed, 05 Aug 2026)
Changed paths:
M clang/include/clang/Basic/MakeSupport.h
M clang/include/clang/Frontend/DependencyOutputOptions.h
M clang/include/clang/Options/Options.td
M clang/lib/Basic/MakeSupport.cpp
M clang/lib/CIR/CodeGen/CIRGenBuiltinAArch64.cpp
M clang/lib/Driver/ToolChains/Flang.cpp
M clang/lib/Frontend/DependencyFile.cpp
M clang/test/CodeGen/AArch64/neon-intrinsics.c
M clang/test/CodeGen/AArch64/neon-ldst-one.c
M clang/test/CodeGen/AArch64/neon/store.c
M clang/test/CodeGen/AArch64/poly64.c
M clang/test/Driver/print-supported-extensions-riscv.c
M clang/test/Preprocessor/riscv-target-features.c
M compiler-rt/cmake/Modules/CompilerRTUtils.cmake
M flang/docs/FlangDriver.md
M flang/include/flang/Frontend/FrontendAction.h
M flang/include/flang/Frontend/FrontendOptions.h
M flang/include/flang/Parser/provenance.h
M flang/lib/Frontend/CompilerInvocation.cpp
M flang/lib/Frontend/FrontendAction.cpp
M flang/lib/Parser/provenance.cpp
A flang/test/Driver/dependency-file-gen-mod.f90
A flang/test/Driver/dependency-file-gen.f90
A flang/test/Driver/dependency-file.f90
M libc/cmake/caches/baremetal_common.cmake
M libclc/test/CMakeLists.txt
A libclc/test/conformance/lit.local.cfg
A libclc/test/conformance/work_group_reduce.cl
M libclc/test/lit.cfg.py
M libclc/test/lit.site.cfg.py.in
M llvm/docs/RISCVUsage.rst
M llvm/docs/ReleaseNotes.md
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVFeatures.td
M llvm/lib/Target/RISCV/RISCVSystemOperands.td
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.illegal-data-type.err.ll
M llvm/test/CodeGen/RISCV/attributes.ll
M llvm/test/CodeGen/RISCV/features-info.ll
M llvm/test/MC/RISCV/attribute-arch.s
M llvm/test/MC/RISCV/machine-csr-names.s
M llvm/test/MC/RISCV/supervisor-csr-names.s
M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
M mlir/lib/Dialect/Func/Transforms/DuplicateFunctionElimination.cpp
M mlir/test/Dialect/Func/duplicate-function-elimination.mlir
Log Message:
-----------
Merge branch 'main' into users/ssahasra/av-metadata-clang
Compare: https://github.com/llvm/llvm-project/compare/e0d615a38216...3fcd11ece7aa
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list