LLVM/project 53e0c2butils/bazel/llvm-project-overlay/mlir BUILD.bazel

[bazel] Rename PYBIND11 variables (#191095)

These are still used with nanobind so this name was misleading
DeltaFile
+23-24utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+23-241 files

LLVM/project f736537clang/test/SemaHIP incorrect-atomic-scope.hip, clang/test/SemaOpenCL incorrect-atomic-scope.cl

[Clang][NFC] tests showcasing incorrect use of HIP and OpenCL memory scope macros (#188890)

The tests demonstrate how incorrect LLVM IR is generated without
diagnostics, when an OpenCL or HIP scope number is passed to an AMDGPU
intrinsic. #185408 lays the groundwork for properly diagnosing this
situation by internally using a separate enum type to represent each set
of scope numbers.
DeltaFile
+35-0clang/test/SemaOpenCL/incorrect-atomic-scope.cl
+31-0clang/test/SemaHIP/incorrect-atomic-scope.hip
+66-02 files

LLVM/project c981328llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/RISCV basic-strided-stores.ll

[SLP] Create SLP trees starting from constant stride stores (#185964)

Must use `-slp-enable-strided-stores` to enable.
DeltaFile
+193-60llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+27-223llvm/test/Transforms/SLPVectorizer/RISCV/basic-strided-stores.ll
+220-2832 files

LLVM/project fdfa627.github/workflows release-llvm-testing-tools.yml

update

Created using spr 1.3.7
DeltaFile
+1-0.github/workflows/release-llvm-testing-tools.yml
+1-01 files

LLVM/project 3b3ac5autils/bazel/llvm-project-overlay/mlir BUILD.bazel

[bazel] Remove unnecessary textual_hdrs usage (#191072)

textual_hdrs is supposed to be used for header files that aren't
standalone, which isn't the case for these mlir headers. Being in
textual_hdrs excludes them from header parsing, which means
layering_check results aren't entirely valid. I'm going to try and
enable header parsing on these targets in a follow up change.
DeltaFile
+10-13utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+10-131 files

LLVM/project d9e52cc.github/workflows libcxx-build-and-test.yaml, libcxx/docs TestingLibcxx.rst

[libc++] Optionally support filecheck and split-file (#165769)

This patch adds optional support for FileCheck and split-file in
libc++'s test suite. Whether FileCheck / split-file is available
can be queried using Lit features.

This should make it possible to test several things that were
previously impossible to test, especially for specific code
generation.

Supersedes #65917 and #188283
DeltaFile
+39-0libcxx/test/selftest/splitfile.sh.cpp
+17-5.github/workflows/libcxx-build-and-test.yaml
+15-0libcxx/test/selftest/filecheck.sh.cpp
+15-0libcxx/test/selftest/filecheck.negative.sh.cpp
+9-0libcxx/utils/libcxx/test/features/misc.py
+7-0libcxx/docs/TestingLibcxx.rst
+102-51 files not shown
+107-57 files

LLVM/project 1be9eedllvm/lib/Transforms/ObjCARC ObjCARCOpts.cpp, llvm/test/Transforms/ObjCARC test_autorelease_pool.ll

[ObjCARC] Optimize MayAutorelease by skipping over pools (#188583)

This enables the ARC optimizer to remove autoreleasePoolPush/Pop pairs
that were previously retained. By skipping over nested autorelease
pools, MayAutorelease now correctly recognizes that autoreleases
contained within an inner pool do not escape, allowing the removal of
outer pool boundaries.
DeltaFile
+25-7llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
+29-0llvm/test/Transforms/ObjCARC/test_autorelease_pool.ll
+54-72 files

LLVM/project 1481403llvm/lib/Transforms/Instrumentation HWAddressSanitizer.cpp, llvm/test/Instrumentation/HWAddressSanitizer alloca.ll

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

Created using spr 1.3.7

[skip ci]
DeltaFile
+75-0llvm/test/Instrumentation/HWAddressSanitizer/alloca.ll
+6-1llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
+81-12 files

LLVM/project 2e01943compiler-rt/lib/hwasan hwasan_allocator.cpp hwasan_flags.inc, compiler-rt/test/hwasan/TestCases non_negative_pointers_smoke.c

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+75-0llvm/test/Instrumentation/HWAddressSanitizer/alloca.ll
+21-0compiler-rt/test/hwasan/TestCases/non_negative_pointers_smoke.c
+6-2compiler-rt/lib/hwasan/hwasan_allocator.cpp
+6-1llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
+3-0compiler-rt/lib/hwasan/hwasan_flags.inc
+111-35 files

LLVM/project 7243703llvm/lib/Transforms/Instrumentation HWAddressSanitizer.cpp, llvm/test/Instrumentation/HWAddressSanitizer alloca.ll

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+75-0llvm/test/Instrumentation/HWAddressSanitizer/alloca.ll
+6-1llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
+81-12 files

LLVM/project 3d64867llvm/lib/Transforms/Instrumentation HWAddressSanitizer.cpp, llvm/test/Instrumentation/HWAddressSanitizer alloca.ll

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+75-0llvm/test/Instrumentation/HWAddressSanitizer/alloca.ll
+6-1llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
+81-12 files

LLVM/project 4eec9caclang/lib/ScalableStaticAnalysisFramework/Analyses SSAFAnalysesCommon.h

Update clang/lib/ScalableStaticAnalysisFramework/Analyses/SSAFAnalysesCommon.h

Co-authored-by: Balázs Benics <benicsbalazs at gmail.com>
DeltaFile
+2-1clang/lib/ScalableStaticAnalysisFramework/Analyses/SSAFAnalysesCommon.h
+2-11 files

LLVM/project c3a6643clang/include/clang/ScalableStaticAnalysisFramework/Analyses EntityPointerLevel.h

Update clang/include/clang/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel.h

Co-authored-by: Balázs Benics <benicsbalazs at gmail.com>
DeltaFile
+1-1clang/include/clang/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel.h
+1-11 files

LLVM/project 6cd1636clang/unittests/ScalableStaticAnalysisFramework/Analyses/PointerFlow PointerFlowTest.cpp

fix clang-format
DeltaFile
+1-2clang/unittests/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlowTest.cpp
+1-21 files

LLVM/project cdd2a76llvm/utils/gn/secondary/clang/lib/ScalableStaticAnalysisFramework/Analyses BUILD.gn

gn build: Port 4913bd5588ad



Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/191080
DeltaFile
+1-0llvm/utils/gn/secondary/clang/lib/ScalableStaticAnalysisFramework/Analyses/BUILD.gn
+1-01 files

LLVM/project 03d0986llvm/utils/gn/secondary/clang/include/clang/Basic BUILD.gn, llvm/utils/gn/secondary/clang/lib/Basic BUILD.gn

gn build: Port 1f1ea1ae4151



Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/191079
DeltaFile
+4-0llvm/utils/gn/secondary/clang/include/clang/Basic/BUILD.gn
+1-0llvm/utils/gn/secondary/clang/lib/Basic/BUILD.gn
+5-02 files

LLVM/project 03c21b6llvm/tools/llvm-profgen ProfiledBinary.cpp ProfiledBinary.h

PIE vs DSO

Created using spr 1.3.4
DeltaFile
+7-3llvm/tools/llvm-profgen/ProfiledBinary.cpp
+5-0llvm/tools/llvm-profgen/ProfiledBinary.h
+12-32 files

LLVM/project be1be13clang/unittests/ScalableStaticAnalysisFramework/Analyses/PointerFlow PointerFlowTest.cpp

fix a test failure on Windows
DeltaFile
+3-2clang/unittests/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlowTest.cpp
+3-21 files

LLVM/project b0e06e5clang/test/CodeGen lifetime-bug-2.cpp

Add checks for the lpad2 and ehcleanup blocks
DeltaFile
+8-0clang/test/CodeGen/lifetime-bug-2.cpp
+8-01 files

LLVM/project 9a14f0fllvm/include/llvm/IR IntrinsicsAMDGPU.td, llvm/lib/Target/AMDGPU SIISelLowering.cpp AMDGPUInstructionSelector.cpp

[AMDGPU] Emit s_barrier_signal for s.barrier.signal.var when able (#191028)

When the member count is 0 (which causes the barrier's member count to
be re-used from a previous barrier initialization or
s.barrier.signal.var) and the barrier is constant, we can represent
named barrier signaling with the m0-less form. Enable this behavior.

Assisted by Opus 4.6 which drafted the initial implementation.
DeltaFile
+31-1llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+31-0llvm/test/CodeGen/AMDGPU/s-barrier.ll
+18-0llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
+3-1mlir/include/mlir/Dialect/LLVMIR/ROCDLOps.td
+2-0llvm/include/llvm/IR/IntrinsicsAMDGPU.td
+85-25 files

LLVM/project 17ff42fmlir/include/mlir/Dialect/LLVMIR XeVMOps.td, mlir/lib/Conversion/XeGPUToXeVM XeGPUToXeVM.cpp

[mlir][XeGPUToXeVM][XeVMToLLVM] Update the default cache-control values. (#190954)

In XeGPU, user can provide cache control value for only certain levels,
they do not have to provide cache-control value for all levels. However,
XeVM requires that each cache level must have a cache-control value. To
solve this issue, XeGPUToXeVM conversion pass adds default value to
cache-levels that does not have a user-provided cache-control value.

This PR updates this process in the following way:
- If no cache-control hint is provided for any levels, use system
default (USE_DEFAULT).
- If any of the levels has at least one cache-control value, use certain
default value for other levels.

If system default (USE_DEFAULT) is used, no cache-control metadata
annotation is necessary.
DeltaFile
+34-2mlir/test/Conversion/XeGPUToXeVM/loadstore_nd.mlir
+29-0mlir/test/Conversion/XeVMToLLVM/xevm-to-llvm.mlir
+26-0mlir/lib/Conversion/XeVMToLLVM/XeVMToLLVM.cpp
+11-3mlir/lib/Conversion/XeGPUToXeVM/XeGPUToXeVM.cpp
+9-2mlir/include/mlir/Dialect/LLVMIR/XeVMOps.td
+7-4mlir/test/Conversion/XeGPUToXeVM/loadstoreprefetch.mlir
+116-114 files not shown
+123-1810 files

LLVM/project 6cb4f39clang/lib/Driver ModulesDriver.cpp, clang/test/Driver modules-driver-clang-modules-only.cpp modules-driver-manifest-input-args.cpp

[clang][ModulesDriver] Add support for Clang modules to -fmodules-driver (#187606)

This PR adds basic support for explicit module builds using Clang
modules only, managed natively by the Clang driver.
(Caching of built modules is not included in this PR.)

RFC for driver-managed module builds:

https://discourse.llvm.org/t/rfc-modules-support-simple-c-20-modules-use-from-the-clang-driver-without-a-build-system
DeltaFile
+127-0clang/test/Driver/modules-driver-clang-modules-only.cpp
+51-21clang/lib/Driver/ModulesDriver.cpp
+7-9clang/test/Driver/modules-driver-manifest-input-args.cpp
+185-303 files

LLVM/project d03e8f4libc/include inttypes.yaml elf.yaml, utils/bazel/llvm-project-overlay/libc BUILD.bazel

[libc] Remove yet another batch of header template files (#191067)

This follows up on ae63230c23151c16ba68d5213da8bd5459c03a40 and remove
header templates from more C/POSIX standard headers, where templates
only used to `#include` files with macro definitions. We add this logic
to YAML instead - add entries to the `macros` list that point to the
correct `macro_header` to ensure it would be included.
DeltaFile
+312-2libc/include/inttypes.yaml
+13-53utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+28-1libc/include/elf.yaml
+23-2libc/include/poll.yaml
+21-2libc/include/signal.yaml
+0-21libc/include/signal.h.def
+397-8124 files not shown
+498-32830 files

LLVM/project 59bafb5llvm/lib/Target/AMDGPU AMDGPURegBankLegalizeRules.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.s.monitor.sleep.ll

[AMDGPU][GISel] RegBankLegalize rules for amdgcn_s_monitor_sleep (#191063)
DeltaFile
+1-1llvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.monitor.sleep.ll
+1-0llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
+2-12 files

LLVM/project 5480f19clang/lib/CodeGen CGExpr.cpp

Only shorten lifetime when enabled by flag
DeltaFile
+2-1clang/lib/CodeGen/CGExpr.cpp
+2-11 files

LLVM/project f1c2e3clibc/shared/math cbrtbf16.h, libc/src/__support/math cbrtbf16.h CMakeLists.txt

[libc][math] Refactor cbrtbf16 function header-only (#188204)

Co-authored-by: bassiounix <muhammad.m.bassiouni at gmail.com>
DeltaFile
+26-0libc/src/__support/math/cbrtbf16.h
+23-0libc/shared/math/cbrtbf16.h
+15-0utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+10-0libc/src/__support/math/CMakeLists.txt
+2-4libc/src/math/generic/cbrtbf16.cpp
+1-5libc/src/math/generic/CMakeLists.txt
+77-93 files not shown
+80-99 files

LLVM/project 343fdb0clang/test/CodeGenCXX conditional-temporaries.cpp

Save amdgpu test update
DeltaFile
+58-46clang/test/CodeGenCXX/conditional-temporaries.cpp
+58-461 files

LLVM/project 7d8332cclang/lib/CIR/CodeGen CIRGenCleanup.cpp, clang/test/CIR/CodeGen partial-array-cleanup.cpp

Merge branch 'main' into users/ziqingluo/eng/PR-171859135
DeltaFile
+133-169llvm/test/Transforms/SLPVectorizer/AMDGPU/notriviallyvectorizableintrinsicoperands.ll
+161-0clang/test/CIR/CodeGen/partial-array-cleanup.cpp
+102-50llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ds.gws.barrier.ll
+102-50llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ds.gws.init.ll
+9-135clang/lib/CIR/CodeGen/CIRGenCleanup.cpp
+137-6llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+644-41079 files not shown
+1,633-86285 files

LLVM/project dfd2ddcllvm/lib/Transforms/Instrumentation HWAddressSanitizer.cpp, llvm/test/Instrumentation/HWAddressSanitizer alloca.ll

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+75-0llvm/test/Instrumentation/HWAddressSanitizer/alloca.ll
+6-1llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
+81-12 files

LLVM/project b2ff0bacmake/Modules GetToolchainDirs.cmake

Add missing get_toolchain_module_subdir
DeltaFile
+11-0cmake/Modules/GetToolchainDirs.cmake
+11-01 files