[all-commits] [llvm/llvm-project] 682997: [llvm-remarkutil] Make invalid states un-represent...
S. VenkataKeerthy via All-commits
all-commits at lists.llvm.org
Thu May 29 13:42:59 PDT 2025
Branch: refs/heads/users/svkeerthy/05-28-lazy_bbembeddings
Home: https://github.com/llvm/llvm-project
Commit: 68299738f0ceb67a3afb2a3367977ee60d7a14bb
https://github.com/llvm/llvm-project/commit/68299738f0ceb67a3afb2a3367977ee60d7a14bb
Author: Jon Roelofs <jonathan_roelofs at apple.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/test/tools/llvm-remarkutil/instruction-count.test
M llvm/tools/llvm-remarkutil/RemarkCounter.cpp
M llvm/tools/llvm-remarkutil/RemarkCounter.h
M llvm/tools/llvm-remarkutil/RemarkUtilHelpers.cpp
M llvm/tools/llvm-remarkutil/RemarkUtilHelpers.h
Log Message:
-----------
[llvm-remarkutil] Make invalid states un-representable in the count tool (#140829)
This consolidates some of the error handling around regex arguments to
the tool, and sets up the APIs such that errors must be handled before
their usage.
Commit: 1750519e8557e03ef0946caca275582d6d3deaed
https://github.com/llvm/llvm-project/commit/1750519e8557e03ef0946caca275582d6d3deaed
Author: S. VenkataKeerthy <31350914+svkeerthy at users.noreply.github.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/docs/MLGO.rst
Log Message:
-----------
[NFC] Fixing typos in MLGO.rst (#141878)
Commit: dd8cf3af2c64630a53ce9653c99818f15bc90e33
https://github.com/llvm/llvm-project/commit/dd8cf3af2c64630a53ce9653c99818f15bc90e33
Author: Teresa Johnson <tejohnson at google.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/include/llvm/Analysis/MemoryProfileInfo.h
M llvm/include/llvm/Transforms/Utils/Cloning.h
M llvm/lib/Analysis/MemoryProfileInfo.cpp
M llvm/lib/Transforms/IPO/Inliner.cpp
M llvm/lib/Transforms/Instrumentation/MemProfiler.cpp
M llvm/lib/Transforms/Utils/InlineFunction.cpp
M llvm/test/Transforms/Inline/memprof_inline.ll
M llvm/test/Transforms/PGOProfile/memprof.ll
Log Message:
-----------
[MemProf] Emit remarks when hinting allocations not needing cloning (#141859)
The context disambiguation code already emits remarks when hinting
allocations (by adding hotness attributes) during cloning. However,
we did not yet emit hints when applying the hotness attributes during
building of the metadata (during matching and again after inlining).
Add remarks when we apply the hint attributes for these
non-context-sensitive allocations.
Commit: 723bc5c9880b99fe72815313ac49d563bb4fedb3
https://github.com/llvm/llvm-project/commit/723bc5c9880b99fe72815313ac49d563bb4fedb3
Author: Andy Kaylor <akaylor at nvidia.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M clang/test/CIR/Lowering/global-var-simple.cpp
M clang/test/CIR/Lowering/hello.c
M clang/test/CIR/global-var-linkage.cpp
Log Message:
-----------
[CIR] Update tests for global vars (#141854)
This change updates a few tests for global variable handling to also
check classic codegen output so we can easily verify consistency between
the two and will be alerted if the classic codegen changes.
This was useful in developing forthcoming changes to global linkage
handling.
Commit: 769c2a5dbca9dbfe436b3a6da48ddade249c308a
https://github.com/llvm/llvm-project/commit/769c2a5dbca9dbfe436b3a6da48ddade249c308a
Author: Jeffrey Byrnes <jeffrey.byrnes at amd.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
A llvm/test/Transforms/InstCombine/or-bitmask.ll
Log Message:
-----------
[InstCombine] Combine and->cmp->sel->or-disjoint into and->mul (#135274)
While and->cmp->sel combines into and->mul may result in worse code on
some targets, this combine should be uniformly beneficial.
Proof: https://alive2.llvm.org/ce/z/MibAcN
---------
Co-authored-by: Matt Arsenault <arsenm2 at gmail.com>
Co-authored-by: Yingwei Zheng <dtcxzyw at qq.com>
Commit: f11cdd3e99cc33a81b4d93fc9cf87e1da314f0e9
https://github.com/llvm/llvm-project/commit/f11cdd3e99cc33a81b4d93fc9cf87e1da314f0e9
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M flang/include/flang/Optimizer/Transforms/Passes.td
M flang/lib/Optimizer/Passes/Pipelines.cpp
M flang/lib/Optimizer/Transforms/FunctionAttr.cpp
M flang/test/Fir/array-coor.fir
M flang/test/Fir/arrayset.fir
M flang/test/Fir/arrexp.fir
M flang/test/Fir/box-offset-codegen.fir
M flang/test/Fir/box-typecode.fir
M flang/test/Fir/box.fir
M flang/test/Fir/boxproc.fir
M flang/test/Fir/commute.fir
M flang/test/Fir/coordinateof.fir
M flang/test/Fir/embox.fir
M flang/test/Fir/field-index.fir
M flang/test/Fir/ignore-missing-type-descriptor.fir
M flang/test/Fir/polymorphic.fir
M flang/test/Fir/rebox.fir
M flang/test/Fir/struct-passing-x86-64-byval.fir
M flang/test/Fir/target-rewrite-complex-10-x86.fir
M flang/test/Fir/target.fir
M flang/test/Fir/tbaa-codegen.fir
M flang/test/Fir/tbaa-codegen2.fir
M flang/test/Integration/OpenMP/copyprivate.f90
M flang/test/Integration/debug-local-var-2.f90
M flang/test/Integration/unroll-loops.f90
M flang/test/Lower/HLFIR/unroll-loops.fir
M flang/test/Lower/forall/character-1.f90
M flang/test/Transforms/constant-argument-globalisation.fir
A flang/test/Transforms/function-attrs-noalias.fir
M flang/test/Transforms/function-attrs.fir
Log Message:
-----------
[flang] Added noalias attribute to function arguments. (#140803)
This helps to disambiguate accesses in the caller and the callee
after LLVM inlining in some apps. I did not see any performance
changes, but this is one step towards enabling other optimizations
in the apps that I am looking at.
The definition of llvm.noalias says:
```
... indicates that memory locations accessed via pointer values based on the argument or return value are not also accessed, during the execution of the function, via pointer values not based on the argument or return value. This guarantee only holds for memory locations that are modified, by any means, during the execution of the function.
```
I believe this exactly matches Fortran rules for the dummy arguments
that are modified during their subprogram execution.
I also set llvm.noalias and llvm.nocapture on the !fir.box<> arguments,
because the corresponding descriptors cannot be captured and cannot
alias anything (not based on them) during the execution of the
subprogram.
Commit: c6649dcbe83f0afd5ed66198c933622ee7ca3ee0
https://github.com/llvm/llvm-project/commit/c6649dcbe83f0afd5ed66198c933622ee7ca3ee0
Author: Steven Wu <stevenwu at apple.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M clang/cmake/caches/Apple-stage1.cmake
Log Message:
-----------
[CMake] Turn on LLVM_ENABLE_BACKTRACE for Apple stage1 compiler (#141872)
Commit: 8a9445d0e5778ad076b5603c298d6eb079c3068d
https://github.com/llvm/llvm-project/commit/8a9445d0e5778ad076b5603c298d6eb079c3068d
Author: Jeffrey Byrnes <Jeffrey.Byrnes at amd.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
R llvm/test/Transforms/InstCombine/or-bitmask.ll
Log Message:
-----------
Revert "[InstCombine] Combine and->cmp->sel->or-disjoint into and->mul (#135274)"
This reverts commit c49c7ddb0b335708778d2bfd88119c439bd0973e.
Commit: 9c47cdffa32aa2db1cff519c044a8aaad6e56868
https://github.com/llvm/llvm-project/commit/9c47cdffa32aa2db1cff519c044a8aaad6e56868
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M flang/include/flang/Optimizer/Transforms/Passes.td
M flang/lib/Optimizer/Passes/Pipelines.cpp
M flang/lib/Optimizer/Transforms/FunctionAttr.cpp
M flang/test/Fir/array-coor.fir
M flang/test/Fir/arrayset.fir
M flang/test/Fir/arrexp.fir
M flang/test/Fir/box-offset-codegen.fir
M flang/test/Fir/box-typecode.fir
M flang/test/Fir/box.fir
M flang/test/Fir/boxproc.fir
M flang/test/Fir/commute.fir
M flang/test/Fir/coordinateof.fir
M flang/test/Fir/embox.fir
M flang/test/Fir/field-index.fir
M flang/test/Fir/ignore-missing-type-descriptor.fir
M flang/test/Fir/polymorphic.fir
M flang/test/Fir/rebox.fir
M flang/test/Fir/struct-passing-x86-64-byval.fir
M flang/test/Fir/target-rewrite-complex-10-x86.fir
M flang/test/Fir/target.fir
M flang/test/Fir/tbaa-codegen.fir
M flang/test/Fir/tbaa-codegen2.fir
M flang/test/Integration/OpenMP/copyprivate.f90
M flang/test/Integration/debug-local-var-2.f90
M flang/test/Integration/unroll-loops.f90
M flang/test/Lower/HLFIR/unroll-loops.fir
M flang/test/Lower/forall/character-1.f90
M flang/test/Transforms/constant-argument-globalisation.fir
R flang/test/Transforms/function-attrs-noalias.fir
M flang/test/Transforms/function-attrs.fir
Log Message:
-----------
Revert "[flang] Added noalias attribute to function arguments." (#141884)
Reverts llvm/llvm-project#140803
Buildbot failure:
https://lab.llvm.org/buildbot/#/builders/143/builds/8041
Commit: 372cd545a0eaa61f9c1f0789fd73873592349b11
https://github.com/llvm/llvm-project/commit/372cd545a0eaa61f9c1f0789fd73873592349b11
Author: Wenju He <wenju.he at intel.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
A libclc/clc/include/clc/async/clc_prefetch.h
A libclc/clc/include/clc/async/clc_prefetch.inc
M libclc/clc/lib/generic/SOURCES
A libclc/clc/lib/generic/async/clc_prefetch.cl
A libclc/clc/lib/generic/async/clc_prefetch.inc
M libclc/opencl/lib/generic/async/prefetch.cl
M libclc/opencl/lib/generic/async/prefetch.inc
Log Message:
-----------
[libclc] Move prefetch to clc library (#141721)
llvm-diff shows no change to amdgcn--amdhsa.bc
Commit: 2e39961c24997e2487a3b138be3e08c5196e8c93
https://github.com/llvm/llvm-project/commit/2e39961c24997e2487a3b138be3e08c5196e8c93
Author: Craig Topper <craig.topper at sifive.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
M llvm/test/CodeGen/RISCV/zilsd.ll
Log Message:
-----------
[RISCV] Use X0_Pair for storing 0 using Zilsd. (#141847)
When we're creating a Zilsd store from a split i64 value, check if both
inputs are 0 and use X0_Pair instead of a REG_SEQUENCE.
Commit: 524f96720b5c0aeaa4f35d05beaaca351df58661
https://github.com/llvm/llvm-project/commit/524f96720b5c0aeaa4f35d05beaaca351df58661
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M flang/include/flang/Optimizer/Builder/DirectivesCommon.h
M flang/lib/Optimizer/OpenACC/RegisterOpenACCExtensions.cpp
M flang/test/Lower/OpenACC/acc-enter-data.f90
Log Message:
-----------
[flang][openacc] Allow polymorphic entity in data clauses (#141856)
- Attach the mappable interface to ClassType
- Remove the TODO since derived type in descriptor can be handled as
other descriptors
Commit: 2f285cf962384fea4be9b2e23c083886569c3a5e
https://github.com/llvm/llvm-project/commit/2f285cf962384fea4be9b2e23c083886569c3a5e
Author: Owen Pan <owenpiano at gmail.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M clang/include/clang/Format/Format.h
M clang/lib/Format/Format.cpp
M clang/unittests/Format/ConfigParseTest.cpp
Log Message:
-----------
[clang-format] Handle .h files for LK_C and LK_ObjC (#141714)
Fix #137792
Commit: c660b1c2dc8347157231eaed5238edfacc33196c
https://github.com/llvm/llvm-project/commit/c660b1c2dc8347157231eaed5238edfacc33196c
Author: Trung Nguyen <57174311+trungnt2910 at users.noreply.github.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M libunwind/src/CMakeLists.txt
M libunwind/src/UnwindCursor.hpp
Log Message:
-----------
[libunwind][Haiku] Fix signal frame unwinding (#135367)
The current unwinding implementation on Haiku is messy and broken.
1. It searches weird paths for private headers, which is breaking builds
in consuming projects, such as dotnet/runtime.
2. It does not even work, due to relying on incorrect private offsets.
This commit strips all references to private headers and ports a working
signal frame implementation. It has been tested against
`tests/signal_unwind.pass.cpp` and can go pass the signal frame.
Commit: ee07a46313531fc5520c62917ff53b0801754fcc
https://github.com/llvm/llvm-project/commit/ee07a46313531fc5520c62917ff53b0801754fcc
Author: Joseph Huber <huberjn at outlook.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M clang/lib/Sema/SemaOpenMP.cpp
M clang/test/OpenMP/atomic_messages.cpp
Log Message:
-----------
[OpenMP] Fix atomic compare handling with overloaded operators (#141142)
Summary:
When there are overloaded C++ operators in the global namespace the AST
node for these is not a `BinaryExpr` but a `CXXOperatorCallExpr`. Modify
the uses to handle this case, basically just treating it as a binary
expression with two arguments.
Fixes https://github.com/llvm/llvm-project/issues/141085
Commit: 93395da2e5fba89da3c886d2be3ed37299bf9952
https://github.com/llvm/llvm-project/commit/93395da2e5fba89da3c886d2be3ed37299bf9952
Author: Jim Lin <jim at andestech.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
M llvm/test/CodeGen/RISCV/rv32xandesperf.ll
M llvm/test/CodeGen/RISCV/rv64xandesperf.ll
M llvm/test/CodeGen/RISCV/rv64zba.ll
Log Message:
-----------
[RISCV] Select unsigned bitfield extracts for XAndesPerf (#141398)
The XAndesPerf extension includes unsigned bitfield extraction
instruction `NDS.BFOZ`, which can extract the bits from LSB to MSB,
places them starting at bit 0, and zero-extends the result.
The testcase includes the three patterns that can be selected as
unsigned bitfield extracts: `and`, `and+lshr` and `lshr+and`
Commit: 8381fce5c182182947e43e23ac41849ce32c6a90
https://github.com/llvm/llvm-project/commit/8381fce5c182182947e43e23ac41849ce32c6a90
Author: Elvis Wang <elvis.wang at sifive.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
M llvm/test/Transforms/LoopVectorize/AArch64/sve-strict-fadd-cost.ll
M llvm/test/Transforms/LoopVectorize/ARM/mve-reductions.ll
M llvm/test/Transforms/LoopVectorize/reduction-inloop-pred.ll
M llvm/test/Transforms/LoopVectorize/reduction-inloop.ll
Log Message:
-----------
[VPlan] Implement VPlan-based cost model for VPReduction, VPExtendedReduction and VPMulAccumulateReduction. (#113903)
This patch implement the VPlan-based cost model for VPReduction,
VPExtendedReduction and VPMulAccumulateReduction.
With this patch, we can calculate the reduction cost by the VPlan-based
cost model so remove the reduction costs in `precomputeCost()`.
Ref: Original instruction based implementation:
https://reviews.llvm.org/D93476
Commit: f4e9cf1879411f82b2c50af9556269b40bd68ca8
https://github.com/llvm/llvm-project/commit/f4e9cf1879411f82b2c50af9556269b40bd68ca8
Author: Fangrui Song <i at maskray.me>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M lld/ELF/ScriptParser.cpp
M lld/test/ELF/linkerscript/locationcountererr-arm-exidx.test
Log Message:
-----------
[ELF] Postpone ASSERT error
assignAddresses is executed more than once. When an ASSERT expression
evaluates to zero, we should only report an error for the last
assignAddresses. Make a change similar to #66854 and #96361.
This change might help https://github.com/ClangBuiltLinux/linux/issues/2094
Commit: 9a8fcc93792a3b0a1cbfbb934ec8da211366df1a
https://github.com/llvm/llvm-project/commit/9a8fcc93792a3b0a1cbfbb934ec8da211366df1a
Author: drazi <fengxie83 at gmail.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M mlir/python/mlir/dialects/_ods_common.py
Log Message:
-----------
assert with more information to help debug (#132194)
This PR output debug message to assertion to help debug user python
code. Will print out more friendly information
```
> assert isinstance(arg, _cext.ir.Value), f"expects Value, got {type(arg)}"
E AssertionError: expected Value, got <class 'UserDefinedClass'>
```
Commit: 683b04b1333caca7b5575b7e5fd5399411359561
https://github.com/llvm/llvm-project/commit/683b04b1333caca7b5575b7e5fd5399411359561
Author: Craig Topper <craig.topper at sifive.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
A llvm/test/CodeGen/RISCV/rvv/masked-store-int-e64.ll
Log Message:
-----------
[RISCV] Add test I missed in #140991. NFC
I forgot to git add this file when I split it from the existing test file.
Commit: 9789551600439d94ec063a02f1669b86c980b903
https://github.com/llvm/llvm-project/commit/9789551600439d94ec063a02f1669b86c980b903
Author: Craig Topper <craig.topper at sifive.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
Log Message:
-----------
[RISCV] Use isVectorConfigInstr in isConvertibleToVMV_V_V. NFC (#141874)
Commit: 31feb33a505049c029fac9479d147d020405acf8
https://github.com/llvm/llvm-project/commit/31feb33a505049c029fac9479d147d020405acf8
Author: Jason Molenda <jmolenda at apple.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSError.py
Log Message:
-----------
[lldb][objc] NSError data formatter test is failing
after PR 138209 stopped applying data formatters
for T** by default, and this test expects that to
work. We'll need to figure out if we want to drop
this test, or adapt NSError/other objc formatters to
descend an extra level or two of depth.
Commit: b6cc8fdfffa087d30110b11029937300c0efb4ed
https://github.com/llvm/llvm-project/commit/b6cc8fdfffa087d30110b11029937300c0efb4ed
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Serialization/TemplateArgumentHasher.cpp
A clang/test/CodeCompletion/GH139019.cpp
Log Message:
-----------
[clang] Serialization: support hashing null template arguments (#141890)
Commit: 28026e22c4e709a393adb582d64c1781be98a4f4
https://github.com/llvm/llvm-project/commit/28026e22c4e709a393adb582d64c1781be98a4f4
Author: Hubert Tong <hubert.reinterpretcast at gmail.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
M llvm/test/CodeGen/PowerPC/build-vector-tests.ll
M llvm/test/CodeGen/PowerPC/mul-const-vector.ll
M llvm/test/CodeGen/PowerPC/p10-splatImm-CPload-pcrel.ll
M llvm/test/CodeGen/PowerPC/pre-inc-disable.ll
R llvm/test/CodeGen/PowerPC/splat-extend.ll
M llvm/test/CodeGen/PowerPC/vec_add_sub_doubleword.ll
M llvm/test/CodeGen/PowerPC/vector-extend-sign.ll
M llvm/test/CodeGen/PowerPC/vector-popcnt-128-ult-ugt.ll
Log Message:
-----------
Revert "[PowerPC] extend smaller splats into bigger splats (#141282)"
The subject commit causes the build to ICE on AIX:
https://lab.llvm.org/buildbot/#/builders/64/builds/3890/steps/5/logs/stdio
This reverts commit 7fa365843d9f99e75c38a6107e8511b324950e74.
Commit: 1f8faf23f6d7d4a6f9853f1055befc0d1e5bcd8a
https://github.com/llvm/llvm-project/commit/1f8faf23f6d7d4a6f9853f1055befc0d1e5bcd8a
Author: Alexey Samsonov <vonosmas at gmail.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M libc/test/src/sys/auxv/linux/CMakeLists.txt
M libc/test/src/sys/auxv/linux/getauxval_test.cpp
M libc/test/src/sys/mman/linux/CMakeLists.txt
M libc/test/src/sys/mman/linux/madvise_test.cpp
M libc/test/src/sys/mman/linux/mincore_test.cpp
M libc/test/src/sys/mman/linux/mlock_test.cpp
M libc/test/src/sys/mman/linux/mmap_test.cpp
M libc/test/src/sys/mman/linux/mprotect_test.cpp
M libc/test/src/sys/mman/linux/mremap_test.cpp
M libc/test/src/sys/mman/linux/msync_test.cpp
M libc/test/src/sys/mman/linux/posix_madvise_test.cpp
M libc/test/src/sys/mman/linux/remap_file_pages_test.cpp
M libc/test/src/sys/mman/linux/shm_test.cpp
M libc/test/src/sys/prctl/linux/CMakeLists.txt
M libc/test/src/sys/prctl/linux/prctl_test.cpp
M libc/test/src/sys/random/linux/CMakeLists.txt
M libc/test/src/sys/random/linux/getrandom_test.cpp
M libc/test/src/sys/resource/CMakeLists.txt
M libc/test/src/sys/resource/getrlimit_setrlimit_test.cpp
M libc/test/src/sys/select/CMakeLists.txt
M libc/test/src/sys/select/select_failure_test.cpp
M libc/test/src/sys/select/select_ui_test.cpp
M libc/test/src/sys/sendfile/CMakeLists.txt
M libc/test/src/sys/sendfile/sendfile_test.cpp
M libc/test/src/sys/stat/CMakeLists.txt
M libc/test/src/sys/stat/chmod_test.cpp
M libc/test/src/sys/stat/fchmod_test.cpp
M libc/test/src/sys/stat/fchmodat_test.cpp
M libc/test/src/sys/stat/fstat_test.cpp
M libc/test/src/sys/stat/lstat_test.cpp
M libc/test/src/sys/stat/mkdirat_test.cpp
M libc/test/src/sys/stat/stat_test.cpp
M libc/test/src/sys/statvfs/linux/CMakeLists.txt
M libc/test/src/sys/statvfs/linux/fstatvfs_test.cpp
M libc/test/src/sys/statvfs/linux/statvfs_test.cpp
M libc/test/src/sys/time/utimes_test.cpp
M libc/test/src/sys/wait/CMakeLists.txt
M libc/test/src/sys/wait/wait4_test.cpp
M libc/test/src/sys/wait/waitpid_test.cpp
Log Message:
-----------
[libc] Migrate sys/ tests to ErrnoCheckingTest. (#141871)
See PR #132823 for a previous change to sys/epoll tests, and prior
changes before that.
ErrnoCheckingTest ensures that errno is properly reset at the beginning
of the test case, and is validated at the end of it. This change removes
many instances of manual errno manipulation.
Commit: 61648bd7bfe086a57b56999a51ca350888766982
https://github.com/llvm/llvm-project/commit/61648bd7bfe086a57b56999a51ca350888766982
Author: Srinivasa Ravi <srinivasar at nvidia.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
M mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp
M mlir/test/Dialect/LLVMIR/nvvm.mlir
M mlir/test/Target/LLVMIR/nvvmir.mlir
Log Message:
-----------
[MLIR][NVVM] Update dot.accumulate.4way NVVM Op (#141223)
This change refactors and updates the `dot.accumulate.4way` NVVM Op to
be more descriptive and readable.
Commit: 6e3f7df23b03c73d3c6d73d327e6e81618d9ef0e
https://github.com/llvm/llvm-project/commit/6e3f7df23b03c73d3c6d73d327e6e81618d9ef0e
Author: Lang Hames <lhames at gmail.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/tools/llvm-jitlink/llvm-jitlink.cpp
Log Message:
-----------
[ORC] Remove an unused header. NFC.
Commit: 5d14274fafc61b62a4db6cf6bda77200ec5143f7
https://github.com/llvm/llvm-project/commit/5d14274fafc61b62a4db6cf6bda77200ec5143f7
Author: Fangrui Song <i at maskray.me>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/lib/MC/MCObjectStreamer.cpp
M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
M llvm/test/MC/RISCV/align.s
M llvm/test/MC/RISCV/cfi-advance.s
Log Message:
-----------
MC: Set MCSection::LinkerRelaxable for linker-relaxable MCAlignFragment
Commit bb03cdcb441fd68da9d1ebb7d5f39f73667cd39c caused a Linux kernel
regression https://github.com/ClangBuiltLinux/linux/issues/2091
When a section contains linker-relaxable MCAlignmentFragment but no
linker-relaxable instructions, the RISCVAsmBackend::isPCRelFixupResolved
code path should be taken as well. The #76552 condition in the fragment
walk code will make the fixup unresolvable, leading to a relocation.
Commit: 61a4e8a18c62143911e78f886526cfed73da409a
https://github.com/llvm/llvm-project/commit/61a4e8a18c62143911e78f886526cfed73da409a
Author: Alex Bradbury <asb at igalia.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
M llvm/test/CodeGen/RISCV/machine-copyprop-simplifyinstruction.mir
Log Message:
-----------
[RISCV] Add bltu/bgeu zero => bnez/beqz canonicalisation to RISCVInstrInfo::simplifyInstruction (#141775)
We can end up with bltu/bgeu with the zero register as the 0th operand
after tail duplication and then machine copy propagation. Canonicalising
in simplifyInstruction (called from MachineCopyPropagation) both
produces easier to read assembly output, and means it's possible that
the compressed c.beqz/c.bnez forms are produced.
Commit: c227c3a5fe2772ccdee962c081f6cfd7f00b30c3
https://github.com/llvm/llvm-project/commit/c227c3a5fe2772ccdee962c081f6cfd7f00b30c3
Author: Sam Elliott <quic_aelliott at quicinc.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/test/DebugInfo/RISCV/relax-debug-frame.ll
Log Message:
-----------
[RISCV] Fix Test Prefixes in Debug Test (#141895)
Commit: afd76c2fe63506939646f5d71faa79bbea466cce
https://github.com/llvm/llvm-project/commit/afd76c2fe63506939646f5d71faa79bbea466cce
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
Log Message:
-----------
[lldb][SymbolFileDWARF] Don't search for DWP files on macOS (#139554)
Commit: 27adc2917f02920fcd6314cae0527d58b91e36bf
https://github.com/llvm/llvm-project/commit/27adc2917f02920fcd6314cae0527d58b91e36bf
Author: Durgadoss R <durgadossr at nvidia.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.h
M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
M llvm/test/CodeGen/NVPTX/cp-async-bulk.ll
Log Message:
-----------
[NVPTX][NFC] Move more TMA lowering to tablegen (#140914)
This patch migrates the lowering of the
non-tensor TMA intrinsics to table-gen based.
Also, use ADDR nodes for the pointer operands
wherever applicable.
Signed-off-by: Durgadoss R <durgadossr at nvidia.com>
Commit: 035d6397ea92d10e212b68b372633f55ad40290d
https://github.com/llvm/llvm-project/commit/035d6397ea92d10e212b68b372633f55ad40290d
Author: Lang Hames <lhames at gmail.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/include/llvm/ExecutionEngine/Orc/MachOPlatform.h
M llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp
Log Message:
-----------
[ORC][MachO] Remove misused MachOPlatform::BootstrapInfo::Mutex member.
MachOPlatform::BootstrapInfo::Mutex was meant to be used to synchronize access
to the MachOPlatform::BootstrapInfo::ActiveGraphs member, but the latter was
also modified under the MachOPlatform::PlatformMutex (in
MachOPlatform::MachOPlatformPlugin::modifyPassConfig), leading to a data race.
There have been external reports (rdar://151041549) of deadlocks on the
MachOPlatform::BootstrapInfo::CV condition variable that are consistent with
corruption of the ActiveGraphs member (though alternative explanations for
the reported behavior exist, and it has been too rare in practice to verify).
This patch removes the misused MachOPlatform::BootstrapInfo::Mutex member and
synchronizes all accesses to ActiveGraphs using MachOPlatform::PlatformMutex
instead. Since ActiveGraphs is only used during bootstrap the performance
impact of this should be negligible.
rdar://151041549 - possible fix.
Commit: 90ebc20759c81e3ba03e891b42e2c7513f039249
https://github.com/llvm/llvm-project/commit/90ebc20759c81e3ba03e891b42e2c7513f039249
Author: Marius Kamp <msk at posteo.org>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/include/llvm/CodeGen/TargetLowering.h
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.h
M llvm/lib/Target/ARM/ARMISelLowering.cpp
M llvm/lib/Target/ARM/ARMISelLowering.h
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.h
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Target/X86/X86ISelLowering.h
Log Message:
-----------
[SDAG] Make Select-with-Identity-Fold More Flexible; NFC (#136554)
This change adds new parameters to the method
`shouldFoldSelectWithIdentityConstant()`. The method now takes the
opcode of the select node and the non-identity operand of the select
node. To gain access to the appropriate arguments, the call of
`shouldFoldSelectWithIdentityConstant()` is moved after all other checks
have been performed. Moreover, this change adjusts the precondition of
the fold so that it would work for `SELECT` nodes in addition to
`VSELECT` nodes.
No functional change is intended because all implementations of
`shouldFoldSelectWithIdentityConstant()` are adjusted such that they
restrict the fold to a `VSELECT` node; the same restriction as before.
The rationale of this change is to make more fine grained decisions
possible when to revert the InstCombine canonicalization of
`(select c (binop x y) y)` to `(binop (select c x idc) y)` in the
backends.
Commit: d771e4d18d07e7de6c5af72b1560407e391abbdb
https://github.com/llvm/llvm-project/commit/d771e4d18d07e7de6c5af72b1560407e391abbdb
Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Log Message:
-----------
[LV] Clean up unused template args of min/max (NFC) (#141778)
Commit: 160d9d5689bdbe5ffec5a628fa762e06eac96197
https://github.com/llvm/llvm-project/commit/160d9d5689bdbe5ffec5a628fa762e06eac96197
Author: Andrei Safronov <andrei.safronov at espressif.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/lib/Target/Xtensa/Disassembler/XtensaDisassembler.cpp
M llvm/lib/Target/Xtensa/MCTargetDesc/XtensaMCTargetDesc.cpp
M llvm/lib/Target/Xtensa/XtensaFeatures.td
M llvm/lib/Target/Xtensa/XtensaInstrInfo.td
M llvm/lib/Target/Xtensa/XtensaRegisterInfo.td
M llvm/lib/Target/Xtensa/XtensaSubtarget.h
A llvm/test/MC/Disassembler/Xtensa/clamps.txt
M llvm/test/MC/Disassembler/Xtensa/code_density.txt
A llvm/test/MC/Disassembler/Xtensa/dcache.txt
A llvm/test/MC/Disassembler/Xtensa/div.txt
A llvm/test/MC/Disassembler/Xtensa/extendedl32r.txt
A llvm/test/MC/Disassembler/Xtensa/loop.txt
A llvm/test/MC/Disassembler/Xtensa/mac16.txt
A llvm/test/MC/Disassembler/Xtensa/minmax.txt
A llvm/test/MC/Disassembler/Xtensa/miscsr.txt
A llvm/test/MC/Disassembler/Xtensa/mul.txt
A llvm/test/MC/Disassembler/Xtensa/mul16.txt
A llvm/test/MC/Disassembler/Xtensa/mul32high.txt
A llvm/test/MC/Disassembler/Xtensa/nsa.txt
A llvm/test/MC/Disassembler/Xtensa/region_protect.txt
A llvm/test/MC/Disassembler/Xtensa/rvector.txt
A llvm/test/MC/Disassembler/Xtensa/sext.txt
A llvm/test/MC/Xtensa/clamps-invalid.s
A llvm/test/MC/Xtensa/clamps.s
A llvm/test/MC/Xtensa/dcache.s
A llvm/test/MC/Xtensa/extendedl32r.s
A llvm/test/MC/Xtensa/miscsr.s
A llvm/test/MC/Xtensa/region_protect.s
A llvm/test/MC/Xtensa/rvector.s
M llvm/test/MC/Xtensa/xtensa-mac16.s
Log Message:
-----------
[Xtensa] Implement Xtensa Region Protection Option and several other small Options. (#137135)
Implement support of the Xtensa Region Protection, Extended L32R, Data
Cache, Relocatable Vector and MISC Special Registers Options.
Commit: 346aa9b6ccd44c9d4f1079c96291494539b9dcff
https://github.com/llvm/llvm-project/commit/346aa9b6ccd44c9d4f1079c96291494539b9dcff
Author: cor3ntin <corentinjabot at gmail.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M clang/include/clang/AST/Expr.h
M clang/include/clang/AST/NestedNameSpecifier.h
M clang/include/clang/AST/Stmt.h
M clang/lib/AST/Expr.cpp
M clang/lib/AST/ExprCXX.cpp
M clang/lib/AST/NestedNameSpecifier.cpp
M clang/lib/Sema/SemaOpenCL.cpp
M clang/lib/Sema/SemaOverload.cpp
M clang/lib/Serialization/ASTReaderStmt.cpp
M clang/lib/Serialization/ASTWriterStmt.cpp
Log Message:
-----------
[Clang] Optimize some `getBeginLoc` implementations (#141058)
The bulk of the changes are in `CallExpr`
We cache Begin/End source locs in the trailing objects, in the space
left by making the offset to the trailing objects static.
We also set a flag to indicate that we are calling an explicit object
member function, further reducing the cost of getBeginLoc.
Fixes #140876
Commit: a200bdb9e6609f0e80d1a019223be54a85ecfb54
https://github.com/llvm/llvm-project/commit/a200bdb9e6609f0e80d1a019223be54a85ecfb54
Author: Luke Hutton <luke.hutton at arm.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
M mlir/test/Dialect/Tosa/ops.mlir
Log Message:
-----------
[mlir][tosa] Allow unranked input/output tensors in resize ops (#141608)
This commit allows the input/output of the resize op to be unranked to
account for shapes being computed during shape inference.
Commit: f6320bc027efeb62e03cd896aef054d40d2e82f5
https://github.com/llvm/llvm-project/commit/f6320bc027efeb62e03cd896aef054d40d2e82f5
Author: Luke Hutton <luke.hutton at arm.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
M mlir/test/Dialect/Tosa/invalid.mlir
Log Message:
-----------
[mlir][tosa] Fix mul op verifier when input types don't match result (#141617)
This commit fixes a crash when operand types are not integer, but the
result is. While this isn't valid, the verifier should not crash.
Commit: 1425488582ff09e4fb64524074c2527ee71d579e
https://github.com/llvm/llvm-project/commit/1425488582ff09e4fb64524074c2527ee71d579e
Author: Florian Hahn <flo at fhahn.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
M llvm/test/Transforms/LoopVectorize/AArch64/sve2-histcnt-vplan.ll
M llvm/test/Transforms/LoopVectorize/AArch64/synthesize-mask-for-call.ll
M llvm/test/Transforms/LoopVectorize/AArch64/vplan-printing.ll
M llvm/test/Transforms/LoopVectorize/AArch64/widen-call-with-intrinsic-or-libfunc.ll
M llvm/test/Transforms/LoopVectorize/RISCV/riscv-vector-reverse.ll
M llvm/test/Transforms/LoopVectorize/RISCV/vplan-vp-intrinsics-reduction.ll
M llvm/test/Transforms/LoopVectorize/first-order-recurrence-chains-vplan.ll
M llvm/test/Transforms/LoopVectorize/interleave-and-scalarize-only.ll
M llvm/test/Transforms/LoopVectorize/uncountable-early-exit-vplan.ll
M llvm/test/Transforms/LoopVectorize/vplan-dot-printing.ll
M llvm/test/Transforms/LoopVectorize/vplan-iv-transforms.ll
M llvm/test/Transforms/LoopVectorize/vplan-predicate-switch.ll
M llvm/test/Transforms/LoopVectorize/vplan-printing-before-execute.ll
M llvm/test/Transforms/LoopVectorize/vplan-printing-reductions.ll
M llvm/test/Transforms/LoopVectorize/vplan-printing.ll
M llvm/test/Transforms/LoopVectorize/vplan-sink-scalars-and-merge-vf1.ll
M llvm/test/Transforms/LoopVectorize/vplan-sink-scalars-and-merge.ll
Log Message:
-----------
[VPlan] Use EMIT-SCALAR when printing single-scalar VPInstructions. (#141428)
By using SINGLE-SCALAR when printing, it is clear in the debug output
that those VPInstructions only produce a single scalar.
Split off in preparation for
https://github.com/llvm/llvm-project/pull/140623.
PR: https://github.com/llvm/llvm-project/pull/141428
Commit: a82920f620f34917615f29e4fc715fb73466b999
https://github.com/llvm/llvm-project/commit/a82920f620f34917615f29e4fc715fb73466b999
Author: Jason Molenda <jmolenda at apple.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
Log Message:
-----------
Revert "[lldb][Modules] Fix error handling of parseAndLoadModuleMapFile (#141220)"
The TestTemplateWithSameArg.py API test is crashing on macOS with
this change. Michael is going to look into it; reverting for now
to unblock the CI bots.
This reverts commit 052c70451afb7323ef72f321f3b0b5abb024b302.
Commit: e6aa27c0a0153291ba5239886c899bca9858a784
https://github.com/llvm/llvm-project/commit/e6aa27c0a0153291ba5239886c899bca9858a784
Author: Kareem Ergawy <kareem.ergawy at amd.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M flang/include/flang/Lower/AbstractConverter.h
M flang/include/flang/Optimizer/Dialect/FIROps.h
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/lib/Lower/Bridge.cpp
M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
M flang/lib/Lower/OpenMP/DataSharingProcessor.h
A flang/test/Lower/do_concurrent_delayed_locality.f90
Log Message:
-----------
[flang][fir] Basic PFT to MLIR lowering for do concurrent locality specifiers (#138534)
Extends support for `fir.do_concurrent` locality specifiers to the PFT
to MLIR level. This adds code-gen for generating the newly added
`fir.local` ops and referencing these ops from `fir.do_concurrent.loop`
ops that have locality specifiers attached to them. This reuses the
`DataSharingProcessor` component and generalizes it a bit more to allow
for handling `omp.private` ops and `fir.local` ops as well.
PR stack:
- https://github.com/llvm/llvm-project/pull/137928
- https://github.com/llvm/llvm-project/pull/138505
- https://github.com/llvm/llvm-project/pull/138506
- https://github.com/llvm/llvm-project/pull/138512
- https://github.com/llvm/llvm-project/pull/138534 (this PR)
- https://github.com/llvm/llvm-project/pull/138816
Commit: 2c43fb92348cebe5abed2642c84b895d76784949
https://github.com/llvm/llvm-project/commit/2c43fb92348cebe5abed2642c84b895d76784949
Author: Corentin Jabot <corentinjabot at gmail.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M clang/lib/AST/Expr.cpp
Log Message:
-----------
[Clang] Fix build after 141058
Fix incorrect static assert on some platforms
Commit: 8d2751e91ae15d7351ac4b77deebc9e81381e33c
https://github.com/llvm/llvm-project/commit/8d2751e91ae15d7351ac4b77deebc9e81381e33c
Author: Will Froom <willfroom at google.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M mlir/include/mlir/IR/DialectRegistry.h
Log Message:
-----------
[MLIR] Add missing move constructor / assignment operator to DialectRegistry (#141915)
Fix after #140963
Commit: a2f48b0cf79b3ef3ee33088220b8729e16ad7c90
https://github.com/llvm/llvm-project/commit/a2f48b0cf79b3ef3ee33088220b8729e16ad7c90
Author: David Green <david.green at arm.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
M llvm/test/CodeGen/AArch64/xar.ll
Log Message:
-----------
[AArch64] Handle XAR with v1i64 operand types (#141754)
When converting ROTR(XOR(a, b)) to XAR(a, b), or ROTR(a, a) to XAR(a, zero)
we were not handling v1i64 types, meaning illegal copies get generated. This
addresses that by generating insert_subreg and extract_subreg for v1i64 to
keep the values with the correct types.
Fixes #141746
Commit: b36c1d081c0fc3397043747ff011f6a607905980
https://github.com/llvm/llvm-project/commit/b36c1d081c0fc3397043747ff011f6a607905980
Author: Jacek Caban <jacek at codeweavers.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M lld/COFF/SymbolTable.cpp
A lld/test/COFF/stdcall-alias.s
Log Message:
-----------
[LLD][COFF] Avoid forcing lazy symbols in loadMinGWSymbols during symbol table enumeration (#141593)
Forcing lazy symbols at this point may introduce new entries into the
symbol table. Avoid mutating `symTab` while iterating over it.
Commit: f608f7f03b9b739a354790636f39eaa6683af032
https://github.com/llvm/llvm-project/commit/f608f7f03b9b739a354790636f39eaa6683af032
Author: Jacek Caban <jacek at codeweavers.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M lld/COFF/InputFiles.cpp
M lld/COFF/SymbolTable.cpp
A lld/test/COFF/link-dll-arm64ec.s
Log Message:
-----------
[LLD][COFF] Add support for DLL imports on ARM64EC (#141587)
Define additional `__imp_aux_` and mangled lazy symbols. Also allow
overriding EC aliases with lazy symbols, as we do for other lazy symbol
types.
Commit: db95bed64c07fbff17943a9fc39bd74f4aefb6dd
https://github.com/llvm/llvm-project/commit/db95bed64c07fbff17943a9fc39bd74f4aefb6dd
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
A clang/test/DebugInfo/KeyInstructions/builtin.c
Log Message:
-----------
Reapply "[KeyIntsr][Clang] Builtins atoms (#134651)"
This reverts commit 894a0dd57f81211f9e431d9e84f2856d34f46993 with
tests fixed.
This patch is part of a stack that teaches Clang to generate Key Instructions
metadata for C and C++.
RFC:
https://discourse.llvm.org/t/rfc-improving-is-stmt-placement-for-better-interactive-debugging/82668
The feature is only functional in LLVM if LLVM is built with CMake flag
LLVM_EXPERIMENTAL_KEY_INSTRUCTIONs. Eventually that flag will be removed.
Commit: ecc58b1003ae468a0418c647ad7faa0411065ee6
https://github.com/llvm/llvm-project/commit/ecc58b1003ae468a0418c647ad7faa0411065ee6
Author: Florian Hahn <flo at fhahn.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
M llvm/test/Transforms/LoopVectorize/AArch64/vplan-printing.ll
M llvm/test/Transforms/LoopVectorize/RISCV/riscv-vector-reverse.ll
M llvm/test/Transforms/LoopVectorize/RISCV/vplan-vp-intrinsics-fixed-order-recurrence.ll
M llvm/test/Transforms/LoopVectorize/RISCV/vplan-vp-select-intrinsics.ll
M llvm/test/Transforms/LoopVectorize/vplan-predicate-switch.ll
M llvm/unittests/Transforms/Vectorize/VPlanVerifierTest.cpp
Log Message:
-----------
[VPlan] Use EMIT-SCALAR for single-scalar VPPhis (NFC).
Follow-up to https://github.com/llvm/llvm-project/pull/141428, to also
use EMIT-SCALAR for VPPhis that are single scalars.
Commit: 56745e02435d107f21e9fa5c6fe35fa1621d3f6a
https://github.com/llvm/llvm-project/commit/56745e02435d107f21e9fa5c6fe35fa1621d3f6a
Author: Kareem Ergawy <kareem.ergawy at amd.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
A flang/include/flang/Support/Flags.h
M flang/lib/Lower/Bridge.cpp
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/lib/Lower/OpenMP/Utils.cpp
M flang/lib/Lower/OpenMP/Utils.h
M flang/lib/Support/CMakeLists.txt
A flang/lib/Support/Flags.cpp
M flang/test/Lower/OpenMP/DelayedPrivatization/distribute-standalone-private.f90
M flang/test/Lower/OpenMP/DelayedPrivatization/equivalence.f90
M flang/test/Lower/OpenMP/DelayedPrivatization/target-private-allocatable.f90
M flang/test/Lower/OpenMP/DelayedPrivatization/target-private-multiple-variables.f90
M flang/test/Lower/OpenMP/DelayedPrivatization/target-private-simple.f90
M flang/test/Lower/OpenMP/allocatable-multiple-vars.f90
M flang/test/Lower/OpenMP/cfg-conversion-omp.private.f90
M flang/test/Lower/OpenMP/debug_info_conflict.f90
M flang/test/Lower/OpenMP/delayed-privatization-allocatable-array.f90
M flang/test/Lower/OpenMP/delayed-privatization-allocatable-firstprivate.f90
M flang/test/Lower/OpenMP/delayed-privatization-allocatable-private.f90
M flang/test/Lower/OpenMP/delayed-privatization-array.f90
M flang/test/Lower/OpenMP/delayed-privatization-character-array.f90
M flang/test/Lower/OpenMP/delayed-privatization-character.f90
M flang/test/Lower/OpenMP/delayed-privatization-default-init.f90
M flang/test/Lower/OpenMP/delayed-privatization-firstprivate.f90
M flang/test/Lower/OpenMP/delayed-privatization-lower-allocatable-to-llvm.f90
M flang/test/Lower/OpenMP/delayed-privatization-pointer.f90
M flang/test/Lower/OpenMP/delayed-privatization-private-firstprivate.f90
M flang/test/Lower/OpenMP/delayed-privatization-private.f90
M flang/test/Lower/OpenMP/delayed-privatization-reduction-byref.f90
M flang/test/Lower/OpenMP/delayed-privatization-reduction.f90
M flang/test/Lower/OpenMP/different_vars_lastprivate_barrier.f90
M flang/test/Lower/OpenMP/firstprivate-commonblock.f90
M flang/test/Lower/OpenMP/private-commonblock.f90
M flang/test/Lower/OpenMP/private-derived-type.f90
M flang/test/Lower/OpenMP/same_var_first_lastprivate.f90
M flang/test/Lower/do_concurrent_delayed_locality.f90
Log Message:
-----------
[flang] Generlize names of delayed privatization CLI flags (#138816)
Remove the `openmp` prefix from delayed privatization/localization flags
since they are now used for `do concurrent` as well.
PR stack:
- https://github.com/llvm/llvm-project/pull/137928
- https://github.com/llvm/llvm-project/pull/138505
- https://github.com/llvm/llvm-project/pull/138506
- https://github.com/llvm/llvm-project/pull/138512
- https://github.com/llvm/llvm-project/pull/138534
- https://github.com/llvm/llvm-project/pull/138816 (this PR)
Commit: 0a903bfb59d4922cc5f58949c58fb0451e6483ad
https://github.com/llvm/llvm-project/commit/0a903bfb59d4922cc5f58949c58fb0451e6483ad
Author: Alex Bradbury <asb at igalia.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
M llvm/test/CodeGen/RISCV/machine-copyprop-simplifyinstruction.mir
Log Message:
-----------
[RISCV] Canonicalize beq/bne with x0 as first arg to beqz/bnez (#141781)
This covers similar ground as #139086. Although I think it makes sense
to land both, the practical motivation for #139086 is significantly
reduced here.
This canonicalisation makes no difference to compressibility (we have
compress patterns for the operands in either order), but it does mean
that easier to read assembly is printed, as we don't have aliases
defined for beq/bne with x0 in either position.
Commit: 8192662f09439b81d5ca8da22a4e1e54492ecb18
https://github.com/llvm/llvm-project/commit/8192662f09439b81d5ca8da22a4e1e54492ecb18
Author: Henrich Lauko <xlauko at mail.muni.cz>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M clang/include/clang/CIR/Dialect/Builder/CIRBaseBuilder.h
M clang/lib/CIR/CodeGen/CIRGenBuilder.h
M clang/lib/CIR/CodeGen/CIRGenModule.h
M clang/lib/CIR/Dialect/IR/CIRAttrs.cpp
M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
M clang/unittests/CIR/PointerLikeTest.cpp
Log Message:
-----------
[CIR] Streamline creation of mlir::IntegerAttrs using mlir::Builder (#141830)
- Uses getI<bitwidth>IntegerAttr builder method instead of explicit attribute and its type creation.
- Adds few helper functions `getAlignmentAttr` to build alignment representing mlir::IntegerAttr.
- Removes duplicit type parameters, that are inferred from mlir::IntegerAttr.
This mirrors incubator changes from https://github.com/llvm/clangir/pull/1645#event-17840237927
Commit: fc8fdbaf588616f57c1cdc6c5ebd513b5e7e1f3e
https://github.com/llvm/llvm-project/commit/fc8fdbaf588616f57c1cdc6c5ebd513b5e7e1f3e
Author: Junjie Gu <junjie.gu at intel.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/include/llvm/ADT/GenericUniformityImpl.h
A llvm/test/Analysis/UniformityAnalysis/AMDGPU/branch-after-join.ll
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/irreducible/diverged-entry-headers-nested.ll
A llvm/test/Analysis/UniformityAnalysis/AMDGPU/irreducible/hidden-post-dom.ll
A llvm/test/Analysis/UniformityAnalysis/AMDGPU/phi_div_branch.ll
A llvm/test/Analysis/UniformityAnalysis/AMDGPU/phi_div_loop.ll
A llvm/test/Analysis/UniformityAnalysis/AMDGPU/unstructured-branch.ll
Log Message:
-----------
[Uniformity] Fixed control-div early stop (#139667)
Control-divergence finds joins by propagating labels from the divergent
control branch. The code that checks the early stop for propagation is
not correct in some cases.
This PR, also included changes from ssahasra, fixes this issue by
stopping no early than the post-dominator of the divergent branch.
https://github.com/llvm/llvm-project/issues/137277
---------
Co-authored-by: Sameer Sahasrabuddhe <sameer.sahasrabuddhe at amd.com>
Commit: 8d084c6c76836aba34fa03380da740333bea1aad
https://github.com/llvm/llvm-project/commit/8d084c6c76836aba34fa03380da740333bea1aad
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M clang/lib/AST/ASTStructuralEquivalence.cpp
M clang/test/C/C23/n3037.c
Log Message:
-----------
[C23] Handle type compatibility of unnamed records (#141783)
At the top-level, both types need to have a tag in order for them to be
compatible within the same TU in C23. An unnamed structure has no tag,
so it cannot be compatible with another type within the TU.
Fixes #141724
Commit: 50dded2df4ff991054711af3836745cdfc0a5117
https://github.com/llvm/llvm-project/commit/50dded2df4ff991054711af3836745cdfc0a5117
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M clang/lib/AST/ByteCode/Interp.cpp
M clang/lib/AST/ByteCode/InterpBuiltin.cpp
M clang/lib/AST/ByteCode/InterpState.h
Log Message:
-----------
[clang][bytecode] Simplify diagnoseUnknownDecl if we're not diagnosing (#141910)
See the added comment.
This improves compile times a bit:
https://llvm-compile-time-tracker.com/compare.php?from=ac62f73f19ae9fb415d3fc423949b8d7543e8717&to=0d6cf47197a4ee11cdd1ee4a48ea38a2907c3d45&stat=instructions:u
Commit: b46b9fe7de0579acc2176fc9e766f355f9c505de
https://github.com/llvm/llvm-project/commit/b46b9fe7de0579acc2176fc9e766f355f9c505de
Author: Hemang Gadhavi <hemang.gadhavi at ibm.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M lldb/source/Host/aix/Host.cpp
M lldb/source/Host/aix/HostInfoAIX.cpp
M lldb/unittests/Host/HostInfoTest.cpp
M lldb/unittests/Host/HostTest.cpp
Log Message:
-----------
[lldb][AIX] get host info for AIX (cont..) (#138687)
This PR is in reference to porting LLDB on AIX.
Link to discussions on llvm discourse and github:
1. https://discourse.llvm.org/t/port-lldb-to-ibm-aix/80640
2. https://github.com/llvm/llvm-project/issues/101657
The complete changes for porting are present in this draft PR:
https://github.com/llvm/llvm-project/pull/102601
- Added testcase for `GetProgramFileSpec()` & `FindProcesses()`
- Added changes to get the host information for AIX (info like
FindProcessesImpl() GetProgramFileSpec()),
continue from the PR https://github.com/llvm/llvm-project/pull/134354
Commit: 3eb28b8871fb3d229e3250de6842d41fc4dedd52
https://github.com/llvm/llvm-project/commit/3eb28b8871fb3d229e3250de6842d41fc4dedd52
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
M lldb/test/API/lang/cpp/gmodules/template-with-same-arg/TestTemplateWithSameArg.py
M lldb/test/API/lang/cpp/gmodules/template-with-same-arg/main.cpp
Log Message:
-----------
Reland "[lldb][Modules] Fix error handling of parseAndLoadModuleMapFile (#141220)"
This reverts commit 57f3151a3144259f4e830fc43a1424e4c1f15985.
LLDB was hitting an assert when compiling the `std` module. The `std`
module was being pulled in because we use `#import <cstdio>` in the test
to set a breakpoint on `puts`. That's redundant and to work around the
crash we just remove that include. The underlying issue of compiling the
`std` module still exists and I'll investigate that separately. The
reason it started failing after the `ClangModulesDeclVendor` patch is that we would previously just fail to load the modulemap (and thus not load any of the modules). Now we do load the modulemap (and modules) when we prepare for parsing the expression.
Commit: cec85f04a4d0fd2c814c69f57b60951abdfc5333
https://github.com/llvm/llvm-project/commit/cec85f04a4d0fd2c814c69f57b60951abdfc5333
Author: Kareem Ergawy <kareem.ergawy at amd.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M flang/include/flang/Lower/Support/Utils.h
M flang/lib/Lower/Bridge.cpp
M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
M flang/lib/Lower/OpenMP/DataSharingProcessor.h
M flang/lib/Lower/Support/Utils.cpp
Log Message:
-----------
[flang][fir][OpenMP] Refactor privtization code into shared location (#141767)
Refactors the utils needed to create privtization/locatization ops for
both the fir and OpenMP dialects into a shared location isolating OpenMP
stuff out of it as much as possible.
Commit: af1934e5628d4e87a8bda8d627170c16740cefcd
https://github.com/llvm/llvm-project/commit/af1934e5628d4e87a8bda8d627170c16740cefcd
Author: Ami-zhang <zhanglimin at loongson.cn>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M clang/lib/Basic/Targets/LoongArch.cpp
M clang/lib/Basic/Targets/LoongArch.h
M clang/lib/Sema/SemaDeclAttr.cpp
A clang/test/CodeGen/LoongArch/targetattr.c
A clang/test/Sema/attr-target-loongarch.c
M llvm/include/llvm/TargetParser/LoongArchTargetParser.h
M llvm/lib/TargetParser/LoongArchTargetParser.cpp
Log Message:
-----------
[Clang][LoongArch] Support target attribute for function (#140700)
This adds support under LoongArch for the target("..") attributes.
The supported formats are:
- "arch=<arch>" strings, that specify the architecture features for a
function as per the -march=arch option.
- "tune=<cpu>" strings, that specify the tune-cpu cpu for a function as
per -mtune.
- "<feature>", "no-<feature>" enabled/disables the specific feature.
Commit: 4ff5d3f33d59246df2d99a8a9ee7164a73ddd04d
https://github.com/llvm/llvm-project/commit/4ff5d3f33d59246df2d99a8a9ee7164a73ddd04d
Author: Longsheng Mou <longshengmou at gmail.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M mlir/include/mlir/Dialect/GPU/IR/GPUOps.td
Log Message:
-----------
[mlir][gpu] Update descriptions format of GPU ops(NFC) (#141395)
Commit: dedf75b547605c5133d287a11ce5a0fb8ad43b1a
https://github.com/llvm/llvm-project/commit/dedf75b547605c5133d287a11ce5a0fb8ad43b1a
Author: Abhina Sreeskantharajan <Abhina.Sreeskantharajan at ibm.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M clang/lib/Lex/HeaderMap.cpp
Log Message:
-----------
[SystemZ][z/OS] Add back include required for strnlen function
Commit: dc23c28f8a8def8520dc7f133e206ea1f72538d3
https://github.com/llvm/llvm-project/commit/dc23c28f8a8def8520dc7f133e206ea1f72538d3
Author: Ross Brunton <ross at codeplay.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M offload/liboffload/src/OffloadImpl.cpp
Log Message:
-----------
[Offload] Fix Error checking (#141939)
All errors must be checked - this includes the local variable we were
using to increase the lifetime of `Res`. As we were not explicitly
checking it, it resulted in an `abort` in debug builds.
Commit: 2fccbb4f14a1e09e5eb9fca2bb16c7e3936868ac
https://github.com/llvm/llvm-project/commit/2fccbb4f14a1e09e5eb9fca2bb16c7e3936868ac
Author: Victor Lomuller <victor at codeplay.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
R clang/include/clang/Basic/BuiltinsSPIRV.td
A clang/include/clang/Basic/BuiltinsSPIRVBase.td
A clang/include/clang/Basic/BuiltinsSPIRVCL.td
A clang/include/clang/Basic/BuiltinsSPIRVCommon.td
A clang/include/clang/Basic/BuiltinsSPIRVVK.td
M clang/include/clang/Basic/CMakeLists.txt
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Basic/TargetBuiltins.h
M clang/include/clang/Sema/SemaSPIRV.h
M clang/lib/AST/ASTContext.cpp
M clang/lib/Basic/Targets/SPIR.cpp
M clang/lib/Basic/Targets/SPIR.h
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/CodeGen/TargetBuiltins/SPIR.cpp
M clang/lib/Headers/CMakeLists.txt
A clang/lib/Headers/__clang_spirv_builtins.h
M clang/lib/Sema/SemaChecking.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/lib/Sema/SemaSPIRV.cpp
A clang/test/CodeGenSPIRV/Builtins/generic_cast_to_ptr_explicit.c
A clang/test/Headers/spirv_functions.cpp
A clang/test/SemaSPIRV/BuiltIns/generic_cast_to_ptr_explicit.c
A clang/test/SemaSPIRV/BuiltIns/invalid_target_cl.c
A clang/test/SemaSPIRV/BuiltIns/invalid_target_vk.c
Log Message:
-----------
[clang][SPIRV] Add builtin for OpGenericCastToPtrExplicit and its SPIR-V friendly binding (#137805)
The patch introduce __builtin_spirv_generic_cast_to_ptr_explicit which
is lowered to the llvm.spv.generic.cast.to.ptr.explicit intrinsic.
The SPIR-V builtins are now split into 3 differents file:
BuiltinsSPIRVCore.td,
BuiltinsSPIRVVK.td for Vulkan specific builtins, BuiltinsSPIRVCL.td for
OpenCL specific builtins
and BuiltinsSPIRVCommon.td for common ones.
The patch also introduces a new header defining its SPIR-V friendly
equivalent (__spirv_GenericCastToPtrExplicit_ToGlobal,
__spirv_GenericCastToPtrExplicit_ToLocal and
__spirv_GenericCastToPtrExplicit_ToPrivate). The functions are declared
as aliases to the new builtin allowing C-like languages to have a
definition to rely on as well as gaining proper front-end diagnostics.
The motivation for the header is to provide a stable binding for
applications or library (such as SYCL) and allows non SPIR-V targets to
provide an implementation (via libclc or similar to how it is done for
gpuintrin.h).
Commit: e84503e145749e68ebc13cbed038cceb639eb996
https://github.com/llvm/llvm-project/commit/e84503e145749e68ebc13cbed038cceb639eb996
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
M llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-intrinsics.ll
Log Message:
-----------
AMDGPU: Make llvm.amdgcn.make.buffer.rsrc propagate poison (#141913)
Commit: b618c31d2a091e86c6bb5fcc51a806fcae11525b
https://github.com/llvm/llvm-project/commit/b618c31d2a091e86c6bb5fcc51a806fcae11525b
Author: Nicholas Guy <nicholas.guy at arm.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
M llvm/test/CodeGen/AArch64/neon-partial-reduce-dot-product.ll
M llvm/test/CodeGen/AArch64/sve-partial-reduce-dot-product.ll
M llvm/test/CodeGen/AArch64/sve-partial-reduce-wide-add.ll
Log Message:
-----------
[AArch64][SelectionDAG] Add type legalization for partial reduce wide adds (#141075)
Based on work initially done by @JamesChesterman.
Commit: da1aec7871c1b68ad730aa4393611ffce071c592
https://github.com/llvm/llvm-project/commit/da1aec7871c1b68ad730aa4393611ffce071c592
Author: Luke Lau <luke at igalia.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/lib/Analysis/ConstantFolding.cpp
M llvm/lib/Analysis/TargetTransformInfo.cpp
M llvm/lib/IR/Constants.cpp
Log Message:
-----------
[Constant] Make Constant::getSplatValue return poison on poison (#141870)
This is a follow up from #141845.
TargetTransformInfo::getOperandInfo needs to be updated to check for
undef values as otherwise a splat is considered a constant, and some
RISC-V cost model tests will start adding a cost to materialize the
constant.
Commit: 571d2d8e681e2095755181ce0e4bacc055ae821d
https://github.com/llvm/llvm-project/commit/571d2d8e681e2095755181ce0e4bacc055ae821d
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M clang/lib/Lex/PPDirectives.cpp
Log Message:
-----------
[clang][Lex][NFC] Reorder SrcMgr checks in CheckMacroName (#141483)
isInPredefinedFile() will look at the presumed loc, which is
comparatively slow. Move it after isInSystemFile().
http://llvm-compile-time-tracker.com/compare.php?from=843e362318e884991e517a54446b4faeacdad789&to=de0421a1a38052042721a67a6094f5cb38431f26&stat=instructions:u
Commit: ad00ab2f7ac7b199523b6efc81e8db693200e172
https://github.com/llvm/llvm-project/commit/ad00ab2f7ac7b199523b6efc81e8db693200e172
Author: Jon Roelofs <jonathan_roelofs at apple.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
A llvm/test/tools/llvm-remarkutil/Inputs/instruction-mix.yaml
M llvm/test/tools/llvm-remarkutil/broken-yaml-remark.test
M llvm/test/tools/llvm-remarkutil/empty-file.test
A llvm/test/tools/llvm-remarkutil/instruction-mix.test
M llvm/tools/llvm-remarkutil/CMakeLists.txt
A llvm/tools/llvm-remarkutil/RemarkInstructionMix.cpp
Log Message:
-----------
[llvm-remarkutil] Add an instruction-mix tool (#140598)
The new tool constructs a histogram of instruction frequencies,
optionally filtered by function name via a regex. It can display in
either a human-readable table format, or machine-readable CSV.
Commit: 4e6c654efe632eaa4d94c6e2e84ac9ac83dfe211
https://github.com/llvm/llvm-project/commit/4e6c654efe632eaa4d94c6e2e84ac9ac83dfe211
Author: Kareem Ergawy <kareem.ergawy at amd.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M flang/lib/Lower/Support/Utils.cpp
Log Message:
-----------
[NFC][flang] Remove unused variable from `privatizeSymbol` (#141938)
Commit: a997648fd966cd20be6a8467f8c8166941135360
https://github.com/llvm/llvm-project/commit/a997648fd966cd20be6a8467f8c8166941135360
Author: Helena Kotas <hekotas at microsoft.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/lib/Analysis/DXILResource.cpp
M llvm/test/CodeGen/DirectX/Metadata/cbuffer_metadata.ll
M llvm/test/CodeGen/DirectX/Metadata/resource-symbols.ll
M llvm/test/CodeGen/DirectX/Metadata/srv_metadata.ll
M llvm/test/CodeGen/DirectX/Metadata/uav_metadata.ll
Log Message:
-----------
[DirectX] Use resource names when generating DXIL metadata (#140635)
Use resource names gathered during the DXIL resource analysis when creating DXIL resources metadata.
Part 4/4 of https://github.com/llvm/llvm-project/issues/105059
Closes #105059
Commit: c6f72efcb702938bc80aec07639e3ff3e08bb1dd
https://github.com/llvm/llvm-project/commit/c6f72efcb702938bc80aec07639e3ff3e08bb1dd
Author: Paschalis Mpeis <paschalis.mpeis at arm.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M bolt/Maintainers.txt
Log Message:
-----------
[BOLT] Add AArch64 backend maintainer (#141597)
Summary: Add Paschalis as an AArch64 backend maintainer.
Commit: c2bf1e20b9f63be3a190494e6657a711788c12f7
https://github.com/llvm/llvm-project/commit/c2bf1e20b9f63be3a190494e6657a711788c12f7
Author: Koakuma <koachan at protonmail.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/lib/Target/Sparc/Disassembler/SparcDisassembler.cpp
M llvm/lib/Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp
M llvm/lib/Target/Sparc/MCTargetDesc/SparcFixupKinds.h
M llvm/lib/Target/Sparc/MCTargetDesc/SparcMCCodeEmitter.cpp
M llvm/lib/Target/Sparc/Sparc.td
M llvm/lib/Target/Sparc/SparcInstrAliases.td
M llvm/lib/Target/Sparc/SparcInstrFormats.td
M llvm/lib/Target/Sparc/SparcInstrInfo.td
M llvm/lib/Target/Sparc/SparcInstrUAOSA.td
M llvm/test/MC/Disassembler/Sparc/sparc-ua-osa.txt
M llvm/test/MC/Sparc/Relocations/expr.s
A llvm/test/MC/Sparc/sparc-osa2011.s
R llvm/test/MC/Sparc/sparc64-bpr-offset.s
A llvm/test/MC/Sparc/sparc64-branch-offset.s
Log Message:
-----------
[SPARC][IAS] Add definitions for OSA 2011 instructions
Reviewers: rorth, brad0, s-barannikov
Reviewed By: s-barannikov
Pull Request: https://github.com/llvm/llvm-project/pull/138403
Commit: 0e2da3d80af43d23c1b2bae67f317fe35fa39d9e
https://github.com/llvm/llvm-project/commit/0e2da3d80af43d23c1b2bae67f317fe35fa39d9e
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M clang/lib/AST/ByteCode/Interp.cpp
Log Message:
-----------
[clang][bytecode] Only check expr in CheckThis() if we have to (#141951)
Pre C++11, we dont't need to get the value of IsImplicit.
Commit: cff517d46e838a8e3d1265a6515001108cda0d24
https://github.com/llvm/llvm-project/commit/cff517d46e838a8e3d1265a6515001108cda0d24
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M clang/lib/AST/ByteCode/Interp.h
Log Message:
-----------
[clang][bytecode] Don't get the expr without emitting a diagnostic (#141953)
Commit: 177d7c128360ad7be5f82541aa2ec217a87cc42c
https://github.com/llvm/llvm-project/commit/177d7c128360ad7be5f82541aa2ec217a87cc42c
Author: lntue <lntue at google.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M libc/src/math/generic/hypotf16.cpp
Log Message:
-----------
[libc][math] Fix some mis-optimization issue with hypotf16. (#141960)
Commit: e6607a9c0036d4ee23e6d4f20cdd6f11de907df1
https://github.com/llvm/llvm-project/commit/e6607a9c0036d4ee23e6d4f20cdd6f11de907df1
Author: Jacob Lalonde <jalalonde at fb.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M lldb/include/lldb/Target/Platform.h
M lldb/include/lldb/Target/UnixSignals.h
M lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp
M lldb/source/Plugins/Platform/Linux/PlatformLinux.h
M lldb/source/Plugins/Process/Utility/LinuxSignals.cpp
M lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp
M lldb/source/Plugins/Process/elf-core/ThreadElfCore.cpp
M lldb/source/Plugins/Process/elf-core/ThreadElfCore.h
M lldb/source/Target/UnixSignals.cpp
M lldb/unittests/Signals/UnixSignalsTest.cpp
Log Message:
-----------
Reapply "[LLDB][ELF Core] Support all the Generic (Negative) SI Codes." (#141670)
After some debugging, I found out ProcessELFCore never updates the
platform. I've updated ProcessElfCore to set the arch and platform
before we parse the Notes.
Commit: cacd2f4ba92b67f8c7034fefb9ce72208e82502d
https://github.com/llvm/llvm-project/commit/cacd2f4ba92b67f8c7034fefb9ce72208e82502d
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M utils/bazel/llvm-project-overlay/clang/BUILD.bazel
Log Message:
-----------
[bazel] Port c474f8f2404dfe5a902cdf93d678a0bfe8cc8f44
Commit: 36252f89ee1ec8f467238776eda1ad06b2bab412
https://github.com/llvm/llvm-project/commit/36252f89ee1ec8f467238776eda1ad06b2bab412
Author: Craig Topper <craig.topper at sifive.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.h
M llvm/test/CodeGen/RISCV/bswap-bitreverse.ll
Log Message:
-----------
[RISCV] Add BREV8 to SimplifyDemandedBitsForTargetNode. (#141898)
Commit: 5934a687769982b49a719ebad690abafbc722d59
https://github.com/llvm/llvm-project/commit/5934a687769982b49a719ebad690abafbc722d59
Author: Aiden Grossman <aidengrossman at google.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M .ci/monolithic-linux.sh
M .ci/monolithic-windows.sh
Log Message:
-----------
[CI] Upload JUnit Test Results as Artifacts (#141905)
This enables a script to come through later and download all the test
files for further offline analysis. This is intended to enable
developing a tool that can spot flaky tests.
Commit: 775b355520d0dbb318b117a604d5d57afeb9034d
https://github.com/llvm/llvm-project/commit/775b355520d0dbb318b117a604d5d57afeb9034d
Author: Aiden Grossman <aidengrossman at google.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M .ci/metrics/metrics.py
Log Message:
-----------
[Github] Fix TODO after removal of continue on error (#141896)
Previously we were using continue-on-error within the workflows to
prevent sending out notifications for workflow failures. We worked
around this in the metrics container to see what was actually
failing/passing by looking at the individual steps. Now that we have
gotten rid of the continue-on-error flag, we just have to look at the
job status.
Commit: 34a792b0db4bbb1cbde45b38e3f1edde857eb11e
https://github.com/llvm/llvm-project/commit/34a792b0db4bbb1cbde45b38e3f1edde857eb11e
Author: Nick Sarnie <nick.sarnie at intel.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M clang/lib/Driver/ToolChains/CommonArgs.cpp
A clang/test/Driver/Inputs/spirv-openmp/lib/libomptarget-spirv.bc
R clang/test/Driver/Inputs/spirv-openmp/lib/libomptarget-spirv64.bc
M clang/test/Driver/spirv-openmp-toolchain.c
Log Message:
-----------
[clang][Driver][OpenMP][SPIR-V] Fix SPIR-V OpenMP DeviceRTL expected file name (#141855)
The option name to specify the path is `--libomptarget-spirv-bc-path` so
the existing error gives an invalid option name
(`--libomptarget-spirv64-bc-path`) when it can't find the file. Also the
expected file name is weird, we expect the file name to be
`libomptarget-spirv64.bc`. and use the same prefix `spirv64` to suggest
the option to the user.
Also the `nvptx` triple is `nvptx64` and the option/filename there is
just `nvptx`, so we should be consistent.
Signed-off-by: Sarnie, Nick <nick.sarnie at intel.com>
Commit: 0fd6605e9d0de6f71ad05c2362b7e6f28b52acfc
https://github.com/llvm/llvm-project/commit/0fd6605e9d0de6f71ad05c2362b7e6f28b52acfc
Author: Kazu Hirata <kazu at google.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M clang/lib/Sema/SemaSPIRV.cpp
Log Message:
-----------
[Sema] Fix a warning
This patch fixes:
clang/lib/Sema/SemaSPIRV.cpp:132:3: error: default label in switch
which covers all enumeration values
[-Werror,-Wcovered-switch-default]
Commit: 4dbd960df70757256229331656015bd1d5f75b0e
https://github.com/llvm/llvm-project/commit/4dbd960df70757256229331656015bd1d5f75b0e
Author: Richard Howell <rmaz at users.noreply.github.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M lld/MachO/DriverUtils.cpp
Log Message:
-----------
[lld] check cache before real_path in loadDylib (#140791)
Commit: 6f6899e72d7c843d1d7318c0a2c70a7bd8ab7687
https://github.com/llvm/llvm-project/commit/6f6899e72d7c843d1d7318c0a2c70a7bd8ab7687
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M .github/workflows/libcxx-build-and-test.yaml
Log Message:
-----------
[libc++] Run macOS jobs after the Stage 2 CI (#141816)
Our CI is currently having major difficulties, which causes the Stage 3
CI to basically never succeed. As a result, our macOS CI jobs have not
been running recently. This patch gates the macOS CI jobs on Stage 2
instead of Stage 3 so that they actually run sometimes.
Commit: c81a4ba769ac3ec28ed144b58558211cca0504f0
https://github.com/llvm/llvm-project/commit/c81a4ba769ac3ec28ed144b58558211cca0504f0
Author: David Spickett <david.spickett at linaro.org>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M clang/docs/SanitizerSpecialCaseList.rst
Log Message:
-----------
[clang][docs] Remove reference to deleted line in sanitizer doc (#141921)
This was added by 8eb34700c2b1847ec6dfb8f92b305b65278d2ec0 which added
an opt into the new ignore list behaviour.
Then 81d1df2a39f0616be4b530cbf86b3f575442a347 flipped it so you had to
opt into the old behaviour, but didn't remove the "The line above" bit.
Commit: a859735ae7d28ecabb1a8eb4f0f1b8179aa58e7d
https://github.com/llvm/llvm-project/commit/a859735ae7d28ecabb1a8eb4f0f1b8179aa58e7d
Author: John Harrison <harjohn at google.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py
M lldb/packages/Python/lldbsuite/test/tools/lldb-dap/lldbdap_testcase.py
M lldb/test/API/tools/lldb-dap/cancel/TestDAP_cancel.py
M lldb/test/API/tools/lldb-dap/commands/TestDAP_commands.py
M lldb/test/API/tools/lldb-dap/console/TestDAP_redirection_to_console.py
M lldb/test/API/tools/lldb-dap/variables/TestDAP_variables.py
Log Message:
-----------
[lldb-dap] Test Gardening, improving DebugCommunication. (#141689)
Improving the readability and correctness of DebugCommunication by
adding type annotations to many parts of the library and trying to
improve the implementation of a few key areas of the code to better
handle correctness.
Specifically, this refactored the
`DebugCommunication._handle_recv_packet` function to ensure consistency
with the reader thread when handling state changes and improved the
`DebugCommunication._recv_packet` helper to make it easier to follow by
adding some additional helpers.
Commit: ea2b77aec701d0fd2dc76e6be28fb89583d93297
https://github.com/llvm/llvm-project/commit/ea2b77aec701d0fd2dc76e6be28fb89583d93297
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
A llvm/test/Transforms/SLPVectorizer/X86/many-uses-parent-node.ll
Log Message:
-----------
[SLP]Check if the user node has instructions, used only outside
Gather nodes with parents, which scalar instructions are used only
outside, are generated before the whole tree vectorization. Need to
teach isGatherShuffledSingleRegisterEntry to check that such nodes are
emitted first and they cannot depend on other nodes, which are emitted
later.
Fixes #141628
Commit: df91a0211a8092fbd70ce09ab39b1867b2af72d0
https://github.com/llvm/llvm-project/commit/df91a0211a8092fbd70ce09ab39b1867b2af72d0
Author: anjenner <161845516+anjenner at users.noreply.github.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
M llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-idiv.ll
Log Message:
-----------
[AMDGPU] Handle CreateBinOp not returning BinaryOperator (#137791)
AMDGPUCodeGenPrepareImpl::visitBinaryOperator() calls
Builder.CreateBinOp() and casts the resulting Value as a BinaryOperator
without checking, leading to an assert failure in a case found by
fuzzing. In this case, the operands are constant and CreateBinOp does
constant folding so returns a Constant instead of a BinaryOperator.
Commit: db9cdb30bc391bc4480b4049844c89a20ba6364e
https://github.com/llvm/llvm-project/commit/db9cdb30bc391bc4480b4049844c89a20ba6364e
Author: Helena Kotas <hekotas at microsoft.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/lib/Target/DirectX/DXILResourceImplicitBinding.cpp
M llvm/lib/Target/DirectX/DXILTranslateMetadata.cpp
M llvm/lib/Target/DirectX/DirectXTargetMachine.cpp
M llvm/test/CodeGen/DirectX/llc-pipeline.ll
Log Message:
-----------
[HLSL] Move DXILResourceImplicitBinding pass closer to DXIL Resource Analysis (#140981)
Moving `DXILResourceImplicitBinding` pass and the associated `DXILResourceBindingAnalysis` lower in the llc pipeline to just before the DXIL Resource Analysis, which is where its results are first needed, and adjusting the set of analyses it preserves.
The reason for this change is that I will soon be adding `DXILResourceBindingAnalysis` dependency to `DXILPostOptimizationValidation` pass and bringing this closer to where it is needed avoid unnecessary churn to preserved analysis setting in preceding passes.
Commit: a70d080ded1b809f11bd0c37419815746ecbab91
https://github.com/llvm/llvm-project/commit/a70d080ded1b809f11bd0c37419815746ecbab91
Author: Finn Plummer <finn.c.plum at gmail.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M clang/include/clang/Basic/DiagnosticParseKinds.td
M clang/include/clang/Lex/HLSLRootSignatureTokenKinds.def
M clang/include/clang/Parse/ParseHLSLRootSignature.h
M clang/lib/Parse/ParseHLSLRootSignature.cpp
M clang/unittests/Lex/LexHLSLRootSignatureTest.cpp
M clang/unittests/Parse/ParseHLSLRootSignatureTest.cpp
M llvm/include/llvm/Frontend/HLSL/HLSLRootSignature.h
Log Message:
-----------
[HLSL][RootSignature] Add parsing of floats for StaticSampler (#140181)
- defines in-memory representaiton of MipLODBias to allow for testing of
a float parameter
- defines `handleInt` and `handleFloat` to handle converting a token's
`NumSpelling` into a valid float
- plugs this into `parseFloatParam` to fill in the MipLODBias param
The parsing of floats is required to match the behaviour of DXC. This
behaviour is outlined as follows:
- if the number is an integer then convert it using `_atoi64`, check for
overflow and static_cast this to a float
- if the number is a float then convert it using `strtod`, check for
float overflow and static_cast this to a float, this will implicitly
also check for double over/underflow and if the string is malformed then
it will return an error
This pr matches this behaviour by parsing as, uint/int accordingly and
then casting, or, by using the correct APFloat semantics/rounding mode
with `NumericLiteralParser`.
- adds testing of error diagnostics and valid float param values to
demonstrate functionality
Part 2 of https://github.com/llvm/llvm-project/issues/126574
Commit: 2a77f50ef34d131565b8d9f2bd12267c16166a29
https://github.com/llvm/llvm-project/commit/2a77f50ef34d131565b8d9f2bd12267c16166a29
Author: Craig Topper <craig.topper at sifive.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/lib/Target/RISCV/RISCVDeadRegisterDefinitions.cpp
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
M llvm/lib/Target/RISCV/RISCVInstrPredicates.td
M llvm/test/CodeGen/RISCV/rvv/vmv-copy.mir
M llvm/test/CodeGen/RISCV/rvv/vsetvli-insert-coalesce.mir
M llvm/test/CodeGen/RISCV/rvv/vsetvli-insert-crossbb.mir
M llvm/test/CodeGen/RISCV/rvv/vsetvli-insert.mir
Log Message:
-----------
[RISCV] Add a PseudoVSETVLIX0X0 pseudo for the x0,x0 vsetvli. NFC (#141875)
Strengthen the register class on PseudoVSETVLIX0 to disallow X0 as a
destination. This allows removal of an opcode check from
RISCVDeadRegisterDefinitions. Now the register class will prevent the
conversion to X0.
I'm considering removing the explicit X0 operands and adding them during
PseudoExpansion, but it complicates finding the vtype operand.
Commit: b4e8e4ace35669b717228c1bb39e82be71973437
https://github.com/llvm/llvm-project/commit/b4e8e4ace35669b717228c1bb39e82be71973437
Author: Tom Tromey <tromey at adacore.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/include/llvm/IR/DebugInfoMetadata.h
M llvm/lib/IR/DIBuilder.cpp
Log Message:
-----------
Add flags check to createVariantMemberType (#139261)
I noticed that DIDerivedType overloads the "ExtraData" member depending
on the precise type being implemented. A variant part uses this to store
the discriminant (a reference to another member), but a bit field uses
it to store the storage offset.
This patch changes createVariantMemberType to ensure that the
FlagBitField is not used when creating a variant part. If this flag is
used, the ExtraData field would be erroneously used in two different
ways.
The patch also updates a comment in DIDerivedType to list a couple more
cases.
Commit: 0a1c7f9a819db596fd98bf6dc02019548e4d3748
https://github.com/llvm/llvm-project/commit/0a1c7f9a819db596fd98bf6dc02019548e4d3748
Author: Finn Plummer <finn.c.plum at gmail.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/include/llvm/Frontend/HLSL/HLSLRootSignature.h
M llvm/lib/Frontend/HLSL/HLSLRootSignature.cpp
M llvm/unittests/Frontend/HLSLRootSignatureDumpTest.cpp
Log Message:
-----------
[HLSL][RootSignature] Implement serialization of `RootConstants` and `RootFlags` (#141130)
- Implements serialization of the currently completely defined
`RootElement`s, namely `RootConstants` and `RootFlags`
- Adds unit testing for the serialization methods
Resolves: https://github.com/llvm/llvm-project/issues/138190 and
https://github.com/llvm/llvm-project/issues/138192
Commit: 775525471e2464dd4b0002d7b81cac6c9effeee5
https://github.com/llvm/llvm-project/commit/775525471e2464dd4b0002d7b81cac6c9effeee5
Author: David Green <david.green at arm.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
M llvm/lib/Target/ARM/ARMBaseInstrInfo.h
Log Message:
-----------
[ARM] Remove unused enable-arm-3-addr-conv (#141850)
This code is not enabled by default and has no tests, having been added
back in 10043e215bcfd. It can be safely removed to help keep things
simpler, not needing to maintain code that is never used.
Commit: a26796292ea821c24c62fea51642cea7515b2f42
https://github.com/llvm/llvm-project/commit/a26796292ea821c24c62fea51642cea7515b2f42
Author: Uzair Nawaz <uzairnawaz at google.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M libc/config/linux/x86_64/entrypoints.txt
M libc/include/wchar.yaml
M libc/src/wchar/CMakeLists.txt
A libc/src/wchar/wmemset.cpp
A libc/src/wchar/wmemset.h
M libc/test/src/wchar/CMakeLists.txt
A libc/test/src/wchar/wmemset_test.cpp
Log Message:
-----------
[libc] Implemented wmemset and added tests (#141691)
Implemented and tests the wmemset function in libc.
Commit: bebe14218ec66f1c3e94fa33f72c21f03c53c86c
https://github.com/llvm/llvm-project/commit/bebe14218ec66f1c3e94fa33f72c21f03c53c86c
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
Log Message:
-----------
AMDGPU: Delete seemingly dead s_fmaak_f32/s_fmamk_f32 folding code (#140580)
No tests fail with this. I'm not sure I understand the comment,
there can't be any folding into an operand that had to already
be a constant. I tried different combinations of immediates to these
instructions but never hit the condition.
Commit: 3fa57073361c9a3eebdfa2ea14b6ba2f2d351f51
https://github.com/llvm/llvm-project/commit/3fa57073361c9a3eebdfa2ea14b6ba2f2d351f51
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
M llvm/test/CodeGen/AMDGPU/fold-operands-frame-index.mir
Log Message:
-----------
AMDGPU: Remove redundant operand folding checks (#140587)
This was pre-filtering out a specific situation from being
added to the fold candidate list. The operand legality will
ultimately be checked with isOperandLegal before the fold is
performed, so I don't see the plus in pre-filtering this one
case.
Commit: ca5b52fe3e5b43ee5132313e1c87b537dbb9864f
https://github.com/llvm/llvm-project/commit/ca5b52fe3e5b43ee5132313e1c87b537dbb9864f
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
A llvm/test/CodeGen/AMDGPU/fold-imm-copy-agpr.mir
M llvm/test/CodeGen/AMDGPU/fold-imm-copy.mir
M llvm/test/CodeGen/AMDGPU/fold-short-64-bit-literals.mir
A llvm/test/CodeGen/AMDGPU/issue139317-bad-opsel-reg-sequence-fold.ll
A llvm/test/CodeGen/AMDGPU/si-fold-operands-subreg-imm.gfx942.mir
M llvm/test/CodeGen/AMDGPU/si-fold-operands-subreg-imm.mir
Log Message:
-----------
AMDGPU: Add baseline tests for #139317 (#140607)
Commit: b53e545d8bbbd5a31d846763ed03e68b4f75361b
https://github.com/llvm/llvm-project/commit/b53e545d8bbbd5a31d846763ed03e68b4f75361b
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M flang/lib/Semantics/check-cuda.cpp
M flang/test/Semantics/cuf09.cuf
Log Message:
-----------
[flang][cuda] Allow compiler directive in cuda code (#141991)
Commit: ecb8d2b4eb23bfb590a18b6259f8e655ec1e4393
https://github.com/llvm/llvm-project/commit/ecb8d2b4eb23bfb590a18b6259f8e655ec1e4393
Author: Erick Velez <erickvelez7 at gmail.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M clang-tools-extra/test/clang-doc/conversion_function.cpp
Log Message:
-----------
[clang-doc] fix FileCheck for conversion function HTML test (#141976)
The HTML FileCheck was missing the RUN command. Fixing that revealed an
error in the HTML check.
Commit: 4fac2568915baf5023a09f50e5630b5e37fceebd
https://github.com/llvm/llvm-project/commit/4fac2568915baf5023a09f50e5630b5e37fceebd
Author: lntue <lntue at google.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M libc/test/src/math/smoke/asin_test.cpp
Log Message:
-----------
[libc] Fix asin_test smoke test for DAZ modes due to mis-optimization on newer clang. (#141996)
Commit: 98be7593aee4e26e7bccd290cadf09792be1eca5
https://github.com/llvm/llvm-project/commit/98be7593aee4e26e7bccd290cadf09792be1eca5
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M clang/lib/AST/ByteCode/InterpBuiltin.cpp
Log Message:
-----------
[clang][bytecode] Make some builtins no-ops (#141952)
For some builtins, we dont' need to do anything, but due to the cleanup
code being the same for all builtins, we still had to duplicate the
value on the stack. Remove that and get rid of all the unnecessary
pressure on the InterpStack.
Commit: c36dd885d64918c36057f28c11bb36b2ec66b16f
https://github.com/llvm/llvm-project/commit/c36dd885d64918c36057f28c11bb36b2ec66b16f
Author: Jacob Lalonde <jalalonde at fb.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M lldb/source/Plugins/ObjectFile/Minidump/MinidumpFileBuilder.cpp
Log Message:
-----------
[LLDB][Minidump] Fix bug in generating 64b memory minidumps (#141995)
In #129307, we introduced read write in chunks, and during the final
revision of the PR I changed the behavior for 64b memory regions and did
not test an actual 64b memory range.
This caused LLDB to crash whenever we generated a 64b memory region.
64b regions has been a problem in testing for some time as it's a waste
of test resources to generation a 5gb+ Minidump. I will work with
@clayborg and @labath to come up with a way to specify creating a 64b
list instead of a 32b list (likely via the yamilizer).
Commit: a2c2b68b7f69d7787ad2ae08f45cdd9ae003dba9
https://github.com/llvm/llvm-project/commit/a2c2b68b7f69d7787ad2ae08f45cdd9ae003dba9
Author: Qiongsi Wu <qiongsiwu at gmail.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M clang/include/clang/Tooling/DependencyScanning/ModuleDepCollector.h
M clang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp
R clang/test/ClangScanDeps/export.c
M clang/test/ClangScanDeps/optimize-vfs-pch.m
M clang/tools/clang-scan-deps/ClangScanDeps.cpp
Log Message:
-----------
Revert "[clang][Dependency Scanning] Report What a Module Exports during Scanning (#137421)" (#140820)
This reverts commit ea1bfbf3f6399b7d2d840722f0e87542d00f6a35.
The commit did not solve the fundamental issue we need to handle and is
no longer necessary.
rdar://144794793
Commit: dfd667075eda9cfa0ecf11ef86442428d5cabcde
https://github.com/llvm/llvm-project/commit/dfd667075eda9cfa0ecf11ef86442428d5cabcde
Author: Thurston Dang <thurston at google.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M clang/lib/CodeGen/CGExpr.cpp
Log Message:
-----------
[NFCI][ubsan] Add/update deprecation TODOs
Mention -fsanitize-skip-hot-cutoffs and -fsanitize-annotate-debug-info
are available as replacements
Commit: 7bf061bc3d45d98b8c423b2391c44d44ebb98cd8
https://github.com/llvm/llvm-project/commit/7bf061bc3d45d98b8c423b2391c44d44ebb98cd8
Author: Jacob Lalonde <jalalonde at fb.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp
Log Message:
-----------
[LLDB] Add ifndef to platform linux (#141971)
Another iteration of fixes for #141670. Platform linux can be used by
other platforms, so we need to supply the signal values if they're not
defined.
Values are from the
[manpage](https://man7.org/linux/man-pages/man7/signal.7.html)
Commit: 99266bf7459021cc8e20e7bc3733f1d88567869c
https://github.com/llvm/llvm-project/commit/99266bf7459021cc8e20e7bc3733f1d88567869c
Author: Finn Plummer <finn.c.plum at gmail.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/include/llvm/Frontend/HLSL/HLSLRootSignature.h
M llvm/lib/Frontend/HLSL/HLSLRootSignature.cpp
M llvm/unittests/Frontend/HLSLRootSignatureDumpTest.cpp
Log Message:
-----------
Revert "[HLSL][RootSignature] Implement serialization of `RootConstants` and `RootFlags`" (#142005)
The commit caused build failures,
[here](https://lab.llvm.org/buildbot/#/builders/10/builds/6308), due to
a missing linked llvm library (HLSLFrontend) into
`clang/unittests/Parse/CMakeLists.txt`.
While it seems like the fix is straightforwardly to just add this
library, I will revert now to build and verify locally it correctly
fixes it.
Reverts llvm/llvm-project#141130
Commit: bc6253c658d9f044bf61c6893c7fcba0c7dedac3
https://github.com/llvm/llvm-project/commit/bc6253c658d9f044bf61c6893c7fcba0c7dedac3
Author: Paul Kirth <paulkirth at google.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M clang/lib/Basic/Targets/LoongArch.cpp
M clang/lib/Basic/Targets/LoongArch.h
M clang/lib/Sema/SemaDeclAttr.cpp
R clang/test/CodeGen/LoongArch/targetattr.c
R clang/test/Sema/attr-target-loongarch.c
M llvm/include/llvm/TargetParser/LoongArchTargetParser.h
M llvm/lib/TargetParser/LoongArchTargetParser.cpp
Log Message:
-----------
Revert "[Clang][LoongArch] Support target attribute for function" (#141998)
Reverts llvm/llvm-project#140700
This breaks bots both in buildbot and downstream CI:
- https://lab.llvm.org/buildbot/#/builders/11/builds/16173
- https://lab.llvm.org/buildbot/#/builders/202/builds/1531
-
https://ci.chromium.org/ui/p/fuchsia/builders/toolchain.ci/clang-host-linux-x64/b8713537585914796017/overview
Commit: 896c4d2e43fee815e7b6ca833d3fb6ec6f205d56
https://github.com/llvm/llvm-project/commit/896c4d2e43fee815e7b6ca833d3fb6ec6f205d56
Author: erichkeane <ekeane at nvidia.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M clang/include/clang/Basic/DiagnosticParseKinds.td
M clang/lib/Parse/ParseOpenACC.cpp
A clang/test/ParserOpenACC/extensions.c
Log Message:
-----------
[OpenACC] Implement ignoring of extension clauses
OpenACC 3.4 will permit extension clauses, which are clauses that start
with '__', and contain an optional balanced-paren-token-sequence inside
of parens.
This patch ensures we consume these, and emit a warning instead of an
error for unsupported clauses.
Commit: 609546b44c964a1a3fa3e535a39ff506f51ff135
https://github.com/llvm/llvm-project/commit/609546b44c964a1a3fa3e535a39ff506f51ff135
Author: Helena Kotas <hekotas at microsoft.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/include/llvm/Analysis/DXILResource.h
M llvm/lib/Analysis/DXILResource.cpp
M llvm/lib/Target/DirectX/DXILTranslateMetadata.cpp
M llvm/test/Analysis/DXILResource/buffer-frombinding.ll
M llvm/test/CodeGen/DirectX/Metadata/cbuffer-only.ll
M llvm/test/CodeGen/DirectX/Metadata/cbuffer_metadata.ll
M llvm/test/CodeGen/DirectX/Metadata/resource-symbols.ll
M llvm/test/CodeGen/DirectX/Metadata/srv_metadata.ll
M llvm/test/CodeGen/DirectX/Metadata/uav_metadata.ll
M llvm/unittests/Analysis/DXILResourceTest.cpp
Log Message:
-----------
[DirectX] Update resource type names in DXIL metadata to include element type (#140937)
Update resource type names for globals variables that we generate in `DXILTranslateMetadata` pass to include element type. This change prevents duplicate types for identical resources and brings the DXIL metadata names it closer to what DXC generates.
Commit: edbbc5c2609387edfdb7f30393e5ad81028d66ca
https://github.com/llvm/llvm-project/commit/edbbc5c2609387edfdb7f30393e5ad81028d66ca
Author: Teresa Johnson <tejohnson at google.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/include/llvm/ProfileData/IndexedMemProfData.h
A llvm/include/llvm/ProfileData/MemProfCommon.h
M llvm/include/llvm/ProfileData/MemProfSummary.h
M llvm/include/llvm/ProfileData/MemProfSummaryBuilder.h
M llvm/lib/ProfileData/CMakeLists.txt
M llvm/lib/ProfileData/IndexedMemProfData.cpp
M llvm/lib/ProfileData/InstrProfWriter.cpp
A llvm/lib/ProfileData/MemProfCommon.cpp
M llvm/lib/ProfileData/MemProfSummary.cpp
M llvm/lib/ProfileData/MemProfSummaryBuilder.cpp
M llvm/lib/Transforms/Instrumentation/MemProfiler.cpp
M llvm/unittests/ProfileData/MemProfTest.cpp
Log Message:
-----------
[MemProf] Summary section cleanup (NFC) (#142003)
Address post-commit review comments from PR141805. Misc cleanup but the
biggest changes are moving some common utilities to new MemProfCommon
files to reduce unnecessary includes.
Commit: ff561f97b9201cd83be6cececf8d08c53887aad1
https://github.com/llvm/llvm-project/commit/ff561f97b9201cd83be6cececf8d08c53887aad1
Author: joaosaffran <126493771+joaosaffran at users.noreply.github.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/include/llvm/BinaryFormat/DXContainer.h
M llvm/include/llvm/BinaryFormat/DXContainerConstants.def
M llvm/include/llvm/MC/DXContainerRootSignature.h
M llvm/include/llvm/Object/DXContainer.h
M llvm/include/llvm/ObjectYAML/DXContainerYAML.h
M llvm/lib/MC/DXContainerRootSignature.cpp
M llvm/lib/ObjectYAML/DXContainerEmitter.cpp
M llvm/lib/ObjectYAML/DXContainerYAML.cpp
A llvm/test/ObjectYAML/DXContainer/RootSignature-DescriptorTable1.0.yaml
A llvm/test/ObjectYAML/DXContainer/RootSignature-DescriptorTable1.1.yaml
M llvm/test/ObjectYAML/DXContainer/RootSignature-MultipleParameters.yaml
M llvm/unittests/Object/DXContainerTest.cpp
M llvm/unittests/ObjectYAML/DXContainerYAMLTest.cpp
Log Message:
-----------
[DirectX] adding support to read/write descriptor table data using obj2yaml/yaml2obj (#138315)
Closes:
https://github.com/orgs/llvm/projects/4/views/22?sliceBy%5Bvalue%5D=joaosaffran&pane=issue&itemId=97332852&issue=llvm%7Cllvm-project%7C126635
---------
Co-authored-by: joaosaffran <joao.saffran at microsoft.com>
Commit: 9f7c95d66e8f0389c52774f5715e9597d5afeb45
https://github.com/llvm/llvm-project/commit/9f7c95d66e8f0389c52774f5715e9597d5afeb45
Author: Kazu Hirata <kazu at google.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/lib/Transforms/Instrumentation/MemProfiler.cpp
Log Message:
-----------
[memprof] Improve a comment (NFC) (#142002)
We can go one step further than "compare" and mention "prefix" to
succinctly describe the function.
Commit: 640477fa2cd0896e295f26959312faf129d464eb
https://github.com/llvm/llvm-project/commit/640477fa2cd0896e295f26959312faf129d464eb
Author: Alex MacLean <amaclean at nvidia.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/lib/Target/NVPTX/NVPTXForwardParams.cpp
M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
M llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
M llvm/lib/Target/NVPTX/NVPTXProxyRegErasure.cpp
M llvm/test/CodeGen/MIR/NVPTX/expected-floating-point-literal.mir
M llvm/test/CodeGen/MIR/NVPTX/floating-point-immediate-operands.mir
M llvm/test/CodeGen/MIR/NVPTX/floating-point-invalid-type-error.mir
M llvm/test/CodeGen/NVPTX/bf16-instructions.ll
M llvm/test/CodeGen/NVPTX/bf16x2-instructions.ll
M llvm/test/CodeGen/NVPTX/f16-instructions.ll
M llvm/test/CodeGen/NVPTX/f16x2-instructions.ll
M llvm/test/CodeGen/NVPTX/fexp2.ll
M llvm/test/CodeGen/NVPTX/flog2.ll
M llvm/test/CodeGen/NVPTX/fma-relu-contract.ll
M llvm/test/CodeGen/NVPTX/fma-relu-fma-intrinsic.ll
M llvm/test/CodeGen/NVPTX/fma-relu-instruction-flag.ll
M llvm/test/CodeGen/NVPTX/i8x4-instructions.ll
M llvm/test/CodeGen/NVPTX/inline-asm.ll
M llvm/test/CodeGen/NVPTX/math-intrins.ll
M llvm/test/CodeGen/NVPTX/param-add.ll
M llvm/test/CodeGen/NVPTX/proxy-reg-erasure.mir
Log Message:
-----------
[NVPTX] Cleanup ISel code after float register removal, use BasicNVPTXInst (#141711)
Commit: b5f1df0dc00c53f1525bbc63d66fe6a2f12015b5
https://github.com/llvm/llvm-project/commit/b5f1df0dc00c53f1525bbc63d66fe6a2f12015b5
Author: Helena Kotas <hekotas at microsoft.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/test/AST/HLSL/ByteAddressBuffers-AST.hlsl
M clang/test/AST/HLSL/OutArgExpr.hlsl
M clang/test/AST/HLSL/StructuredBuffers-AST.hlsl
M clang/test/AST/HLSL/TypedBuffers-AST.hlsl
M clang/test/AST/HLSL/ast-dump-comment-cbuffer.hlsl
M clang/test/AST/HLSL/cbuffer.hlsl
M clang/test/AST/HLSL/cbuffer_and_namespaces.hlsl
M clang/test/AST/HLSL/default_cbuffer.hlsl
M clang/test/AST/HLSL/is_structured_resource_element_compatible_concept.hlsl
M clang/test/AST/HLSL/is_typed_resource_element_compatible_concept.hlsl
M clang/test/AST/HLSL/packoffset.hlsl
M clang/test/AST/HLSL/pch.hlsl
M clang/test/AST/HLSL/pch_hlsl_buffer.hlsl
M clang/test/AST/HLSL/pch_with_buf.hlsl
M clang/test/AST/HLSL/private.hlsl
M clang/test/AST/HLSL/resource_binding_attr.hlsl
M clang/test/CodeGenHLSL/GlobalConstructorLib.hlsl
M clang/test/CodeGenHLSL/GlobalConstructors.hlsl
M clang/test/CodeGenHLSL/builtins/AppendStructuredBuffer-elementtype.hlsl
M clang/test/CodeGenHLSL/builtins/ByteAddressBuffers-constructors.hlsl
M clang/test/CodeGenHLSL/builtins/ConsumeStructuredBuffer-elementtype.hlsl
M clang/test/CodeGenHLSL/builtins/RWBuffer-constructor.hlsl
M clang/test/CodeGenHLSL/builtins/RWBuffer-elementtype.hlsl
M clang/test/CodeGenHLSL/builtins/RWBuffer-subscript.hlsl
M clang/test/CodeGenHLSL/builtins/RWStructuredBuffer-elementtype.hlsl
M clang/test/CodeGenHLSL/builtins/RasterizerOrderedStructuredBuffer-elementtype.hlsl
M clang/test/CodeGenHLSL/builtins/StructuredBuffer-elementtype.hlsl
M clang/test/CodeGenHLSL/builtins/StructuredBuffers-constructors.hlsl
M clang/test/CodeGenHLSL/builtins/StructuredBuffers-methods-ps.hlsl
M clang/test/CodeGenHLSL/builtins/StructuredBuffers-subscripts.hlsl
M clang/test/CodeGenHLSL/cbuffer.hlsl
M clang/test/CodeGenHLSL/cbuffer_align.hlsl
M clang/test/CodeGenHLSL/cbuffer_and_namespaces.hlsl
M clang/test/CodeGenHLSL/cbuffer_with_static_global_and_function.hlsl
M clang/test/CodeGenHLSL/convergence/global_array.hlsl
M clang/test/CodeGenHLSL/default_cbuffer.hlsl
M clang/test/CodeGenHLSL/default_cbuffer_with_layout.hlsl
M clang/test/CodeGenHLSL/implicit-norecurse-attrib.hlsl
M clang/test/CodeGenHLSL/inline-functions.hlsl
M clang/test/CodeGenHLSL/static-local-ctor.hlsl
M clang/test/ParserHLSL/cb_error.hlsl
M clang/test/ParserHLSL/hlsl_resource_class_attr.hlsl
M clang/test/ParserHLSL/hlsl_resource_handle_attrs.hlsl
M clang/test/ParserHLSL/invalid_inside_cb.hlsl
M clang/test/SemaHLSL/BuiltIns/RWBuffers.hlsl
M clang/test/SemaHLSL/BuiltIns/StructuredBuffers.hlsl
M clang/test/SemaHLSL/BuiltIns/hlsl_resource_t.hlsl
M clang/test/SemaHLSL/Language/AggregateSplatCast-errors.hlsl
M clang/test/SemaHLSL/cb_error.hlsl
M clang/test/SemaHLSL/export.hlsl
M clang/test/SemaHLSL/packoffset-invalid.hlsl
M clang/test/SemaHLSL/resource_binding_attr_error.hlsl
M clang/test/SemaHLSL/resource_binding_attr_error_basic.hlsl
M clang/test/SemaHLSL/resource_binding_attr_error_resource.hlsl
M clang/test/SemaHLSL/resource_binding_attr_error_silence_diags.hlsl
M clang/test/SemaHLSL/resource_binding_attr_error_space.hlsl
M clang/test/SemaHLSL/resource_binding_attr_error_udt.hlsl
M clang/test/SemaHLSL/resource_binding_implicit.hlsl
Log Message:
-----------
[HLSL] Make implicit binding warning off by default (#141879)
Make implicit binding warning off by default and remove `-Wno-hlsl-implicit-binding` from tests.
Closes #135907
Commit: 2f36964614dada808d5d4a926318950599860e8e
https://github.com/llvm/llvm-project/commit/2f36964614dada808d5d4a926318950599860e8e
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
A flang/test/Lower/OpenMP/copyprivate4.f90
Log Message:
-----------
[flang][OpenMP] Treat ClassType as BoxType in COPYPRIVATE (#141844)
This fixes the second problem reported in
https://github.com/llvm/llvm-project/issues/141481
Commit: 7916988e900281908765d7fd45b0dd947d9e873e
https://github.com/llvm/llvm-project/commit/7916988e900281908765d7fd45b0dd947d9e873e
Author: Craig Topper <craig.topper at sifive.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/bswap-bitreverse.ll
Log Message:
-----------
[RISCV] Custom type legalize MVT::i8 BITREVERSE to BREV8. (#142001)
If we're only reversing a single byte, we can use BREV8 directly.
If we let it type legalize we'll get (srl (bitreverse X), XLen-8). In op
legalization, we'll expand that to (srl (brev8 (bswap X)), XLen - 8).
Then, SimplifyDemandedBits can reduce it to (srl (brev8 (shl X, XLen -
8)), XLen - 8). We could add a DAGCombine to pull the shl through the
brev8 to put it next to the srl which will allow it to become (and
(brev8 X), 255). Unless we can prove the upper XLen-8 bits are 0 or that
they aren't demanded, we can't remove the `and`.
By emitting BREV8 directly when we still know the type is i8, we can
avoid this. We already DAGCombine i16 and i32 (bitreverse (bswap X)) to
BREV8 early for the same reason.
I've added an i7 test case so we can still see the opportunity for
improvement on weird sizes.
Fixes the RISC-V part of #141863.
Commit: 20053bcfd0e8fc7a5dfedd5ba062af559a170921
https://github.com/llvm/llvm-project/commit/20053bcfd0e8fc7a5dfedd5ba062af559a170921
Author: Craig Topper <craig.topper at sifive.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/rv32zbb-intrinsic.ll
M llvm/test/CodeGen/RISCV/rv64zbb-intrinsic.ll
Log Message:
-----------
[RISCV] Add ORC_B to SimplifyDemandedBitsForTargetNode. (#141975)
Commit: 4676efe7f2125376e5a835027d0af6bce48389b1
https://github.com/llvm/llvm-project/commit/4676efe7f2125376e5a835027d0af6bce48389b1
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/test/CodeGen/AMDGPU/fract-match.ll
Log Message:
-----------
AMDGPU: Regenerate test checks (#141984)
Update to new update_test_checks output
Commit: 7849c874115825e80e1a116be0800885e217fc66
https://github.com/llvm/llvm-project/commit/7849c874115825e80e1a116be0800885e217fc66
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/test/CodeGen/AMDGPU/fract-match.ll
Log Message:
-----------
AMDGPU: Add missing fract test (#141985)
This was missing the case where the fcmp condition and select were
inverted.
Commit: 7667c2fec5d5a1061d9a8e29ab312fad6a4db040
https://github.com/llvm/llvm-project/commit/7667c2fec5d5a1061d9a8e29ab312fad6a4db040
Author: Craig Topper <craig.topper at sifive.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[X86] Return from SimplifyDemandedBitsForTargetNode for X86ISD::CMOV/ANDP after computing KnownBits. NFC (#141992)
If we break out of the switch, I believe we fall back to the generic
SimplifyDemandedBitsForTargetNode which will call
computeKnownBitsForTargetNode. This will recurse again and calculate
it's own KnownBits. Since we already did the recursion, we should keep
the results.
Commit: cdbb861da2a5269781533d27d96851b8eb787692
https://github.com/llvm/llvm-project/commit/cdbb861da2a5269781533d27d96851b8eb787692
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/test/CodeGen/AMDGPU/fract-match.ll
Log Message:
-----------
AMDGPU: Add baseline tests for fract combine with other fmin types (#141986)
Commit: 47e9093a41d0e8ad7df202b7b2c1acedbc39dd8b
https://github.com/llvm/llvm-project/commit/47e9093a41d0e8ad7df202b7b2c1acedbc39dd8b
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M flang/lib/Semantics/check-omp-structure.cpp
M flang/lib/Semantics/check-omp-structure.h
M flang/test/Semantics/OpenMP/copyprivate04.f90
A flang/test/Semantics/OpenMP/copyprivate05.f90
Log Message:
-----------
[flang][OpenMP] Verify that arguments to COPYPRIVATE are variables (#141823)
The check if the arguments are variable list items was missing, leading
to a crash in lowering in some invalid situations.
This fixes the first testcase reported in
https://github.com/llvm/llvm-project/issues/141481
Commit: bc331d60a3bfbad68c73504887e3481f1c7e5f8a
https://github.com/llvm/llvm-project/commit/bc331d60a3bfbad68c73504887e3481f1c7e5f8a
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
M llvm/test/CodeGen/AMDGPU/fract-match.ll
Log Message:
-----------
AMDGPU: Handle other fmin flavors in fract combine (#141987)
Since the input is either known not-nan, or we have explicit use
code checking if the input is a nan, any of the 3 is valid to match.
Commit: ce0a02459bcecce4b400a11b18c123c2cf3c5785
https://github.com/llvm/llvm-project/commit/ce0a02459bcecce4b400a11b18c123c2cf3c5785
Author: cor3ntin <corentinjabot at gmail.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M clang/lib/Frontend/VerifyDiagnosticConsumer.cpp
A clang/test/Frontend/verify-gh141221.c
Log Message:
-----------
[Clang] Fix an out of bound access in -verify comment parsing (#141940)
When the comment ends with a splice at EOF.
Fixes #141221
Commit: e0b81b01b089bd8c1c5c5938718470e09fa23fd8
https://github.com/llvm/llvm-project/commit/e0b81b01b089bd8c1c5c5938718470e09fa23fd8
Author: Finn Plummer <finn.c.plum at gmail.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M clang/include/clang/Lex/HLSLRootSignatureTokenKinds.def
M clang/include/clang/Parse/ParseHLSLRootSignature.h
M clang/lib/Parse/ParseHLSLRootSignature.cpp
M clang/unittests/Lex/LexHLSLRootSignatureTest.cpp
M clang/unittests/Parse/ParseHLSLRootSignatureTest.cpp
M llvm/include/llvm/Frontend/HLSL/HLSLRootSignature.h
Log Message:
-----------
[HLSL][RootSiganture] Add parsing of new number params in StaticSampler (#140291)
- defines in-memory reprsentation of `maxAnisotropy`, `minLOD` and
`maxLOD`
- integrates parsing of these number parameters with their respective,
`parseUInt` and `parseFloat` respectively
- adds basic unit tests to demonstrate setting functionality
Part 3 of https://github.com/llvm/llvm-project/issues/126574
Commit: 0dca99f2395a3598a736a2c70b1030151dbf6acf
https://github.com/llvm/llvm-project/commit/0dca99f2395a3598a736a2c70b1030151dbf6acf
Author: Paul Kirth <paulkirth at google.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M clang-tools-extra/clang-doc/Serialize.cpp
Log Message:
-----------
[clang-doc] Fix assertions error in Serialize.cpp (#141990)
We can only print and use a default arg, if it is instantiated.
I was unable to reduce the test case for this to something of reasonable
size, but this is easily hit by running clang-doc to generate clang's
documentation. For now, we can fix the assertion quickly to unbreak
users, and add the proper test once it is small enough.
Commit: 21fe8e85d6cea4b124eedca4ebca3c7383c3897a
https://github.com/llvm/llvm-project/commit/21fe8e85d6cea4b124eedca4ebca3c7383c3897a
Author: svkeerthy <venkatakeerthy at google.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/lib/Analysis/IR2Vec.cpp
A llvm/unittests/Analysis/IR2VecTest.cpp
Log Message:
-----------
Lazy BBEmbeddings
Compare: https://github.com/llvm/llvm-project/compare/c937cb56f180...21fe8e85d6ce
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