[all-commits] [llvm/llvm-project] dcd9f4: [sanitizer][windows] report symbols in clang_rt. o...
Vitaly Buka via All-commits
all-commits at lists.llvm.org
Tue Mar 19 14:42:48 PDT 2024
Branch: refs/heads/users/vitalybuka/spr/ir-introduce-llvmexperimentalhot
Home: https://github.com/llvm/llvm-project
Commit: dcd9f49c2214891e3e0faffa70cf1a082434592a
https://github.com/llvm/llvm-project/commit/dcd9f49c2214891e3e0faffa70cf1a082434592a
Author: Charlie Barto <chbarto at microsoft.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_report.cpp
Log Message:
-----------
[sanitizer][windows] report symbols in clang_rt. or \compiler-rt\lib\ as internal. (#84971)
This is the windows equivalent to the existing filters.
Work from https://github.com/llvm/llvm-project/pull/81677 that can be
applied separately (and is actually not critical for that PR)
Commit: c1ac9a09d04e9be8f8f4860416528baf3691848d
https://github.com/llvm/llvm-project/commit/c1ac9a09d04e9be8f8f4860416528baf3691848d
Author: Yinying Li <yinyingli at google.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conversion.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conversion_block.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conversion_dyn.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conversion_element.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conversion_ptr.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conversion_sparse2dense.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conversion_sparse2sparse.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_coo_test.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_dilated_conv_2d_nhwc_hwcf.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_dot.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_expand.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_expand_shape.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_filter_conv2d.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_flatten.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_foreach_slices.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_generate.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_index.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_index_dense.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_insert_3d.mlir
Log Message:
-----------
[mlir][sparse] Finish migrating integration tests to use sparse_tensor.print (#84997)
Commit: 16ae493f56c1857ec0f6f2777e9b8a2e5151b4ef
https://github.com/llvm/llvm-project/commit/16ae493f56c1857ec0f6f2777e9b8a2e5151b4ef
Author: Peter Rong <peterrong96 at gmail.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/lib/FuzzMutate/OpDescriptor.cpp
Log Message:
-----------
[FuzzMutate] Only use undef when explictly asked to (#84959)
Per discussion in https://github.com/SecurityLab-UCD/IRFuzzer/issues/49,
generating undef during fuzzing seems to be less fruitful. Let's
eliminate undef in favor of poison unless the user explicitly asked for
it.
Signed-off-by: Peter Rong <PeterRong96 at gmail.com>
Commit: c6a93fe80b3cf30ff82d06e959c1177798c858ae
https://github.com/llvm/llvm-project/commit/c6a93fe80b3cf30ff82d06e959c1177798c858ae
Author: Petr Hosek <phosek at google.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M libc/src/__support/GPU/utils.h
Log Message:
-----------
[libc] Use __builtin_ffsll for RPC lane mask (#85000)
src/__support/GPU/utils.h doesn't compile on a 32-bit platforms because
__builtin_ffsl uses long which is a 32-bit number. Use __builtin_ffsll
which uses long long which is guaranteed to be at least 64-bits.
Commit: 9d6c43b4aed117f53167e72749b31a943941345d
https://github.com/llvm/llvm-project/commit/9d6c43b4aed117f53167e72749b31a943941345d
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/tools/clang-scan-deps/ClangScanDeps.cpp
Log Message:
-----------
[NFC] [C++20] [Modules] [P1689] [Scanner] Don't use thread pool in P1689 per file mode (#84285)
I suddenly found that the clang scan deps may use all concurrent threads
to scan the files. It makes sense in the batch mode. But in P1689 per
file mode, it simply wastes times and resources.
This patch itself should be a NFC patch. It simply moves codes.
Commit: 88986d65e4ed1b2ddd6693ff3e70b84436af767a
https://github.com/llvm/llvm-project/commit/88986d65e4ed1b2ddd6693ff3e70b84436af767a
Author: Yinying Li <yinyingli at google.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_generate.mlir
Log Message:
-----------
[mlir][sparse] Fix sparse_generate test (#85009)
std::uniform_int_distribution may behave differently in different
systems.
Commit: 096d061c1c2f91edef7186bd8b61067020f49898
https://github.com/llvm/llvm-project/commit/096d061c1c2f91edef7186bd8b61067020f49898
Author: Sterling Augustine <saugustine at google.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/test/src/__support/BUILD.bazel
Log Message:
-----------
Add missing dependency after 80ab8234ac309418637488b97e0a62d8377b2ecf
Commit: 34cf6847752a3aad68eaa889ab6e0073a38fc2db
https://github.com/llvm/llvm-project/commit/34cf6847752a3aad68eaa889ab6e0073a38fc2db
Author: Petr Hosek <phosek at google.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M libc/spec/posix.td
M libc/spec/spec.td
M libc/spec/stdc.td
Log Message:
-----------
[libc] Move `struct timespec` from POSIX to StdC (#85010)
`struct timespec` is actually defined in the C standard, not POSIX.
Commit: a62222f5f0bf30a5437255521df62750060a4bf4
https://github.com/llvm/llvm-project/commit/a62222f5f0bf30a5437255521df62750060a4bf4
Author: Sterling Augustine <saugustine at google.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
Update BUILD.bazel for 0ebf511ad011a83022edb171e044c98d9d16b1fa
Commit: 5d7796e674224be54c48a8db981f4134845bcc7c
https://github.com/llvm/llvm-project/commit/5d7796e674224be54c48a8db981f4134845bcc7c
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/include/clang/Serialization/ASTWriter.h
M clang/lib/Frontend/FrontendActions.cpp
M clang/lib/Serialization/GeneratePCH.cpp
Log Message:
-----------
[NFC] [C++20] [Modules] Refactor ReducedBMIGenerator
Changes:
- Don't lookup the emitting module from HeaderSearch. We will use the
module from the ASTContext directly.
- Remove some useless arguments. Let's addback in the future if
required.
Commit: 15a55486a54183d4fc597ed86c0d49fe9482f2bd
https://github.com/llvm/llvm-project/commit/15a55486a54183d4fc597ed86c0d49fe9482f2bd
Author: Michael Flanders <mkf727 at cs.washington.edu>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/riscv/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/math/index.rst
M libc/spec/stdc.td
M libc/src/math/CMakeLists.txt
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/nextafterf128.cpp
A libc/src/math/nextafterf128.h
M libc/test/src/math/CMakeLists.txt
A libc/test/src/math/nextafterf128_test.cpp
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/nextafterf128_test.cpp
Log Message:
-----------
[libc][math] Adds entrypoint and test for `nextafterf128` (#84882)
Commit: e4edbae0aa6a9739954ee3b494b18f8c599d9d79
https://github.com/llvm/llvm-project/commit/e4edbae0aa6a9739954ee3b494b18f8c599d9d79
Author: Lu Weining <luweining at loongson.cn>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
M llvm/test/CodeGen/LoongArch/lasx/intrinsic-permi.ll
Log Message:
-----------
Revert "[llvm][LoongArch] Improve loongarch_lasx_xvpermi_q instrinsic" (#84708)
Reverts llvm/llvm-project#82984
See the discussion in https://github.com/llvm/llvm-project/pull/83540.
Commit: 2dbaf265255a5fa9643a8092ec2dffa881d2cf93
https://github.com/llvm/llvm-project/commit/2dbaf265255a5fa9643a8092ec2dffa881d2cf93
Author: Jeff Niu <jeff at modular.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M mlir/test/IR/custom-print-parse.mlir
M mlir/test/IR/invalid-custom-print-parse.mlir
M mlir/test/lib/Dialect/Test/TestDialect.cpp
M mlir/test/lib/Dialect/Test/TestOps.td
M mlir/test/mlir-tblgen/attr-or-type-format.td
M mlir/test/mlir-tblgen/op-format.td
M mlir/tools/mlir-tblgen/AttrOrTypeFormatGen.cpp
M mlir/tools/mlir-tblgen/OpFormatGen.cpp
Log Message:
-----------
[mlir][ods] Fix generation of optional custom parsers (#84821)
We need to generate `.has_value` for `OptionalParseResult`, also ensure
that `auto result` doesn't conflict with `result` which is the variable
name for `OperationState`.
Commit: e25bf70d50cbf8bdebeacdaf3313486c1b1d0395
https://github.com/llvm/llvm-project/commit/e25bf70d50cbf8bdebeacdaf3313486c1b1d0395
Author: Petr Hosek <phosek at google.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M libc/config/baremetal/api.td
M libc/config/baremetal/arm/headers.txt
M libc/config/baremetal/riscv/headers.txt
M libc/include/CMakeLists.txt
M libc/include/llvm-libc-types/CMakeLists.txt
A libc/include/llvm-libc-types/mbstate_t.h
A libc/include/uchar.h.def
M libc/spec/spec.td
M libc/spec/stdc.td
Log Message:
-----------
[libc] Add an empty definition of mbstate_t (#84993)
We expect to eventually provide a complete implementation, but having an
empty definition is necessary to unblock the use of libc++ in embedded
environments.
See #84884 for more details.
Commit: a0283987d07c2d4ce2cc5a4adaee0512f9553797
https://github.com/llvm/llvm-project/commit/a0283987d07c2d4ce2cc5a4adaee0512f9553797
Author: Petr Hosek <phosek at google.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M libc/config/baremetal/api.td
M libc/config/baremetal/arm/entrypoints.txt
M libc/config/baremetal/riscv/entrypoints.txt
Log Message:
-----------
[libc] Include additional baremetal entrypoints (#85020)
These functions are usable on embedded platforms and are sometimes used
in various baremetal projects.
Commit: deebf6b312227e028dd3258b162306b9cdb21cf7
https://github.com/llvm/llvm-project/commit/deebf6b312227e028dd3258b162306b9cdb21cf7
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M compiler-rt/test/lit.common.cfg.py
M compiler-rt/test/tsan/getline_nohang.cpp
Log Message:
-----------
[tsan] Disabled test dead locking on glibc-2.38
https://github.com/google/sanitizers/issues/1733
Commit: 53613044ddf1bab186cde8d687f7f41bc0b1f9b1
https://github.com/llvm/llvm-project/commit/53613044ddf1bab186cde8d687f7f41bc0b1f9b1
Author: Fangrui Song <i at maskray.me>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/include/llvm/ObjCopy/CommonConfig.h
M llvm/tools/llvm-objcopy/ObjcopyOptions.cpp
Log Message:
-----------
[llvm-objcopy] Use SmallVector to make some structs smaller. NFC
Commit: 0d98582c8b86644e77f8ddd68fc251e41127b7f4
https://github.com/llvm/llvm-project/commit/0d98582c8b86644e77f8ddd68fc251e41127b7f4
Author: Fangrui Song <i at maskray.me>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/include/llvm/ObjCopy/CommonConfig.h
M llvm/tools/llvm-objcopy/ObjcopyOptions.cpp
Log Message:
-----------
[llvm-objcopy] Remove unneeded #include. NFC
Commit: 4d62929852849f768d7397f634cfdebc85de96a4
https://github.com/llvm/llvm-project/commit/4d62929852849f768d7397f634cfdebc85de96a4
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Basic/LangOptions.h
M clang/include/clang/Frontend/FrontendActions.h
M clang/include/clang/Sema/Sema.h
M clang/lib/Parse/Parser.cpp
M clang/lib/Sema/Sema.cpp
M clang/lib/Sema/SemaModule.cpp
M clang/test/CXX/module/dcl.dcl/dcl.module/dcl.module.interface/p1.cppm
R clang/test/Modules/missing-module-declaration.cppm
M clang/test/Modules/pr72828.cppm
Log Message:
-----------
[C++20] [Modules] Disambuguous Clang module and C++20 Named module further
This patch tries to make the boundary of clang module and C++20 named
module more clear.
The changes included:
- Rename `TranslationUnitKind::TU_Module` to
`TranslationUnitKind::TU_ClangModule`.
- Rename `Sema::ActOnModuleInclude` to `Sema::ActOnAnnotModuleInclude`.
- Rename `ActOnModuleBegin` to `Sema::ActOnAnnotModuleBegin`.
- Rename `Sema::ActOnModuleEnd` to `Sema::ActOnAnnotModuleEnd`.
- Removes a warning if we're trying to compile a non-module unit as
C++20 module unit. This is not actually useful and makes (the future)
implementation unnecessarily complex.
This patch meant to be a NFC fix. But it shows that it fixed a bug
suprisingly that previously we would surppress the unused-value warning
in named modules. Because it shares the same logic with clang modules,
which has headers semantics. This shows the change is meaningful.
Commit: fe1d02b08ce2ca74de5b18d9f141d503b7985ec5
https://github.com/llvm/llvm-project/commit/fe1d02b08ce2ca74de5b18d9f141d503b7985ec5
Author: Fangrui Song <i at maskray.me>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M compiler-rt/lib/hwasan/hwasan_interceptors.cpp
M compiler-rt/lib/lsan/lsan_interceptors.cpp
M compiler-rt/lib/msan/msan_interceptors.cpp
M compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
A compiler-rt/test/sanitizer_common/TestCases/Linux/static-link.c
Log Message:
-----------
[sanitizer] Reject unsupported -static at link time (#83524)
Most sanitizers don't support static linking. One primary reason is the
incompatibility with interceptors. `GetTlsSize` is another reason.
asan/memprof use `__interception::DoesNotSupportStaticLinking`
(`_DYNAMIC` reference) to reject -static at link time. Port this
detector to other sanitizers. dfsan actually supports -static for
certain cases. Don't touch dfsan.
Commit: cd2f6163137dce45d909aa445cfd57b7188f8ed1
https://github.com/llvm/llvm-project/commit/cd2f6163137dce45d909aa445cfd57b7188f8ed1
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/docs/AMDGPUUsage.rst
Log Message:
-----------
AMDGPU: Use list-table for metadata table (#85024)
The table syntax for sphinx is really insufferably whitespace dependent.
I've been meaning to convert the existing attribute and intrinsic tables
to use list-table, which is less painful to merge.
Commit: 0a443f13b49b3f392461a0bb60b0146cfc4607c7
https://github.com/llvm/llvm-project/commit/0a443f13b49b3f392461a0bb60b0146cfc4607c7
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVCallLowering.cpp
M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.cpp
M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.h
M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
M llvm/lib/Target/SPIRV/SPIRVLegalizerInfo.cpp
M llvm/lib/Target/SPIRV/SPIRVUtils.h
M llvm/test/CodeGen/SPIRV/ComparePointers.ll
M llvm/test/CodeGen/SPIRV/capability-kernel.ll
M llvm/test/CodeGen/SPIRV/pointers/getelementptr-addressspace.ll
M llvm/test/CodeGen/SPIRV/pointers/getelementptr-base-type.ll
M llvm/test/CodeGen/SPIRV/pointers/kernel-argument-pointer-addressspace.ll
M llvm/test/CodeGen/SPIRV/pointers/kernel-argument-pointer-type-deduction-no-bitcast-to-generic.ll
M llvm/test/CodeGen/SPIRV/pointers/kernel-argument-pointer-type.ll
M llvm/test/CodeGen/SPIRV/pointers/load-addressspace.ll
M llvm/test/CodeGen/SPIRV/pointers/store-operand-ptr-to-struct.ll
M llvm/test/CodeGen/SPIRV/pointers/struct-opaque-pointers.ll
M llvm/test/CodeGen/SPIRV/pointers/two-bitcast-or-param-users.ll
M llvm/test/CodeGen/SPIRV/pointers/two-subsequent-bitcasts.ll
A llvm/test/CodeGen/SPIRV/pointers/type-deduce-by-call-rev.ll
A llvm/test/CodeGen/SPIRV/pointers/type-deduce-by-call.ll
A llvm/test/CodeGen/SPIRV/pointers/typeof-ptr-int.ll
M llvm/test/CodeGen/SPIRV/relationals.ll
M llvm/test/CodeGen/SPIRV/simple.ll
M llvm/test/CodeGen/SPIRV/transcoding/AtomicCompareExchangeExplicit_cl20.ll
M llvm/test/CodeGen/SPIRV/transcoding/BitReversePref.ll
M llvm/test/CodeGen/SPIRV/transcoding/BuildNDRange.ll
M llvm/test/CodeGen/SPIRV/transcoding/BuildNDRange_2.ll
M llvm/test/CodeGen/SPIRV/transcoding/ConvertPtr.ll
M llvm/test/CodeGen/SPIRV/transcoding/DecorationAlignment.ll
M llvm/test/CodeGen/SPIRV/transcoding/DecorationMaxByteOffset.ll
M llvm/test/CodeGen/SPIRV/transcoding/DivRem.ll
M llvm/test/CodeGen/SPIRV/transcoding/ExecutionMode_SPIR_to_SPIRV.ll
M llvm/test/CodeGen/SPIRV/transcoding/GlobalFunAnnotate.ll
M llvm/test/CodeGen/SPIRV/transcoding/OpenCL/atomic_cmpxchg.ll
M llvm/test/CodeGen/SPIRV/transcoding/OpenCL/atomic_legacy.ll
M llvm/test/CodeGen/SPIRV/transcoding/OpenCL/atomic_work_item_fence.ll
M llvm/test/CodeGen/SPIRV/transcoding/OpenCL/barrier.ll
M llvm/test/CodeGen/SPIRV/transcoding/OpenCL/sub_group_mask.ll
M llvm/test/CodeGen/SPIRV/transcoding/OpenCL/work_group_barrier.ll
M llvm/test/CodeGen/SPIRV/transcoding/atomic_flag.ll
M llvm/test/CodeGen/SPIRV/transcoding/atomic_load_store.ll
M llvm/test/CodeGen/SPIRV/transcoding/bitcast.ll
M llvm/test/CodeGen/SPIRV/transcoding/block_w_struct_return.ll
M llvm/test/CodeGen/SPIRV/transcoding/builtin_calls.ll
M llvm/test/CodeGen/SPIRV/transcoding/builtin_vars.ll
M llvm/test/CodeGen/SPIRV/transcoding/builtin_vars_arithmetics.ll
M llvm/test/CodeGen/SPIRV/transcoding/builtin_vars_opt.ll
M llvm/test/CodeGen/SPIRV/transcoding/check_ro_qualifier.ll
M llvm/test/CodeGen/SPIRV/transcoding/cl-types.ll
M llvm/test/CodeGen/SPIRV/transcoding/clk_event_t.ll
M llvm/test/CodeGen/SPIRV/transcoding/enqueue_kernel.ll
M llvm/test/CodeGen/SPIRV/transcoding/explicit-conversions.ll
M llvm/test/CodeGen/SPIRV/transcoding/extract_insert_value.ll
M llvm/test/CodeGen/SPIRV/transcoding/fadd.ll
M llvm/test/CodeGen/SPIRV/transcoding/fclamp.ll
M llvm/test/CodeGen/SPIRV/transcoding/fcmp.ll
M llvm/test/CodeGen/SPIRV/transcoding/fdiv.ll
M llvm/test/CodeGen/SPIRV/transcoding/fmod.ll
M llvm/test/CodeGen/SPIRV/transcoding/fmul.ll
M llvm/test/CodeGen/SPIRV/transcoding/fneg.ll
M llvm/test/CodeGen/SPIRV/transcoding/fp_contract_reassoc_fast_mode.ll
M llvm/test/CodeGen/SPIRV/transcoding/frem.ll
M llvm/test/CodeGen/SPIRV/transcoding/fsub.ll
M llvm/test/CodeGen/SPIRV/transcoding/get_image_num_mip_levels.ll
M llvm/test/CodeGen/SPIRV/transcoding/global_block.ll
M llvm/test/CodeGen/SPIRV/transcoding/group_ops.ll
M llvm/test/CodeGen/SPIRV/transcoding/isequal.ll
M llvm/test/CodeGen/SPIRV/transcoding/relationals_double.ll
M llvm/test/CodeGen/SPIRV/transcoding/relationals_float.ll
M llvm/test/CodeGen/SPIRV/transcoding/relationals_half.ll
Log Message:
-----------
[SPIR-V] Add implementation of G_SPLAT_VECTOR opcode and fix invalid types processing (#84766)
This PR:
* adds support for G_SPLAT_VECTOR generic opcode that may be legally
generated instead of G_BUILD_VECTOR by previous passes of the translator
(see https://github.com/llvm/llvm-project/pull/80378 for the source of
breaking changes);
* improves deduction of types for opaque pointers.
This PR also fixes the following issues:
* if a function has ptr argument(s), two functions that have different
SPIR-V type definitions may get identical LLVM function types and break
agreements of global register and duplicate checker;
* checks for pointer types do not account for TypedPointerType.
Update of tests:
* A test case is added to cover the issue with function ptr parameters.
* The first case, that is support for G_SPLAT_VECTOR generic opcode, is
covered by existing test cases.
* Multiple additional checks by `spirv-val` is added to cover more
possibilities of generation of invalid code.
Commit: 5a4e2210bd60fec854822d3fb2a2aaa1e20ad2e1
https://github.com/llvm/llvm-project/commit/5a4e2210bd60fec854822d3fb2a2aaa1e20ad2e1
Author: Aiden Grossman <agrossman154 at yahoo.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
M llvm/tools/llvm-exegesis/lib/SubprocessMemory.cpp
M llvm/tools/llvm-exegesis/lib/SubprocessMemory.h
Log Message:
-----------
Revert "[llvm-exegesis] Use LLVM Support to get thread ID"
This reverts commit 1c3b15e9f5bc671e40bcf5d3475f5425466754ce.
This (and/or) a related patch was causing build failures on one of the
buildbots. More information is available at
https://lab.llvm.org/buildbot/#/builders/178/builds/7015.
Commit: 1fe9c417a0bf143f9bb9f9e1fbf7b20f44196883
https://github.com/llvm/llvm-project/commit/1fe9c417a0bf143f9bb9f9e1fbf7b20f44196883
Author: Aiden Grossman <agrossman154 at yahoo.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
M llvm/tools/llvm-exegesis/lib/SubprocessMemory.cpp
M llvm/tools/llvm-exegesis/lib/SubprocessMemory.h
M llvm/unittests/tools/llvm-exegesis/X86/SubprocessMemoryTest.cpp
Log Message:
-----------
Revert "Reland "[llvm-exegesis] Add thread IDs to subprocess memory names (#84451)""
This reverts commit 8003f553a01a9a2a7eb09fe07e88f1ba9ee7d3a7.
This (and/or a related commit) was causing build failures on one of the
buildbots that needs more investigation. More information is available
at https://lab.llvm.org/buildbot/#/builders/178/builds/7015.
Commit: 46682f445adfa06cb74239b17b588e36fcd4fdaa
https://github.com/llvm/llvm-project/commit/46682f445adfa06cb74239b17b588e36fcd4fdaa
Author: Danial Klimkin <dklimkin at google.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/include/clang/InstallAPI/FrontendRecords.h
Log Message:
-----------
Fix missing include past a38b7a432d3cbb093af9310eba5b4982dc0a0243 (#85041)
Commit: 1c792d24e0a228ad49cc004a1c26bbd7cd87f030
https://github.com/llvm/llvm-project/commit/1c792d24e0a228ad49cc004a1c26bbd7cd87f030
Author: Marco Elver <elver at google.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M compiler-rt/lib/interception/interception.h
M compiler-rt/lib/sanitizer_common/sanitizer_asm.h
Log Message:
-----------
[compiler-rt] Fix interceptors with AArch64 BTI (#84061)
On AArch64 with BTI, we have to start functions with the appropriate
BTI hint to indicate that the function is a valid call target.
To support interceptors with AArch64 BTI, add "BTI c".
Commit: 0be9592b0077dc63596ce46379cf7b3bd4a405c8
https://github.com/llvm/llvm-project/commit/0be9592b0077dc63596ce46379cf7b3bd4a405c8
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/lib/Sema/SemaTemplate.cpp
M clang/test/SemaCXX/cxx20-ctad-type-alias.cpp
Log Message:
-----------
[clang] CTAD: Respect requires-clause of the original function template for the synthesized deduction guide (#84913)
We ignored the require-clause of the original template when building the deduction guide for type-alias CTAD, this resulted in accepting code which should be rejected (see the test case). This patch fixes it, part of #84492.
Commit: e42e97a4ada141ca1320a49e7fe03245d6765bce
https://github.com/llvm/llvm-project/commit/e42e97a4ada141ca1320a49e7fe03245d6765bce
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/SMEInstrFormats.td
A llvm/test/CodeGen/AArch64/sme-write-vg.ll
Log Message:
-----------
[AArch64][SME] Don't mark 'smstart za' as using/defining VG. (#84775)
VG is only used/defined when changing the streaming mode, using 'smstart
sm' or plainly 'smstart' (same for smstop).
Commit: 06c06e15f45acd3ea24756978629f1d78724870e
https://github.com/llvm/llvm-project/commit/06c06e15f45acd3ea24756978629f1d78724870e
Author: AtariDreams <83477269+AtariDreams at users.noreply.github.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/include/llvm/Transforms/Scalar/Float2Int.h
M llvm/lib/Transforms/Scalar/Float2Int.cpp
M llvm/test/Transforms/Float2Int/basic.ll
Log Message:
-----------
[Float2Int] Resolve FIXME: Pick the smallest legal type that fits (#79158)
Pick the type based on the smallest bit-width possible, using
DataLayout.
Commit: 676c495195748e8ab2755b62153a718a53f7dae9
https://github.com/llvm/llvm-project/commit/676c495195748e8ab2755b62153a718a53f7dae9
Author: lcvon007 <141613945+lcvon007 at users.noreply.github.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
Log Message:
-----------
[Attributor][FIX] Register right new created BB. (#84929)
CBBB will keep same after the first iteration so
registerManifestAddedBasicBlock would always register the same basic
block later.
Co-authored-by: laichunfeng <laichunfeng at tencent.com>
Commit: 2d62ce4bebe484f7c6855b9ef479e9b398595df9
https://github.com/llvm/llvm-project/commit/2d62ce4bebe484f7c6855b9ef479e9b398595df9
Author: mikaelholmen <mikael.holmen at ericsson.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Analysis/ValueTracking.cpp
A llvm/test/Analysis/Lint/crash_empty_iterator.ll
Log Message:
-----------
[ValueTracking] Remove faulty dereference of "InsertBefore" (#85034)
In 2fe81edef6f
[NFC][RemoveDIs] Insert instruction using iterators in Transforms/
we changed
if (*req_idx != *i)
return FindInsertedValue(I->getAggregateOperand(), idx_range,
- InsertBefore);
+ *InsertBefore);
}
but there is no guarantee that is InsertBefore is non-empty at that
point,
which we e.g can see in the added testcase.
Instead just pass on the optional InsertBefore in the recursive call to
FindInsertedValue, as we do at several other places already.
Commit: e371ada409b225ea990b5ac0d5cafea26a6046e1
https://github.com/llvm/llvm-project/commit/e371ada409b225ea990b5ac0d5cafea26a6046e1
Author: David CARLIER <devnexen at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M compiler-rt/lib/fuzzer/FuzzerUtilLinux.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_procmaps_bsd.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_procmaps_common.cpp
Log Message:
-----------
[compiler-rt] reimplements GetMemoryProfile for netbsd. (#84841)
The actual solution relies on the premise /proc/self/smaps existence.
instead relying on native api like freebsd.
fixing fuzzer build too.
Commit: 995d1d114e4e4ff708a03cdb0a975209c6197f9f
https://github.com/llvm/llvm-project/commit/995d1d114e4e4ff708a03cdb0a975209c6197f9f
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/SjLjEHPrepare.cpp
Log Message:
-----------
[SjLjEHPrepare] Use inverse_depth_first() instead of _ext variant (NFC). (#84920)
inverse_depth_first df_iterator_default_set as default set, so there's
no need to explicitly use inverse_depth_first_ext.
PR: https://github.com/llvm/llvm-project/pull/84920
Commit: 20b15e645cdbde07ae46aefe46ede5ff4d1e8ba3
https://github.com/llvm/llvm-project/commit/20b15e645cdbde07ae46aefe46ede5ff4d1e8ba3
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/test/CodeGen/AArch64/fold-global-offsets.ll
M llvm/test/CodeGen/Hexagon/addrmode-immop.mir
M llvm/test/CodeGen/NVPTX/b52037.ll
M llvm/test/CodeGen/WinCFGuard/cfguard-mingw.ll
M llvm/test/CodeGen/X86/tls-align.ll
M llvm/test/DebugInfo/X86/tu-to-non-tu.ll
M llvm/unittests/Transforms/Utils/CallPromotionUtilsTest.cpp
Log Message:
-----------
[Tests] Drop inrange attribute from some tests (NFC)
These don't actually test anything related to inrange, so drop the
attribute.
Commit: e4b27359fde552f65fd3434398a6b80104e1a20d
https://github.com/llvm/llvm-project/commit/e4b27359fde552f65fd3434398a6b80104e1a20d
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/test/ThinLTO/X86/Inputs/devirt_single_hybrid_bar.ll
M llvm/test/ThinLTO/X86/devirt_after_filtering_unreachable.ll
M llvm/test/ThinLTO/X86/devirt_external_comdat_same_guid.ll
M llvm/test/ThinLTO/X86/devirt_local_same_guid.ll
M llvm/test/ThinLTO/X86/lower_type_test_phi.ll
M llvm/test/ThinLTO/X86/nodevirt-nonpromoted-typeid.ll
M llvm/test/ThinLTO/X86/type_test_noindircall.ll
Log Message:
-----------
[ThinLTO] Drop inrange attribute from tests (NFC)
The inrange attribute is not relevant to the optimizations being
tested here. Additionally, all the inrange attributes in these
files don't actually carry any additional information, as the
"range" covers the whole object.
Commit: 5a744776bb6192dae04360609457c9f49dce43a2
https://github.com/llvm/llvm-project/commit/5a744776bb6192dae04360609457c9f49dce43a2
Author: dyung <douglas.yung at sony.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M cross-project-tests/debuginfo-tests/llgdb-tests/forward-declare-class.cpp
Log Message:
-----------
Mark test as XFAIL that started failing after 418f0066eb. (#85027)
Similar failures were previously seen and XFAILed in
https://reviews.llvm.org/D118468.
See the phabricator review for a description of the problem, and the
linked discourse thread for what the failing output looks like.
This change should fix the issue on two buildbots that are running older
versions of GDB:
- https://lab.llvm.org/buildbot/#/builders/217/builds/37559
- https://lab.llvm.org/buildbot/#/builders/247/builds/15173
Commit: 560d7c51fdee4cc15766aa9b62c0cd8f0f18a353
https://github.com/llvm/llvm-project/commit/560d7c51fdee4cc15766aa9b62c0cd8f0f18a353
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SDPatternMatch.h
M llvm/unittests/CodeGen/SelectionDAGPatternMatchTest.cpp
Log Message:
-----------
[DAG] Add SDPatternMatch m_And/m_Or/m_Xor matchers for logic ops
Commit: 99be3875fb161a5786aaad5dab0b92fa052e47d1
https://github.com/llvm/llvm-project/commit/99be3875fb161a5786aaad5dab0b92fa052e47d1
Author: Jonathan Thackray <jonathan.thackray at arm.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/TargetParser/Host.cpp
Log Message:
-----------
[ARM][AArch64] Add missing Arm CPU part-ids to enable -mcpu=native (#84899)
Update Host.cpp with some missing Arm CPU part identifiers,
to enable `-mcpu=native` on these processors. These are found in
the Technical Reference Manuals listed under "part num" or "part no"
Commit: a7af53e99bb1fc92f45c14df2acf2da8f849af2f
https://github.com/llvm/llvm-project/commit/a7af53e99bb1fc92f45c14df2acf2da8f849af2f
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SDPatternMatch.h
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/AArch64/xor.ll
Log Message:
-----------
[DAG] visitSUB - convert some folds to use SDPatternMatch
General cleanup and allows us to handle several commutable matches with a single pattern
Commit: 7cd61f888c479da51215071336b34f6918cad3d8
https://github.com/llvm/llvm-project/commit/7cd61f888c479da51215071336b34f6918cad3d8
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/BUFInstructions.td
Log Message:
-----------
[AMDGPU] Remove unneeded MnemonicAlias. NFC.
This is unneeded because MUBUF_Real_Atomic_gfx11_gfx12 on the line above
generates it automatically.
Commit: ceb744eb2fa0895db1526110462745962fdf43c0
https://github.com/llvm/llvm-project/commit/ceb744eb2fa0895db1526110462745962fdf43c0
Author: Harald van Dijk <harald at gigawatt.nl>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUInstructions.td
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/AMDGPU/SIISelLowering.h
M llvm/lib/Target/AMDGPU/SIInstructions.td
M llvm/test/CodeGen/AMDGPU/bf16.ll
M llvm/test/CodeGen/AMDGPU/clamp.ll
M llvm/test/CodeGen/AMDGPU/fcanonicalize-elimination.ll
M llvm/test/CodeGen/AMDGPU/fcanonicalize.f16.ll
M llvm/test/CodeGen/AMDGPU/fcanonicalize.ll
M llvm/test/CodeGen/AMDGPU/fneg-combines.f16.ll
M llvm/test/CodeGen/AMDGPU/fneg-combines.new.ll
M llvm/test/CodeGen/AMDGPU/llvm.maxnum.f16.ll
M llvm/test/CodeGen/AMDGPU/llvm.minnum.f16.ll
M llvm/test/CodeGen/AMDGPU/mad-mix-lo.ll
Log Message:
-----------
[AMDGPU] Fix canonicalization of truncated values. (#83054)
We were relying on roundings to implicitly canonicalize, which is
generally safe, except with roundings that may be optimized away.
Fixes #82937.
Commit: c18e1215c4f387058961651148be730144d3537b
https://github.com/llvm/llvm-project/commit/c18e1215c4f387058961651148be730144d3537b
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
M llvm/test/Transforms/InstCombine/zext.ll
Log Message:
-----------
[InstCombine] Simplify `zext nneg i1 X` to zero (#85043)
Alive2: https://alive2.llvm.org/ce/z/Wm6kCk
Commit: 203757776826cfd164c537048ec90f5ada50cae2
https://github.com/llvm/llvm-project/commit/203757776826cfd164c537048ec90f5ada50cae2
Author: Jacek Caban <jacek at codeweavers.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/docs/CommandGuide/llvm-ar.rst
M llvm/docs/ReleaseNotes.rst
M llvm/include/llvm/Object/Archive.h
M llvm/lib/Object/Archive.cpp
M llvm/lib/Object/ArchiveWriter.cpp
A llvm/test/tools/llvm-ar/coff-symtab.test
A llvm/test/tools/llvm-ar/no-symtab.yaml
M llvm/tools/llvm-ar/llvm-ar.cpp
Log Message:
-----------
[llvm-ar] Use COFF archive format for COFF targets. (#82898)
Detect COFF files by default and allow specifying it with --format
argument.
This is important for ARM64EC, which uses a separated symbol map for EC
symbols. Since K_COFF is mostly compatible with K_GNU, this shouldn't
really make a difference for other targets.
This originally landed as #82642, but was reverted due to test failures
in tests using no symbol table. Since COFF symbol can't express it,
fallback to GNU format in that case.
Commit: 9e406ef4f4b089f88e74b2713f0fbee51b9537d6
https://github.com/llvm/llvm-project/commit/9e406ef4f4b089f88e74b2713f0fbee51b9537d6
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M libcxx/docs/ReleaseNotes/19.rst
M libcxx/include/variant
M libcxx/test/std/utilities/variant/variant.variant/variant.assign/T.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.assign/conv.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.ctor/T.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.ctor/conv.pass.cpp
M libcxx/test/support/variant_test_helpers.h
Log Message:
-----------
[libc++] Remove _LIBCPP_ENABLE_NARROWING_CONVERSIONS_IN_VARIANT (#83928)
This was slated for removal in LLVM 19.
Commit: 5c3d001668ec6117045a9750a1f9d7e3995adfee
https://github.com/llvm/llvm-project/commit/5c3d001668ec6117045a9750a1f9d7e3995adfee
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/docs/AMDGPUUsage.rst
Log Message:
-----------
AMDGPU: Don't use table for metadata docs, and fix section headers (#85046)
Commit: 9fa866020395b215ece6140c2fedc7c31950272c
https://github.com/llvm/llvm-project/commit/9fa866020395b215ece6140c2fedc7c31950272c
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/test/MC/AMDGPU/gfx12_asm_vbuffer_mubuf.s
Log Message:
-----------
[AMDGPU] Test new GFX12 opcode name buffer_atomic_min_num_f32
The old name buffer_atomic_min_f32 is still tested as part of the alias
tests.
Commit: e48d5a838f69e0a8e0ae95a8aed1a8809f45465a
https://github.com/llvm/llvm-project/commit/e48d5a838f69e0a8e0ae95a8aed1a8809f45465a
Author: NagyDonat <donat.nagy at ericsson.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallDescription.h
M clang/lib/StaticAnalyzer/Core/CheckerContext.cpp
M clang/unittests/StaticAnalyzer/CMakeLists.txt
A clang/unittests/StaticAnalyzer/IsCLibraryFunctionTest.cpp
M llvm/utils/gn/secondary/clang/unittests/StaticAnalyzer/BUILD.gn
Log Message:
-----------
Reapply "[analyzer] Accept C library functions from the `std` namespace"
This reapplies f32b04d4ea91ad1018c25a1d4178cc4392d34968i, after fixing
the use-after-free of ASTUnit in the unittest.
https://github.com/llvm/llvm-project/pull/84469#issuecomment-1992163439
Co-authored-by: Balazs Benics <benicsbalazs at gmail.com>
Commit: 83d178843f4322159b6469f430a8a241b8672d6d
https://github.com/llvm/llvm-project/commit/83d178843f4322159b6469f430a8a241b8672d6d
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
A llvm/test/Transforms/InstCombine/shift-cttz-ctlz.ll
Log Message:
-----------
[InstCombine] Set zero_is_poison for ctlz/cttz if they are only used as shift amounts (#85035)
Alive2: https://alive2.llvm.org/ce/z/r-67t9
It would improve the codegen if the target doesn't provide a defined
value for ctlz/cttz with zero.
Commit: 960b4aa6dab69125778f230c4c94f2d19c96cc87
https://github.com/llvm/llvm-project/commit/960b4aa6dab69125778f230c4c94f2d19c96cc87
Author: Jake Egan <Jake.egan at ibm.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/unittests/Interpreter/InterpreterExtensionsTest.cpp
Log Message:
-----------
[AIX][ClangRepl] Disable new test on AIX
This new test fails on the AIX bot with error `LLVM ERROR: Incompatible object format!`. Disable for now to investigate.
Same as 86337beca2e6f939127cd3e088ec80c0cf4a0a64.
Commit: 424e0a825fe4d9e3bf98b63ef86edbc4fa5e3799
https://github.com/llvm/llvm-project/commit/424e0a825fe4d9e3bf98b63ef86edbc4fa5e3799
Author: Jake Egan <Jake.egan at ibm.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/unittests/Interpreter/InterpreterExtensionsTest.cpp
Log Message:
-----------
[ClangRepl] Add missing hashtag
Hashtag missing from commit 960b4aa6dab69125778f230c4c94f2d19c96cc87
Commit: 2cf2bc472da87bb4bf971b1448e05b9e3bd983dc
https://github.com/llvm/llvm-project/commit/2cf2bc472da87bb4bf971b1448e05b9e3bd983dc
Author: Sirraide <aeternalmail at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/lib/AST/Decl.cpp
M clang/test/CodeGen/const-init.c
A clang/test/Sema/const-init.c
Log Message:
-----------
[Clang] [CodeGen] Fix codegen bug in constant initialisation in C23 mode (#84981)
Consider the following code:
```c
bool const inf = (1.0/0.0);
```
When trying to emit the initialiser of this variable in C23, we end up
hitting a code path in codegen in `VarDecl::evaluateValueImpl()` where
we check for `IsConstantInitialization && (Ctx.getLangOpts().CPlusPlus
|| Ctx.getLangOpts().C23)`, and if that is the case and we emitted any
notes, constant evaluation fails, and as a result, codegen issues this
error:
```
<source>:1:12: error: cannot compile this static initializer yet
1 | bool const inf = (1.0/0.0);
|
```
As a fix, only fail in C23 mode if we’re initialising a `constexpr`
variable.
This fixes #84784.
Commit: 390f28702fad7b704d026b5c3e9a6030cecab01b
https://github.com/llvm/llvm-project/commit/390f28702fad7b704d026b5c3e9a6030cecab01b
Author: mahesh-attarde <145317060+mahesh-attarde at users.noreply.github.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/include/llvm/CodeGen/AccelTable.h
M llvm/lib/CodeGen/AsmPrinter/AccelTable.cpp
M llvm/utils/TableGen/DecoderEmitter.cpp
Log Message:
-----------
[CodeGen][Tablegen] Fix uninitialized var and shift overflow. (#84896)
Fix uninitialized var and shift overflow.
Commit: eb21ee49cff081911d99d29ba887c1715fc2b8fc
https://github.com/llvm/llvm-project/commit/eb21ee49cff081911d99d29ba887c1715fc2b8fc
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M lldb/test/API/python_api/run_locker/TestRunLocker.py
Log Message:
-----------
[lldb][test] Disable other runlocker test on AArch64 Linux
Flaky on the bot: https://lab.llvm.org/buildbot/#/builders/96/builds/54435
Commit: e77324decf74e8203fdee53e53c1866319ebf47c
https://github.com/llvm/llvm-project/commit/e77324decf74e8203fdee53e53c1866319ebf47c
Author: Zepp <luzepu678 at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/include/clang/Basic/Attr.td
Log Message:
-----------
[Clang] [Docs] Add reference to documentation of `SysVABIAttr` (#85022)
We for some reason already had documentation for this attribute, but just weren’t linking to it.
Commit: 37b5eb0a0a75bdf69b96b902417906da31c88dc3
https://github.com/llvm/llvm-project/commit/37b5eb0a0a75bdf69b96b902417906da31c88dc3
Author: Zaara Syeda <95926691+syzaara at users.noreply.github.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/docs/UsersManual.rst
M clang/include/clang/Basic/CodeGenOptions.h
M clang/include/clang/Basic/DiagnosticDriverKinds.td
M clang/include/clang/Basic/DiagnosticFrontendKinds.td
M clang/include/clang/Driver/Options.td
M clang/lib/CodeGen/CGDecl.cpp
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/CodeGen/Targets/PPC.cpp
M clang/lib/Driver/ToolChains/AIX.cpp
M clang/lib/Frontend/CompilerInstance.cpp
A clang/test/CodeGen/PowerPC/toc-data-attribute.c
A clang/test/CodeGen/PowerPC/toc-data-attribute.cpp
A clang/test/CodeGen/PowerPC/toc-data-diagnostics.c
A clang/test/CodeGen/PowerPC/toc-data-structs-arrays.cpp
A clang/test/Driver/toc-conf.c
A clang/test/Driver/tocdata-cc1.c
M llvm/include/llvm/ADT/STLExtras.h
M llvm/lib/MC/MCSectionXCOFF.cpp
M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
M llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
M llvm/lib/Target/PowerPC/PPCSubtarget.cpp
M llvm/lib/Target/PowerPC/PPCSubtarget.h
A llvm/test/CodeGen/PowerPC/toc-data-large-array.ll
A llvm/test/CodeGen/PowerPC/toc-data-large-array2.ll
A llvm/test/CodeGen/PowerPC/toc-data-struct-array.ll
Log Message:
-----------
[AIX][TOC] Add -mtocdata/-mno-tocdata options on AIX (#67999)
This patch enables support that the XL compiler had for AIX under
-qdatalocal/-qdataimported.
Commit: 1402c016ffe860446552a959e9fc4696c39392f9
https://github.com/llvm/llvm-project/commit/1402c016ffe860446552a959e9fc4696c39392f9
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlanHCFGBuilder.cpp
M llvm/test/Transforms/LoopVectorize/dbg-outer-loop-vect.ll
Log Message:
-----------
[VPlan] Use VPBuilder to create BranchOnCond in VPHCFGBuilder.
This simplifies the code to create the recipe slightly as well as
properly retaining the debug location of the input IR.
Commit: 4e49ee55c587637e17dec7a72b9ce86d85f8f241
https://github.com/llvm/llvm-project/commit/4e49ee55c587637e17dec7a72b9ce86d85f8f241
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M lldb/test/API/functionalities/fork/concurrent_vfork/TestConcurrentVFork.py
Log Message:
-----------
[lldb][Test] Disable ConcurrentVFork tests on Arm/AArch64 Linux
They are either flaky, or not cleaning up after themselves.
See https://github.com/llvm/llvm-project/issues/85084.
Commit: 63180ba444dc09fb9e85fdb98af56b2fc86f6027
https://github.com/llvm/llvm-project/commit/63180ba444dc09fb9e85fdb98af56b2fc86f6027
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Log Message:
-----------
[DAG] Use SelectionDAG::getNOT helper where possible. NFC.
Commit: f18d78b477c76bc09dc580cdaedd55e121f5ebf5
https://github.com/llvm/llvm-project/commit/f18d78b477c76bc09dc580cdaedd55e121f5ebf5
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Log Message:
-----------
[DAG] isKnownToBeAPowerOfTwo - use sd_match to match both commutations of `x & -x` pattern`. NFC.
Allows us to remove some tricky commutation matching
Commit: f46f5a01f4d5a7dcaf4a8fde5fc44eafdd9dbf27
https://github.com/llvm/llvm-project/commit/f46f5a01f4d5a7dcaf4a8fde5fc44eafdd9dbf27
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/lib/Lower/OpenMP/ReductionProcessor.cpp
M flang/lib/Lower/OpenMP/ReductionProcessor.h
A flang/test/Lower/OpenMP/FIR/parallel-reduction-add-byref.f90
A flang/test/Lower/OpenMP/FIR/wsloop-reduction-add-byref.f90
A flang/test/Lower/OpenMP/FIR/wsloop-reduction-iand-byref.f90
A flang/test/Lower/OpenMP/FIR/wsloop-reduction-ieor-byref.f90
A flang/test/Lower/OpenMP/FIR/wsloop-reduction-ior-byref.f90
A flang/test/Lower/OpenMP/FIR/wsloop-reduction-logical-eqv-byref.f90
A flang/test/Lower/OpenMP/FIR/wsloop-reduction-logical-neqv-byref.f90
A flang/test/Lower/OpenMP/FIR/wsloop-reduction-max-byref.f90
A flang/test/Lower/OpenMP/FIR/wsloop-reduction-min-byref.f90
A flang/test/Lower/OpenMP/default-clause-byref.f90
A flang/test/Lower/OpenMP/delayed-privatization-reduction-byref.f90
A flang/test/Lower/OpenMP/parallel-reduction-add-byref.f90
A flang/test/Lower/OpenMP/parallel-reduction-byref.f90
A flang/test/Lower/OpenMP/parallel-wsloop-reduction-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-add-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-add-hlfir-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-iand-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-ieor-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-ior-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-logical-and-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-logical-eqv-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-logical-neqv-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-logical-or-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-max-2-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-max-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-max-hlfir-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-min-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-min2.f90
A flang/test/Lower/OpenMP/wsloop-reduction-mul-byref.f90
M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
A mlir/test/Target/LLVMIR/openmp-reduction-byref.mlir
Log Message:
-----------
[flang][OpenMP][OMPIRBuilder][mlir] Optionally pass reduction vars by ref (#84304)
Previously reduction variables were always passed by value into and out
of the initialization and combiner regions of the OpenMP reduction
declare operation.
This worked well for reductions of primitive types (and might perform
better than passing by reference). But passing by reference will be
useful for array and derived type reductions (e.g. to move allocation
inside of the init region).
Passing reductions by reference requires different LLVM-IR generation
when lowering from MLIR because some of the loads/stores/allocations
will now be moved inside of the init and combiner regions. This
alternate code generation is requested using a new attribute to
omp.wsloop and omp.parallel.
Existing lowerings from mlir are unaffected (these will continue to use
the by-value argument passing.
Flang will continue to pass by-value argument passing for trivial types
unless a (hidden) command line argument is supplied. Non-trivial types
will always use the by-ref lowering.
Array reductions are not ready yet (but are coming very soon). In the
meantime, this is tested by forcing existing reductions to use by-ref.
Commit series for by-ref OpenMP reductions 3/3
---------
Co-authored-by: Mats Petersson <mats.petersson at arm.com>
Commit: 3c227a31dd1046db02323868b9690a6152cfb3b8
https://github.com/llvm/llvm-project/commit/3c227a31dd1046db02323868b9690a6152cfb3b8
Author: Jon Roelofs <jonathan_roelofs at apple.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/cmake/modules/AddLLVM.cmake
Log Message:
-----------
[cmake] Silence a duplicate libraries warning from Apple's linker (#85012)
ld: warning: ignoring duplicate libraries:
This triggers quite frequently in llvm's build because CMake's library
depends mechanism doesn't de-duplicate libraries on the link line.
Duplication is necessary for ELF platforms, but means something subtly
different on Darwin platforms, hence the warning. Since we don't have
much control over that from CMake, just disable the warning wholesale
whenever the linker is detected to support it.
Commit: 628a79dad30befed82ee1c115b00fa9aca5305ed
https://github.com/llvm/llvm-project/commit/628a79dad30befed82ee1c115b00fa9aca5305ed
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Log Message:
-----------
[InstCombine] Don't generate crash dialog for fixpoint verification failure (NFC)
Fixpoint verification failures outside our tests are usually not
indicative of a bug -- don't be pushy about having people report them.
Commit: 59ff907fc14aa2d02e57b4af4140949d4f8caca1
https://github.com/llvm/llvm-project/commit/59ff907fc14aa2d02e57b4af4140949d4f8caca1
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
A llvm/test/Transforms/SLPVectorizer/X86/same-scalar-in-same-phi-extract.ll
Log Message:
-----------
[SLP]Fix PR85082: PHI node has multiple entries.
Need to record casted extractelement for the externally used scalar, not
original extract instruction.
Commit: 096ee4e16fd62cd578d20ec4e8ad4756f4e369ee
https://github.com/llvm/llvm-project/commit/096ee4e16fd62cd578d20ec4e8ad4756f4e369ee
Author: agozillon <Andrew.Gozillon at amd.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/lib/Semantics/check-omp-structure.cpp
A flang/test/Lower/OpenMP/use-device-ptr-to-use-device-addr.f90
M flang/test/Semantics/OpenMP/use_device_ptr1.f90
Log Message:
-----------
[Flang][OpenMP] Implement "promotion" of use_device_ptr non-cptr arguments to use_device_addr (#82834)
This effectively implements some now deprecated OpenMP functionality
that some applications (most notably at the moment GenASiS)
unfortunately depend on (deprecated in specification version 5.2):
"If a list item in a use_device_ptr clause is not of type C_PTR, the
behavior is as if the list item appeared in a use_device_addr clause.
Support for such list items in a use_device_ptr clause is deprecated."
This PR downgrades the hard-error to a deprecated warning and "promotes"
the above cases by simply moving the offending operands from the
use_device_ptr value list to the back of the use_device_addr list (and
moves the related symbols, locs and types that form the BlockArgs
correspondingly) and then the generation of the target data construct
proceeds as normal.
Commit: 732f5368cdc297e83f8720fb13a8c848ff116ccf
https://github.com/llvm/llvm-project/commit/732f5368cdc297e83f8720fb13a8c848ff116ccf
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M mlir/include/mlir/Transforms/Inliner.h
M mlir/include/mlir/Transforms/Passes.td
M mlir/lib/Transforms/InlinerPass.cpp
M mlir/lib/Transforms/Utils/Inliner.cpp
M mlir/test/Transforms/inlining-dump-default-pipeline.mlir
A mlir/test/Transforms/inlining-threshold.mlir
Log Message:
-----------
[RFC][mlir] Add profitability callback to the Inliner. (#84258)
Discussion at https://discourse.llvm.org/t/inliner-cost-model/2992
This change adds a callback that reports whether inlining
of the particular call site (communicated via ResolvedCall argument)
is profitable or not. The default MLIR inliner pass behavior
is unchanged, i.e. the callback always returns true.
This callback may be used to customize the inliner behavior
based on the target specifics (like target instructions costs),
profitability of the inlining for further optimizations
(e.g. if inlining may enable loop optimizations or scalar optimizations
due to object shape propagation), optimization levels (e.g. -Os inlining
may be quite different from -Ofast inlining), etc.
One of the questions is whether the ResolvedCall entity represents
enough of the context for the custom inlining models to come up with
the profitability decision. I think we can start with this and
extend it as necessary.
---------
Co-authored-by: Mehdi Amini <joker.eph at gmail.com>
Commit: e0738cc65865c31975b5bdbbf89c5a4dbbe06dc5
https://github.com/llvm/llvm-project/commit/e0738cc65865c31975b5bdbbf89c5a4dbbe06dc5
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M flang/lib/Optimizer/Builder/Runtime/Intrinsics.cpp
M flang/runtime/Float128Math/CMakeLists.txt
A flang/runtime/Float128Math/random.cpp
A flang/runtime/random-templates.h
M flang/runtime/random.cpp
A flang/test/Lower/Intrinsics/random_number_real16.f90
Log Message:
-----------
[flang] Moved REAL(16) RANDOM_NUMBER to Float128Math library. (#85002)
Commit: 286c3b500dc36b2451683bde5d681bf6efea3e63
https://github.com/llvm/llvm-project/commit/286c3b500dc36b2451683bde5d681bf6efea3e63
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/test/Lower/Intrinsics/modulo.f90
Log Message:
-----------
[flang] Enable REAL(16) MODULO lowering. (#85005)
The lowering currently relies on the trivial operations,
so we should just lower it for REAL(16) the same way we do this
for other trivial operations.
Commit: d24ff9aec4f2741804268a66d711d6d31cd06138
https://github.com/llvm/llvm-project/commit/d24ff9aec4f2741804268a66d711d6d31cd06138
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/runtime/Float128Math/CMakeLists.txt
A flang/runtime/Float128Math/fma.cpp
M flang/runtime/Float128Math/math-entries.h
A flang/test/Lower/Intrinsics/fma_real16.f90
Log Message:
-----------
[flang][runtime] Added lowering and runtime for REAL(16) IEEE_FMA. (#85017)
Commit: 9a3000cf6700a711f3d81d071e0b6933cef46c36
https://github.com/llvm/llvm-project/commit/9a3000cf6700a711f3d81d071e0b6933cef46c36
Author: Nick Desaulniers <nickdesaulniers at users.noreply.github.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M libc/config/gpu/entrypoints.txt
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/arm/entrypoints.txt
M libc/config/linux/riscv/entrypoints.txt
Log Message:
-----------
[libc] roll out rest of stdbit.h entrypoints to gpu,linux,baremetal (#84938)
Commit: bb82092de71466728630050691fa9c20796b3cbc
https://github.com/llvm/llvm-project/commit/bb82092de71466728630050691fa9c20796b3cbc
Author: Han-Chung Wang <hanhan0912 at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td
M mlir/test/Conversion/TensorToLinalg/tensor-ops-to-linalg.mlir
M mlir/test/Dialect/Linalg/drop-unit-extent-dims.mlir
M mlir/test/Dialect/Linalg/generalize-pad-tensor.mlir
Log Message:
-----------
[mlir][tensor] Make getMixedPadImpl return static values when possible. (#85016)
If low and high are constants (i.e., not attributes), users still prefer
attributes. Otherwise, there could be failures in type inference. A
failure is introduced by
https://github.com/llvm/llvm-project/commit/60e562d11aeca8020de8d50ded7f0ba9e10e8843,
see the drop_known_unit_constant_low_high test for more details.
Commit: c3eccf03b365a705bc8dc043217478a82bc37a4d
https://github.com/llvm/llvm-project/commit/c3eccf03b365a705bc8dc043217478a82bc37a4d
Author: Adrian Prantl <adrian-prantl at users.noreply.github.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M lldb/source/Expression/IRExecutionUnit.cpp
Log Message:
-----------
Avoid a potential exit(1) in LLVMContext::diagnose() (#84992)
by handling *all* errors in IRExecDiagnosticHandler. The function that
call this handles all unhandled errors with an `exit(1)`.
rdar://124459751
I don't really have a testcase for this, since the crash report I got
for this involved the Swift language plugin.
Commit: cc761a7c356178009d186e70740ccb53bf0c6deb
https://github.com/llvm/llvm-project/commit/cc761a7c356178009d186e70740ccb53bf0c6deb
Author: Zaara Syeda <syzaara at ca.ibm.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Target/PowerPC/GISel/PPCInstructionSelector.cpp
M llvm/lib/Target/PowerPC/P10InstrResources.td
M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
M llvm/lib/Target/PowerPC/PPCBack2BackFusion.def
M llvm/lib/Target/PowerPC/PPCFastISel.cpp
M llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
M llvm/lib/Target/PowerPC/PPCInstr64Bit.td
M llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
M llvm/lib/Target/PowerPC/PPCMacroFusion.def
M llvm/lib/Target/PowerPC/PPCTOCRegDeps.cpp
M llvm/test/CodeGen/PowerPC/remove-copy-crunsetcrbit.mir
Log Message:
-----------
[PowerPC][NFC] Rename ADDItocL to match the 64-bit naming convention (#85099)
In preparation of adding a similar instruction for large code model on
AIX for 32-bit, rename the exisitng ADDItocL 64-instruction to ADDItocL8
to match the naming convention of other instructions with 32-bit and
64-bit variants.
Commit: f15a790fd383665ec4defa0711e975476fd8b18b
https://github.com/llvm/llvm-project/commit/f15a790fd383665ec4defa0711e975476fd8b18b
Author: David Blaikie <dblaikie at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/Interp.h
Log Message:
-----------
Remove use of reference lifetime extension introduced in cdde0d9
Rather than dealing with which is more readable, the named variable
doesn't seem to add value here - so omit it.
Commit: 57b991ab39348d91d8552787958ba7db1e7ceb8a
https://github.com/llvm/llvm-project/commit/57b991ab39348d91d8552787958ba7db1e7ceb8a
Author: Usman Nadeem <mnadeem at quicinc.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64InstrInfo.td
M llvm/test/CodeGen/AArch64/arm64-convert-v4f64.ll
M llvm/test/CodeGen/AArch64/extbinopload.ll
M llvm/test/CodeGen/AArch64/fp-conversion-to-tbl.ll
M llvm/test/CodeGen/AArch64/fptoi.ll
M llvm/test/CodeGen/AArch64/neon-truncstore.ll
M llvm/test/CodeGen/AArch64/sadd_sat_vec.ll
M llvm/test/CodeGen/AArch64/shuffle-tbl34.ll
M llvm/test/CodeGen/AArch64/ssub_sat_vec.ll
M llvm/test/CodeGen/AArch64/tbl-loops.ll
M llvm/test/CodeGen/AArch64/trunc-to-tbl.ll
M llvm/test/CodeGen/AArch64/uadd_sat_vec.ll
M llvm/test/CodeGen/AArch64/usub_sat_vec.ll
M llvm/test/CodeGen/AArch64/vcvt-oversize.ll
M llvm/test/CodeGen/AArch64/vec-combine-compare-truncate-store.ll
M llvm/test/CodeGen/AArch64/vec3-loads-ext-trunc-stores.ll
Log Message:
-----------
[AArch64] Improve lowering of truncating uzp1 (#82457)
There were two existing patterns:
`concat_vectors(trunc(x), trunc(y)) -> uzp1(x, y)`
`concat_vectors(assertzext(trunc(x)), assertzext(trunc(y))) -> uzp1(x,
y)`
Move them into a class and add the following `assertsext` pattern to it:
`concat_vectors(assertsext(trunc(x)), assertsext(trunc(y))) -> uzp1(x,
y)`
Add the following transform for v8i8 and v4i16 result types to help with
pattern matching:
`truncating uzp1(x, y) -> trunc(concat(x, y))`
And a pattern to go with it:
`trunc(concat_vectors(x, y)) -> uzp1 (x, y)`
Add another isel pattern for v8i8 and v4i16 result vector types, similar
to
the existing concat pattern, but with a trunc node in the begining:
`trunc(concat_vectors(assertext_trunc(x), assertext_trunc(y))) ->
xtn(uzp1(x, y))`
Commit: f1015d1701d86c4e640cdbfd1928a958aea921d6
https://github.com/llvm/llvm-project/commit/f1015d1701d86c4e640cdbfd1928a958aea921d6
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
Log Message:
-----------
[VPlan] Use VPBuilder to create ActiveLaneMask (NFC).
Commit: 8a8ef1cacfcd7745d2b6ad00431e6fa9ab9a2fb4
https://github.com/llvm/llvm-project/commit/8a8ef1cacfcd7745d2b6ad00431e6fa9ab9a2fb4
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M flang/lib/Frontend/CompilerInvocation.cpp
M flang/lib/Frontend/FrontendAction.cpp
A flang/test/Driver/cuda-option.f90
Log Message:
-----------
[flang][cuda] Enable cuda with -x cuda option (#84944)
Flang driver was already able to enable the CUDA language feature base
on the file extension but there was no command line option. This PR adds
one.
Commit: 5facb406e6417987ac5dfabd8f04510d7bc3fbc6
https://github.com/llvm/llvm-project/commit/5facb406e6417987ac5dfabd8f04510d7bc3fbc6
Author: Nick Desaulniers <nickdesaulniers at users.noreply.github.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M libc/docs/gpu/support.rst
Log Message:
-----------
[libc][docs] document gpu support for stdbit.h (#85103)
Via:
https://github.com/llvm/llvm-project/pull/84938#issuecomment-1992120095
---------
Co-authored-by: Joseph Huber <huberjn at outlook.com>
Commit: bb893fa23f6c851d957d82e14bc1aa6fbbffcaaa
https://github.com/llvm/llvm-project/commit/bb893fa23f6c851d957d82e14bc1aa6fbbffcaaa
Author: Christian Sigg <chsigg at users.noreply.github.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M mlir/test/Transforms/inlining-threshold.mlir
Log Message:
-----------
[mlir] Fix inlining-threshold.mlir test for NDEBUG builds.
Commit: ccd16085f70105d457f052543d731dd51089945b
https://github.com/llvm/llvm-project/commit/ccd16085f70105d457f052543d731dd51089945b
Author: Bhuminjay Soni <Soni5Happy at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Sema/Sema.h
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/test/Sema/attr-cleanup.c
Log Message:
-----------
Diagnose misuse of the cleanup attribute (#80040)
This pull request fixes #79443 when the cleanup attribute is intended to
be applied to a variable declaration, passing its address to a specified
function. The problem arises when standard functions like free,
closedir, fclose, etc., are used incorrectly with this attribute,
leading to incorrect behavior.
Fixes #79443
Commit: 69afb9d7875d79fdacaaa2f22b5ee3a06faf5373
https://github.com/llvm/llvm-project/commit/69afb9d7875d79fdacaaa2f22b5ee3a06faf5373
Author: Sirraide <aeternalmail at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaExpr.cpp
A clang/test/CodeGen/complex-math-mixed.c
M clang/test/CodeGen/volatile.cpp
A clang/test/Sema/complex-arithmetic.c
Log Message:
-----------
[Clang] [Sema] Fix bug in `_Complex float`+`int` arithmetic (#83063)
C23 6.3.1.8 ‘Usual arithmetic conversions’ p1 states (emphasis mine):
> Otherwise, if the corresponding real type of either operand is
`float`, the other operand is converted, *without change of type
domain*, to a type whose corresponding real type is `float`.
‘type domain’ here refers to `_Complex` vs real (i.e. non-`_Complex`);
there is another clause that states the same for `double`.
Consider the following code:
```c++
_Complex float f;
int x;
f / x;
```
After talking this over with @AaronBallman, we came to the conclusion
that `x` should be converted to `float` and *not* `_Complex float` (that
is, we should perform a division of `_Complex float / float`, and *not*
`_Complex float / _Complex float`; the same also applies to `-+*`). This
was already being done correctly for cases where `x` was already a
`float`; it’s just mixed `_Complex float`+`int` operations that
currently suffer from this problem.
This pr removes the extra `FloatingRealToComplex` conversion that we
were erroneously inserting and adds some tests to make sure we’re
actually doing `_Complex float / float` and not `_Complex float /
_Complex float` (and analogously for `double` and `-+*`).
The only exception here is `float / _Complex float`, which calls a
library function (`__divsc3`) that takes 4 `float`s, so we end up having
to convert the `float` to a `_Complex float` after all (and analogously
for `double`); I don’t believe there is a way around this.
Lastly, we were also missing tests for `_Complex` arithmetic at compile
time, so this adds some tests for that as well.
Commit: 360da83858655ad8297f3c0467c8c97ebedab5ed
https://github.com/llvm/llvm-project/commit/360da83858655ad8297f3c0467c8c97ebedab5ed
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h
M llvm/include/llvm/IR/BasicBlock.h
M llvm/include/llvm/IR/DebugProgramInstruction.h
M llvm/include/llvm/IR/Instruction.h
M llvm/include/llvm/IR/PassManager.h
M llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
M llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/lib/CodeGen/MIRPrinter.cpp
M llvm/lib/CodeGen/SelectOptimize.cpp
M llvm/lib/IR/AsmWriter.cpp
M llvm/lib/IR/BasicBlock.cpp
M llvm/lib/IR/DebugInfo.cpp
M llvm/lib/IR/DebugProgramInstruction.cpp
M llvm/lib/IR/Instruction.cpp
M llvm/lib/IR/LLVMContextImpl.cpp
M llvm/lib/IR/LLVMContextImpl.h
M llvm/lib/Transforms/Utils/Local.cpp
M llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/lib/Transforms/Utils/ValueMapper.cpp
M llvm/unittests/IR/BasicBlockDbgInfoTest.cpp
M llvm/unittests/IR/DebugInfoTest.cpp
M llvm/unittests/Transforms/Utils/DebugifyTest.cpp
Log Message:
-----------
[RemoveDI][NFC] Rename DPValue->DbgRecord in comments and varnames (#84939)
This patch continues the ongoing rename work, replacing DPValue with
DbgRecord in comments and the names of variables, both members and
fn-local. This is the most labour-intensive part of the rename, as it is
where the most decisions have to be made about whether a given comment
or variable is referring to DPValues (equivalent to debug variable
intrinsics) or DbgRecords (a catch-all for all debug intrinsics); these
decisions are not individually difficult, but comprise a fairly large
amount of text to review.
This patch still largely performs basic string substitutions followed by
clang-format; there are almost* no places where, for example, a comment
has been expanded or modified to reflect the semantic difference between
DPValues and DbgRecords. I don't believe such a change is generally
necessary in LLVM, but it may be useful in the docs, and so I'll be
submitting docs changes as a separate patch.
*In a few places, `dbg.values` was replaced with `debug intrinsics`.
Commit: e703c735df1257022bcb6ca9de857e20e671392f
https://github.com/llvm/llvm-project/commit/e703c735df1257022bcb6ca9de857e20e671392f
Author: Changpeng Fang <changpeng.fang at amd.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/DSInstructions.td
Log Message:
-----------
AMDGPU: Remove incorrect uses of SubtaretPredicate around DS_Reals (#85001)
SubtargetPredicate is copied from DS_Pseudo to DS_Real. We should not
use another SubtargetPredicate assignment around DS_Real, because doing
so will override the predicate from DS_Pseudo.
For example, for DS_ADD_RTN_F64, SubtargetPredicate was set to
HasLdsAtomicAddF64 in Pseudo. And it will be overridden to isGFX90APlus
if we assign isGFX90APlus to SubtargetPredicate in Real definition.
Commit: 3b2694853e361d2221ec8071f815d9f5eef35b9b
https://github.com/llvm/llvm-project/commit/3b2694853e361d2221ec8071f815d9f5eef35b9b
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M mlir/test/Dialect/Linalg/transform-op-matmul-to-outerproduct.mlir
Log Message:
-----------
[mlir][nfc] Update Linalg matmul -> Vector OP test (#81416)
Updates "transform-op-matmul-to-outerproduct.mlir". Summary:
* refines TD sequence so that it's easier to reason about the
compilation pipeline (e.g.
`transform.structured.vectorize_children_and_apply_patterns`
is replaced with`transform.structured.vectorize `),
* new input dims to be able to distinguish parallel from reduction
dims,
* updates LIT variable names (makes the output easier to follow),
* removes "noise" from the expected LIT output (e.g. types).
These Linalg -> Vector tests using Transform Dialect are great reference
points for constructing lowering pipelines. This simplification +
clean-up will hopefully make it easier to follow.
Commit: 79cd2c0bb9acb4685094d6b3bf21c758aa51d3df
https://github.com/llvm/llvm-project/commit/79cd2c0bb9acb4685094d6b3bf21c758aa51d3df
Author: Nadeem, Usman <mnadeem at quicinc.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/test/CodeGen/AArch64/bitcast.ll
M llvm/test/CodeGen/AArch64/shufflevector.ll
Log Message:
-----------
[AArch64] Fix tests after PR82457
Change-Id: I44a7e4a10af750b3339d6564c6ce6c2e5c17778e
Commit: 122d368b2b120ff233e66658862b90f185f65c6e
https://github.com/llvm/llvm-project/commit/122d368b2b120ff233e66658862b90f185f65c6e
Author: Fangrui Song <i at maskray.me>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/ObjCopy/ELF/ELFObjcopy.cpp
M llvm/lib/ObjCopy/ELF/ELFObject.h
M llvm/test/tools/llvm-objcopy/ELF/Inputs/compress-debug-sections.yaml
M llvm/test/tools/llvm-objcopy/ELF/compress-debug-sections-zlib.test
M llvm/test/tools/llvm-objcopy/ELF/compress-debug-sections-zstd.test
A llvm/test/tools/llvm-objcopy/ELF/decompress-sections.test
Log Message:
-----------
[llvm-objcopy] --[de]compress-debug-sections: don't compress SHF_ALLOC sections, only decompress .debug sections
Simplify --[de]compress-debug-sections to make it easier to add custom section [de]compression.
Change the following two behaviors to match GNU objcopy.
* --compress-debug-sections compresses SHF_ALLOC sections while GNU
doesn't.
* --decompress-debug-sections decompresses non-debug sections while GNU
doesn't.
Pull Request: https://github.com/llvm/llvm-project/pull/84885
Commit: 35f5caea5115d7dabf0c1a92c8627069d6dbd556
https://github.com/llvm/llvm-project/commit/35f5caea5115d7dabf0c1a92c8627069d6dbd556
Author: Chen Cheng <110446443+ChengChen002 at users.noreply.github.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/ExecutionEngine/Orc/TargetProcess/JITLoaderVTune.cpp
Log Message:
-----------
[NFC] Corrected data type (#84880)
On windows, "&Method.first" is of type "unsigned long long *", and a
type conversion error occurs.
Commit: 13ccaf9b9d4400bb128b35ff4ac733e4afc3ad1c
https://github.com/llvm/llvm-project/commit/13ccaf9b9d4400bb128b35ff4ac733e4afc3ad1c
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallDescription.h
M clang/lib/StaticAnalyzer/Core/CheckerContext.cpp
M clang/unittests/StaticAnalyzer/CMakeLists.txt
R clang/unittests/StaticAnalyzer/IsCLibraryFunctionTest.cpp
M llvm/utils/gn/secondary/clang/unittests/StaticAnalyzer/BUILD.gn
Log Message:
-----------
Revert "Reapply "[analyzer] Accept C library functions from the `std` namespace""
This reverts commit e48d5a838f69e0a8e0ae95a8aed1a8809f45465a.
Fails to build on x86-64 w/gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04)
with the following message:
../llvm-project/clang/unittests/StaticAnalyzer/IsCLibraryFunctionTest.cpp:41:28: error: declaration of ‘std::unique_ptr<clang::ASTUnit> IsCLibraryFunctionTest::ASTUnit’ changes meaning of ‘ASTUnit’ [-fpermissive]
41 | std::unique_ptr<ASTUnit> ASTUnit;
| ^~~~~~~
In file included from ../llvm-project/clang/unittests/StaticAnalyzer/IsCLibraryFunctionTest.cpp:4:
../llvm-project/clang/include/clang/Frontend/ASTUnit.h:89:7: note: ‘ASTUnit’ declared here as ‘class clang::ASTUnit’
89 | class ASTUnit {
| ^~~~~~~
Commit: cd20600767409b183a6d213d56f85f8041a21487
https://github.com/llvm/llvm-project/commit/cd20600767409b183a6d213d56f85f8041a21487
Author: Aleksandr Popov <42888396+aleks-tmb at users.noreply.github.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Utils/LoopConstrainer.cpp
M llvm/test/Transforms/IRCE/compound-loop-bound.ll
Log Message:
-----------
[LoopConstrainer] Apply loop gurads to check that loop bounds are safe (#71531)
Loop guards that apply to loop SCEV bounds allow IRCE for cases with
compound loop bounds such as:
if (K > 0 && M > 0)
for (i = 0; i < min(K, M); i++) {...}
if (K > 0 && M > 0)
for (i = min(K, M); i >= 0; i--) {...}
Otherwise SCEV couldn't prove that loops have safe bounds in these
cases.
Co-authored-by: Aleksander Popov <apopov at azul.com>
Commit: 175b533720956017bb18d1280362f6890ee15b05
https://github.com/llvm/llvm-project/commit/175b533720956017bb18d1280362f6890ee15b05
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M .github/workflows/llvm-project-tests.yml
Log Message:
-----------
workflows: Add workaround for lld failures on MacOS (#85021)
See #81967
Commit: bd77a26e9a15981114e9802d83047f42631125a2
https://github.com/llvm/llvm-project/commit/bd77a26e9a15981114e9802d83047f42631125a2
Author: Sirraide <aeternalmail at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/ExprConstant.cpp
A clang/test/SemaCXX/constexpr-explicit-object-lambda.cpp
Log Message:
-----------
[Clang][Sema] Properly get captured 'this' pointer in lambdas with an explicit object parameter in constant evaluator (#81102)
There were some bugs wrt explicit object parameters in lambdas in the
constant evaluator:
- The code evaluating a `CXXThisExpr` wasn’t checking for explicit
object parameters at all and thus assumed that there was no `this` in
the current context because the lambda didn’t have one, even though we
were in a member function and had captured its `this`.
- The code retrieving captures as lvalues *did* account for explicit
object parameters, but it did not handle the case of the explicit object
parameter being passed by value rather than by reference.
This fixes #80997.
---------
Co-authored-by: cor3ntin <corentinjabot at gmail.com>
Co-authored-by: Aaron Ballman <aaron at aaronballman.com>
Commit: ab9564c315c5111f73788aec9715b488db68d895
https://github.com/llvm/llvm-project/commit/ab9564c315c5111f73788aec9715b488db68d895
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/include/llvm/MC/MCInstBuilder.h
M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
M llvm/test/tools/llvm-mca/RISCV/SiFive7/vector-integer-arithmetic.s
Log Message:
-----------
[RISCV] Add SMLoc to expanded vector pseudoinstructions in AsmParser. (#84875)
This is needed for llvm-mca to correctly apply vsetvli instruments to
these instructions.
Fixes #84799.
Commit: 0bb30f9896d9cdd92514e0a2bfdc03811831f21c
https://github.com/llvm/llvm-project/commit/0bb30f9896d9cdd92514e0a2bfdc03811831f21c
Author: Florian Mayer <fmayer at google.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
Log Message:
-----------
[NFC] [hwasan] factor out some opt handling (#84414)
Commit: c41966161fffea6ef280fbd341ef1751f70379dd
https://github.com/llvm/llvm-project/commit/c41966161fffea6ef280fbd341ef1751f70379dd
Author: Jacek Caban <jacek at codeweavers.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/test/tools/llvm-ar/coff-symtab.test
Log Message:
-----------
[llvm-ar] Be explicit about archive format in coff-symtab.test tests. (#85112)
Fixes test failures on AIX after #82898.
Commit: 3e6d56617f43f86d65dba04c94277dc4a40c2a86
https://github.com/llvm/llvm-project/commit/3e6d56617f43f86d65dba04c94277dc4a40c2a86
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
A llvm/test/Transforms/SLPVectorizer/AArch64/gather-with-minbith-user.ll
Log Message:
-----------
[SLP][NFC]Add a test with reused buildvector node, being resized after
minbitwidth analysis.
Commit: f50d3582b4844b86ad86372028e44b52c560ec7d
https://github.com/llvm/llvm-project/commit/f50d3582b4844b86ad86372028e44b52c560ec7d
Author: Ian Anderson <iana at apple.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/lib/Basic/Module.cpp
M clang/lib/Headers/__stddef_null.h
M clang/lib/Headers/__stddef_nullptr_t.h
M clang/lib/Headers/__stddef_offsetof.h
M clang/lib/Headers/__stddef_ptrdiff_t.h
M clang/lib/Headers/__stddef_rsize_t.h
M clang/lib/Headers/__stddef_size_t.h
M clang/lib/Headers/__stddef_unreachable.h
M clang/lib/Headers/__stddef_wchar_t.h
M clang/lib/Headers/module.modulemap
M clang/lib/Lex/ModuleMap.cpp
M clang/test/Modules/no-undeclared-includes-builtins.cpp
M clang/test/Modules/stddef.c
Log Message:
-----------
[clang][modules] giving the __stddef_ headers their own modules can cause redeclaration errors with -fbuiltin-headers-in-system-modules (#84127)
On Apple platforms, some of the stddef.h types are also declared in
system headers. In particular NULL has a conflicting declaration in
<sys/_types/_null.h>. When that's in a different module from
<__stddef_null.h>, redeclaration errors can occur.
Make the \_\_stddef_ headers be non-modular in
-fbuiltin-headers-in-system-modules and restore them back to not
respecting their header guards. Still define the header guards though.
__stddef_max_align_t.h was in _Builtin_stddef_max_align_t prior to the
addition of _Builtin_stddef, and it needs to stay in a module because
struct's can't be type merged. __stddef_wint_t.h didn't used to have a
module, but leave it in it current module since it doesn't really belong
to stddef.h.
Commit: 55b90b5140a2fe5f625a1dfe9dbb4ed4df968ce0
https://github.com/llvm/llvm-project/commit/55b90b5140a2fe5f625a1dfe9dbb4ed4df968ce0
Author: Alexander Richardson <alexrichardson at google.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M compiler-rt/lib/asan/tests/CMakeLists.txt
M compiler-rt/lib/fuzzer/tests/CMakeLists.txt
M compiler-rt/lib/gwp_asan/tests/CMakeLists.txt
M compiler-rt/lib/interception/tests/CMakeLists.txt
M compiler-rt/lib/msan/tests/CMakeLists.txt
M compiler-rt/lib/orc/tests/CMakeLists.txt
M compiler-rt/lib/sanitizer_common/tests/CMakeLists.txt
M compiler-rt/lib/scudo/standalone/tests/CMakeLists.txt
M compiler-rt/lib/tsan/tests/CMakeLists.txt
M compiler-rt/lib/xray/tests/CMakeLists.txt
Log Message:
-----------
[compiler-rt] Remove llvm_gtest dependency from unit tests
All these unit tests already include ${COMPILER_RT_GTEST_SOURCE} as an
input source file and the target llvm_gtest does not exist for
standalone builds. Currently the DEPS argument is ignored for standalone
builds so the missing target is not a problem, but as part of fixing a
build race for standalone builds I am planning to include those
dependencies in COMPILER_RT_TEST_STANDALONE_BUILD_LIBS configurations.
Reviewed By: vitalybuka
Pull Request: https://github.com/llvm/llvm-project/pull/83649
Commit: 27e5312a8bc8935f9c5620ff061c647d9fbcec85
https://github.com/llvm/llvm-project/commit/27e5312a8bc8935f9c5620ff061c647d9fbcec85
Author: Alexander Richardson <alexrichardson at google.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cpp
M compiler-rt/test/sanitizer_common/TestCases/corelimit.cpp
Log Message:
-----------
[compiler-rt] Avoid generating coredumps when piped to a tool
I was trying to debug why `ninja check-compiler-rt` was taking so long
to run on my system and after some debugging it turned out that most of
the time was being spent generating core dumps.
On many current Linux systems, coredumps are no longer dumped in the CWD
but instead piped to a utility such as systemd-coredumpd that stores
them in a deterministic location. This can be done by setting the
kernel.core_pattern sysctl to start with a '|'. However, when using such
a setup the kernel ignores a coredump limit of 0 (since there is no file
being written) and we can end up piping many gigabytes of data to
systemd-coredumpd which causes the test suite to freeze for a long time.
While most piped coredump handlers do respect the crashing processes'
RLIMIT_CORE, this is notable not the case for Debian's systemd-coredump
due to a local patch that changes sysctl.d/50-coredump.conf to ignore
the specified limit and instead use RLIM_INFINITY
(https://salsa.debian.org/systemd-team/systemd/-/commit/64599ffe44f0d).
Fortunately there is a workaround: the kernel recognizes the magic value
of 1 for RLIMIT_CORE to disable coredumps when piping. One byte is also
too small to generate any coredump, so it effectively behaves as if we
had set the value to zero.
The alternative to using RLIMIT_CORE=1 would be to use prctl() with the
PR_SET_DUMPABLE flag, however that also prevents ptrace(), so makes it
impossible to attach a debugger.
Fixes: https://github.com/llvm/llvm-project/issues/45797
Reviewed By: vitalybuka
Pull Request: https://github.com/llvm/llvm-project/pull/83701
Commit: 06e310fee12c3e5ea5c7ef066eab946eb84f317d
https://github.com/llvm/llvm-project/commit/06e310fee12c3e5ea5c7ef066eab946eb84f317d
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64InstrInfo.td
M llvm/test/CodeGen/AArch64/arm64-convert-v4f64.ll
M llvm/test/CodeGen/AArch64/extbinopload.ll
M llvm/test/CodeGen/AArch64/fp-conversion-to-tbl.ll
M llvm/test/CodeGen/AArch64/fptoi.ll
M llvm/test/CodeGen/AArch64/neon-truncstore.ll
M llvm/test/CodeGen/AArch64/sadd_sat_vec.ll
M llvm/test/CodeGen/AArch64/shuffle-tbl34.ll
M llvm/test/CodeGen/AArch64/ssub_sat_vec.ll
M llvm/test/CodeGen/AArch64/tbl-loops.ll
M llvm/test/CodeGen/AArch64/trunc-to-tbl.ll
M llvm/test/CodeGen/AArch64/uadd_sat_vec.ll
M llvm/test/CodeGen/AArch64/usub_sat_vec.ll
M llvm/test/CodeGen/AArch64/vcvt-oversize.ll
M llvm/test/CodeGen/AArch64/vec-combine-compare-truncate-store.ll
M llvm/test/CodeGen/AArch64/vec3-loads-ext-trunc-stores.ll
Log Message:
-----------
Revert "[AArch64] Improve lowering of truncating uzp1" (#85115)
Reverts llvm/llvm-project#82457
The bot is broken, likely because of mid-air collision.
Commit: 417324a6c1e7ecb6c145b20905f918378cc824e3
https://github.com/llvm/llvm-project/commit/417324a6c1e7ecb6c145b20905f918378cc824e3
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
Log Message:
-----------
[RISCV] Remove unnecessary ArrayRef. NFC
Commit: 66dd38e8dfd51209aa1fd9bae0a43a355215768f
https://github.com/llvm/llvm-project/commit/66dd38e8dfd51209aa1fd9bae0a43a355215768f
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
Log Message:
-----------
[RISCV] Use references to avoid unnecessary struct copies. NFC
Commit: b61fb18456ecd798b2fc340367018ab3109ebfae
https://github.com/llvm/llvm-project/commit/b61fb18456ecd798b2fc340367018ab3109ebfae
Author: Alastair Houghton <ahoughton at apple.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/generic_category.pass.cpp
M libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/system_category.pass.cpp
M libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long_double.pass.cpp
Log Message:
-----------
[libc++] Fix tests on musl (#85085)
One or two of the tests need slight tweaks to make them pass when
building with musl.
rdar://118885724
Commit: a8967b060df01e46c021f718b4e2d7ed858b8726
https://github.com/llvm/llvm-project/commit/a8967b060df01e46c021f718b4e2d7ed858b8726
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
A llvm/test/Transforms/SLPVectorizer/AArch64/gather-buildvector-with-minbitwidth-user.ll
Log Message:
-----------
[SLP][NFC]Add a test with buildvector with minbitwidth Root, NFC.
Commit: 0b4688403672264ab451992a3461a0df113c3bd7
https://github.com/llvm/llvm-project/commit/0b4688403672264ab451992a3461a0df113c3bd7
Author: Usman Nadeem <mnadeem at quicinc.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64InstrInfo.td
M llvm/test/CodeGen/AArch64/arm64-convert-v4f64.ll
M llvm/test/CodeGen/AArch64/extbinopload.ll
M llvm/test/CodeGen/AArch64/fp-conversion-to-tbl.ll
M llvm/test/CodeGen/AArch64/fptoi.ll
M llvm/test/CodeGen/AArch64/neon-truncstore.ll
M llvm/test/CodeGen/AArch64/sadd_sat_vec.ll
M llvm/test/CodeGen/AArch64/shuffle-tbl34.ll
M llvm/test/CodeGen/AArch64/ssub_sat_vec.ll
M llvm/test/CodeGen/AArch64/tbl-loops.ll
M llvm/test/CodeGen/AArch64/trunc-to-tbl.ll
M llvm/test/CodeGen/AArch64/uadd_sat_vec.ll
M llvm/test/CodeGen/AArch64/usub_sat_vec.ll
M llvm/test/CodeGen/AArch64/vcvt-oversize.ll
M llvm/test/CodeGen/AArch64/vec-combine-compare-truncate-store.ll
M llvm/test/CodeGen/AArch64/vec3-loads-ext-trunc-stores.ll
Log Message:
-----------
Revert "Revert "[AArch64] Improve lowering of truncating uzp1"" (#85119)
Reverts llvm/llvm-project#85115
The fix was already merged in
https://github.com/llvm/llvm-project/commit/79cd2c0bb9acb4685094d6b3bf21c758aa51d3df
Commit: 3d45d8bc70d437283f8afe422011420d0fe6533e
https://github.com/llvm/llvm-project/commit/3d45d8bc70d437283f8afe422011420d0fe6533e
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
A llvm/test/Transforms/SLPVectorizer/AArch64/user-node-not-in-bitwidths.ll
Log Message:
-----------
[SLP][NFC]Add a test with the operand node, not being in MinBWs, though
user is in.
Commit: b77c079987182748fe1746466a74633cfe057cc1
https://github.com/llvm/llvm-project/commit/b77c079987182748fe1746466a74633cfe057cc1
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
R llvm/test/Transforms/SLPVectorizer/X86/same-scalar-in-same-phi-extract.ll
Log Message:
-----------
Revert "[SLP]Fix PR85082: PHI node has multiple entries."
This reverts commit 59ff907fc14aa2d02e57b4af4140949d4f8caca1 to fix
crash revealed in https://lab.llvm.org/buildbot/#/builders/198/builds/8881
Commit: aa68e2814d9a4bad21e4def900152b2e78e25e98
https://github.com/llvm/llvm-project/commit/aa68e2814d9a4bad21e4def900152b2e78e25e98
Author: Kolya Panchenko <87679760+nikolaypanchenko at users.noreply.github.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
A llvm/test/CodeGen/RISCV/rvv/compressstore.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-compressstore-fp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-compressstore-int.ll
Log Message:
-----------
[RISCV] Support `llvm.masked.compressstore` intrinsic (#83457)
The changeset enables lowering of `llvm.masked.compressstore(%data,
%ptr, %mask)` for RVV for fixed vector type into:
```
%0 = vcompress %data, %mask, %vl
%new_vl = vcpop %mask, %vl
vse %0, %ptr, %1, %new_vl
```
Such lowering is only possible when `%data` fits into available LMULs
and otherwise `llvm.masked.compressstore` is scalarized by
`ScalarizeMaskedMemIntrin` pass.
Even though RVV spec in the section `15.8` provide alternative sequence
for compressstore, use of `vcompress + vcpop` should be a proper
canonical form to lower `llvm.masked.compressstore`. If RISC-V target
find the sequence from `15.8` better, peephole optimization can
transform `vcompress + vcpop` into that sequence.
Commit: fbd7c50065705c44e1b3d39f456963810124051b
https://github.com/llvm/llvm-project/commit/fbd7c50065705c44e1b3d39f456963810124051b
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M libc/CMakeLists.txt
M llvm/CMakeLists.txt
Log Message:
-----------
[libc] Repurpose `LIBC_GPU_BUILD` option to enable the new format (#82848)
Summary:
We previously used the `LIBC_GPU_BUILD` option to control whether or not
the GPU build was enabled. This was recently replaced with a new format
that allows treating the GPU targets more directly. However, the new
format is somewhat difficult to use for people unfamiliar with the
runtimes builds, and the removal of this option somewhat broke backward
compatibility. This patch seeks to simplify enabling the GPU build by
repurposing the old enabling option and convert it to the new interface.
Unsure what the rules are here, since this is technically a `LIBC`
option living in the LLVM location.
Commit: 882992a951a3d92d5e19d4fe6c6eb9ba1e87d39c
https://github.com/llvm/llvm-project/commit/882992a951a3d92d5e19d4fe6c6eb9ba1e87d39c
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
A llvm/test/Analysis/ValueTracking/knownbits-select-from-cond.ll
Log Message:
-----------
[ValueTracking] Add tests for inferring select arm bits from condition; NFC
Commit: 744a23f24b08e8b988b176173c433d64761e66b3
https://github.com/llvm/llvm-project/commit/744a23f24b08e8b988b176173c433d64761e66b3
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/test/Analysis/ValueTracking/knownbits-select-from-cond.ll
Log Message:
-----------
[ValueTracking] Use select condition to help infer bits of arms
If we have something like `(select (icmp ult x, 8), x, y)`, we can use
the `(icmp ult x, 8)` to help compute the knownbits of `x`.
Closes #84699
Commit: 8237520eb42b37d7ed353d64a865d3ba5ac24ec6
https://github.com/llvm/llvm-project/commit/8237520eb42b37d7ed353d64a865d3ba5ac24ec6
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
A llvm/test/Transforms/SLPVectorizer/X86/same-scalar-in-same-phi-extract.ll
Log Message:
-----------
[SLP]Fix PR85082: PHI node has multiple entries.
Need to record casted extractelement for the externally used scalar, not
original extract instruction.
Commit: 1f973efd335f34c75fcba1ccbe288fd5ece15a64
https://github.com/llvm/llvm-project/commit/1f973efd335f34c75fcba1ccbe288fd5ece15a64
Author: Martin Storsjö <martin at martin.st>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M libcxx/src/CMakeLists.txt
M libcxxabi/src/CMakeLists.txt
M libunwind/src/CMakeLists.txt
Log Message:
-----------
[runtimes] Prefer -fvisibility-global-new-delete=force-hidden (#84917)
27ce26b06655cfece3d54b30e442ef93d3e78ac7 added the new option
-fvisibility-global-new-delete=, where -fvisibility-global-new-delete=force-hidden
is equivalent to the old option -fvisibility-global-new-delete-hidden.
At the same time, the old option was deprecated.
Test for and use the new option form first; if unsupported, try
using the old form.
This avoids warnings in the MinGW builds, if built with Clang 18 or
newer.
Commit: cd8843f87af2f04a85dda12b37738596cbf4cd5e
https://github.com/llvm/llvm-project/commit/cd8843f87af2f04a85dda12b37738596cbf4cd5e
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M openmp/libomptarget/test/offloading/barrier_fence.c
Log Message:
-----------
[OpenMP] Disable flaky barrier fence test (#85093)
Summary:
This test is flaky on all targets I know of. We should disable it for
now so running the test suite doesn't randomly fail 50% of the time.
Commit: 8bed754c2f965c8cbbb050be6f650b78f7fd78a6
https://github.com/llvm/llvm-project/commit/8bed754c2f965c8cbbb050be6f650b78f7fd78a6
Author: Jordan Rupprecht <rupprecht at google.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M lldb/packages/Python/lldbsuite/test/decorators.py
M lldb/packages/Python/lldbsuite/test/dotest.py
M lldb/packages/Python/lldbsuite/test/lldbpexpect.py
M lldb/packages/Python/lldbsuite/test/test_categories.py
M lldb/packages/Python/lldbsuite/test/test_result.py
M lldb/test/API/benchmarks/expression/TestExpressionCmd.py
M lldb/test/API/benchmarks/expression/TestRepeatedExprs.py
M lldb/test/API/benchmarks/frame_variable/TestFrameVariableResponse.py
M lldb/test/API/benchmarks/startup/TestStartupDelays.py
M lldb/test/API/benchmarks/stepping/TestSteppingSpeed.py
M lldb/test/API/benchmarks/turnaround/TestCompileRunToBreakpointTurnaround.py
M lldb/test/API/terminal/TestSTTYBeforeAndAfter.py
Log Message:
-----------
[lldb][test] Add `pexpect` category for tests that `import pexpect` (#84860)
Instead of directly annotating pexpect-based tests with
`@skipIfWindows`, we can tag them with a new `pexpect` category. We
still automatically skip windows behavior by adding `pexpect` to the
skip category list if the platform is windows, but also allow
non-Windows users to skip them by configuring cmake with
`-DLLDB_TEST_USER_ARGS=--skip-category=pexpect`
As a prerequisite, remove the restriction that `@add_test_categories`
can only apply to test cases, and we make the test runner look for
categories on both the class and the test method.
Commit: c0f2177dac02903bb1ae85af5d91760d0a1b6a02
https://github.com/llvm/llvm-project/commit/c0f2177dac02903bb1ae85af5d91760d0a1b6a02
Author: erichkeane <ekeane at nvidia.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
A clang/include/clang/Basic/Builtins.def
Log Message:
-----------
Revert "[NFC] Remove unnecessary 'Builtins.def' file."
This reverts commit 5a95378659506b0ce94ceb79a43477e73c9756f4.
It was pointed out that this serves as documentation for the targets
where the builtin files have yet to be converted, so this should be left
in place. Reverting!
Commit: e2b8cc11b307aaf2717c344cbaa1d3eb5a4e0401
https://github.com/llvm/llvm-project/commit/e2b8cc11b307aaf2717c344cbaa1d3eb5a4e0401
Author: Dave Lee <davelee.com at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M lldb/test/API/macosx/indirect_symbol/TestIndirectSymbols.py
Log Message:
-----------
[lldb] XFAIL TestIndirectSymbols on darwin (#85127)
```
AssertionError: 'main' != 'call_through_indirect_hidden'
```
Commit: 26bd3d0f9a5a518de02f4dc1921648cda54a0d4e
https://github.com/llvm/llvm-project/commit/26bd3d0f9a5a518de02f4dc1921648cda54a0d4e
Author: Daniel Thornburgh <dthorn at google.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/cmake/caches/Fuchsia.cmake
Log Message:
-----------
[Fuchsia] Add LLDB_TEST_USER_ARGS to stage2 passthrough
Commit: b966b224b32aada3d83fb6d58abe413b5c59f3c1
https://github.com/llvm/llvm-project/commit/b966b224b32aada3d83fb6d58abe413b5c59f3c1
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
R llvm/test/Transforms/SLPVectorizer/X86/same-scalar-in-same-phi-extract.ll
Log Message:
-----------
Revert "[SLP]Fix PR85082: PHI node has multiple entries."
This reverts commit 8237520eb42b37d7ed353d64a865d3ba5ac24ec6 to fix
a crash in https://lab.llvm.org/buildbot/#/builders/198/builds/8891.
Commit: 4dd186afd502e1e56b8f3d6d923b7f8cfa124572
https://github.com/llvm/llvm-project/commit/4dd186afd502e1e56b8f3d6d923b7f8cfa124572
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
A llvm/test/Transforms/SLPVectorizer/X86/same-scalar-in-same-phi-extract.ll
Log Message:
-----------
[SLP]Fix PR85082: PHI node has multiple entries.
Need to record casted extractelement for the externally used scalar, not
original extract instruction.
Commit: 03e50c451427d908bbf8cf2d455de3ebba49fe4f
https://github.com/llvm/llvm-project/commit/03e50c451427d908bbf8cf2d455de3ebba49fe4f
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M flang/include/flang/Evaluate/constant.h
M flang/lib/Semantics/check-call.cpp
M flang/lib/Semantics/expression.cpp
A flang/test/Semantics/call41.f90
Log Message:
-----------
[flang] Emit warning when Hollerith actual passed to CLASS(*) (#84084)
When a Hollerith actual argument is associated with an unlimited
polymorphic dummy argument, it's treated as if it were CHARACTER. Some
other compilers treat it as if it had been BOZ, so emit a portability
warning.
Resolves https://github.com/llvm/llvm-project/issues/83548.
Commit: b49d741c0c3bb21b40c925b4c1a717470181eb8d
https://github.com/llvm/llvm-project/commit/b49d741c0c3bb21b40c925b4c1a717470181eb8d
Author: Dave Lee <davelee.com at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M lldb/test/API/macosx/indirect_symbol/TestIndirectSymbols.py
Log Message:
-----------
[lldb] Skip TestIndirectSymbols (#85133)
Correction to e2b8cc11b307aaf2717c344cbaa1d3eb5a4e0401
Commit: ea848d0a6d5c17af3eb1a4e39dc712606ac684f6
https://github.com/llvm/llvm-project/commit/ea848d0a6d5c17af3eb1a4e39dc712606ac684f6
Author: MessyHack <messyhack at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M openmp/runtime/src/kmp_affinity.cpp
Log Message:
-----------
[OpenMP] Sort topology after adding processor group layer. (#83943)
Various behavior around creating affinity masks and detecting uniform
topology depends on the topology being sorted.
resort topology after adding processor group layer to ensure that the
updated topology reflects the newly added processor group info.
Observed that the topology was not sorted correctly on high core count
AMD Epyc Genoa (2 sockets, 96 cores, 2 threads) using NUMA (NPS 2+).
Commit: ccfb9e6eb7429885e6d09e99cf89bce41f1ca3cc
https://github.com/llvm/llvm-project/commit/ccfb9e6eb7429885e6d09e99cf89bce41f1ca3cc
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M flang/lib/Semantics/expression.cpp
Log Message:
-----------
[flang] Omit parent components for references to bindings (#84836)
https://github.com/llvm/llvm-project/pull/78593 changed expression
semantics to always include the names of parent components that were
necessary to access an inherited component. This turns out to have
broken calls to inherited NOPASS procedure bindings. Update the patch to
omit explicit parent components when accessing bindings, while retaining
them for component accesses (including procedure components).
Commit: af61b8e8f18df2545017ade74baee7a8a8ca99f8
https://github.com/llvm/llvm-project/commit/af61b8e8f18df2545017ade74baee7a8a8ca99f8
Author: Justice Adams <107649528+justice-adams-apple at users.noreply.github.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/cmake/modules/AddLLVM.cmake
Log Message:
-----------
[cmake] Add check_linker_flag import (#85128)
Fixing
```
CMake Error at cmake/llvm/AddLLVM.cmake:266 (check_linker_flag):
Unknown CMake command "check_linker_flag".
```
Commit: 5661188c5766c3136d1954d769825261715b1f9a
https://github.com/llvm/llvm-project/commit/5661188c5766c3136d1954d769825261715b1f9a
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M flang/include/flang/Semantics/module-dependences.h
M flang/include/flang/Semantics/symbol.h
M flang/lib/Semantics/mod-file.cpp
M flang/test/Semantics/modfile63.f90
Log Message:
-----------
[flang] Support multiple distinct module files with same name in one … (#84838)
…compilation
Allow multiple module files with the same module name to exist in one
compilation; distinct modules are distinguished by their hashes.
Commit: af964c7e31f0728e84c97b734933fcb9a1912bce
https://github.com/llvm/llvm-project/commit/af964c7e31f0728e84c97b734933fcb9a1912bce
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
A flang/docs/RuntimeEnvironment.md
M flang/docs/index.md
M flang/runtime/environment.cpp
M flang/runtime/environment.h
M flang/runtime/pointer.cpp
Log Message:
-----------
[flang][runtime] Let FORT_CHECK_POINTER_DEALLOCATION=0 disable runtime … (#84956)
…check
Add an environment variable by which a user can disable the pointer
validation check in DEALLOCATE statement handling. This is not safe, but
it can help make a code work that allocates a pointer with an extended
derived type, associates its target with a pointer to one of its
ancestor types, and then deallocates that pointer.
Commit: 003e292f9895a9cf4e30688269efa668d1fcbb09
https://github.com/llvm/llvm-project/commit/003e292f9895a9cf4e30688269efa668d1fcbb09
Author: Amy Huang <akhuang at google.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/AST/DeclCXX.cpp
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/test/AST/Interp/cxx23.cpp
M clang/test/CXX/class/class.compare/class.compare.default/p3.cpp
M clang/test/CXX/class/class.compare/class.compare.default/p4.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/dtor.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p3-2b.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p3.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p4.cpp
M clang/test/CXX/dcl.decl/dcl.fct.def/dcl.fct.def.default/p2.cpp
M clang/test/CXX/drs/dr13xx.cpp
M clang/test/CXX/drs/dr14xx.cpp
M clang/test/CXX/drs/dr15xx.cpp
M clang/test/CXX/drs/dr16xx.cpp
M clang/test/CXX/drs/dr6xx.cpp
M clang/test/CXX/expr/expr.const/p5-26.cpp
M clang/test/CXX/special/class.copy/p13-0x.cpp
M clang/test/SemaCXX/constant-expression-cxx11.cpp
M clang/test/SemaCXX/constant-expression-cxx14.cpp
M clang/test/SemaCXX/constant-expression-cxx2b.cpp
R clang/test/SemaCXX/cxx23-invalid-constexpr.cpp
M clang/test/SemaCXX/cxx2a-consteval.cpp
M clang/test/SemaCXX/deduced-return-type-cxx14.cpp
M clang/test/SemaOpenCLCXX/addrspace-constructors.clcpp
M clang/www/cxx_status.html
Log Message:
-----------
Revert "[Clang][C++23] Implement P2448R2 ..." (#85136)
Revert "[Clang][C++23] Implement P2448R2: Relaxing some constexpr
restrictions (#77753)"
This reverts commit 99500e8c08a4d941acb8a7eb00523296fb2acf7a because it
causes a behavior change for std=c++20. See
https://github.com/llvm/llvm-project/pull/77753.
Commit: 207e45fb67ee3dbec9590d9303eebf4f720c8a40
https://github.com/llvm/llvm-project/commit/207e45fb67ee3dbec9590d9303eebf4f720c8a40
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/test/Preprocessor/riscv-target-features.c
M llvm/docs/RISCVUsage.rst
M llvm/lib/Support/RISCVISAInfo.cpp
M llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
M llvm/lib/Target/RISCV/RISCVFeatures.td
M llvm/lib/Target/RISCV/RISCVInstrInfoXSf.td
A llvm/test/MC/RISCV/xsifive-invalid.s
A llvm/test/MC/RISCV/xsifive-valid.s
M llvm/unittests/Support/RISCVISAInfoTest.cpp
Log Message:
-----------
[RISCV] Add back SiFive's cdiscard.d.l1, cflush.d.l1, and cease instructions. (#83896)
These were in LLVM 17 but removed from LLVM 18 due to an incorrect
extension name being used.
This restores them with new extension names that match SiFive's
downstream compiler. The extension name has been used internally for
some time. It uses XSiFive instead of XSf like the newer extensions.
`cease` did not have an internal extension name so its using the `XSf`
convention.
The spec for the instructions is here
https://sifive.cdn.prismic.io/sifive/767804da-53b2-4893-97d5-b7c030ae0a94_s76mc_core_complex_manual_21G3.pdf
though the extension name is not listed.
Column width in the extension printing had to be changed to accommodate
a longer extension name.
Commit: 7bdba956efae81f111f0cc6c7aaa92f9712444ba
https://github.com/llvm/llvm-project/commit/7bdba956efae81f111f0cc6c7aaa92f9712444ba
Author: Fehr Mathieu <mathieu.fehr at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td
M mlir/lib/Dialect/Arith/IR/ArithOps.cpp
M mlir/test/Dialect/Arith/canonicalize.mlir
Log Message:
-----------
[mlir][arith] Fix `arith.select` canonicalization patterns (#84685)
Because `arith.select` does not propagate poison of the second or third
operand depending on the condition, some canonicalization patterns are
currently incorrect. This patch removes these incorrect patterns, and
adds a new pattern to fix the case of `i1` select with constants.
Patterns that are removed:
* select(predA, select(predB, x, y), y) => select(and(predA, predB), x,
y)
* select(predA, select(predB, y, x), y) => select(and(predA,
not(predB)), x, y)
* select(predA, x, select(predB, x, y)) => select(or(predA, predB), x,
y)
* select(predA, x, select(predB, y, x)) => select(or(predA, not(predB)),
x, y)
* arith.select %arg, %x, %y : i1 => and(%arg, %x) or and(!%arg, %y)
Pattern that is added:
* select(pred, false, true) => not(pred) for i1
The first two patterns are incorrect when `predB` is poison and `predA`
is false, as a non-poison `y` gets compiled to `poison`. The next two
patterns are incorrect when `predB` is poison and `predA` is true, as a
non-poison `x` gets compiled to `poison`. The last pattern is incorrect
as it propagates poison from all operands afer compilation.
Commit: fc71a49eca630a0f201261b89c5c9b0252ddb48b
https://github.com/llvm/llvm-project/commit/fc71a49eca630a0f201261b89c5c9b0252ddb48b
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M flang/runtime/format-implementation.h
M flang/runtime/internal-unit.cpp
M flang/runtime/internal-unit.h
M flang/runtime/io-stmt.cpp
M flang/runtime/io-stmt.h
Log Message:
-----------
[flang][runtime] Handle end of internal output correctly (#84994)
At the end of an internal output statement, be sure to finish any
following control edit descriptors in the format (if any), and (for
output) advance to the next record. Return the right I/O error status
code if output overruns the buffer.
Commit: 605abe0689dfd28aadc9413306f33a4494cf3fb8
https://github.com/llvm/llvm-project/commit/605abe0689dfd28aadc9413306f33a4494cf3fb8
Author: Fangrui Song <i at maskray.me>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/include/clang/Basic/CodeGenOptions.def
M clang/include/clang/Basic/CodeGenOptions.h
Log Message:
-----------
[clang] Initialize AllTocData after #67999
Commit: 702a86a8f1e4d96c62574fc8d7dd9ccea243517a
https://github.com/llvm/llvm-project/commit/702a86a8f1e4d96c62574fc8d7dd9ccea243517a
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M flang/lib/Semantics/resolve-names.cpp
M flang/test/Semantics/resolve11.f90
Log Message:
-----------
[flang] Correct accessibility of name that is both generic and derive… (#85098)
…d type
When the same name is used for a derived type and generic interface in a
module, and no explicit PUBLIC or PRIVATE statement appears for the name
but the derived type definition does have an explicit accessibility,
that accessibility must also apply to the generic interface.
Commit: 9bfa506d69b9177ced00b69bf94b28038b063d6d
https://github.com/llvm/llvm-project/commit/9bfa506d69b9177ced00b69bf94b28038b063d6d
Author: Amy Huang <akhuang at google.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
Log Message:
-----------
Unrevert "[Clang][C++23] Implement P2448R2: Relaxing some constexpr re… (#85140)
Unrevert commit
https://github.com/llvm/llvm-project/commit/2f67dfb012038678dd0b873394a55bd5c937f843
as there were already dependent changes in the codebase that now fail.
Commit: 35db929b50af51e18c75da74b23caa6c14beeaf6
https://github.com/llvm/llvm-project/commit/35db929b50af51e18c75da74b23caa6c14beeaf6
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/test/Analysis/CostModel/RISCV/shuffle-insert_subvector.ll
Log Message:
-----------
[RISCV] Add cost model coverage for fixed vector insert with known VLEN
Commit: 6885810e7de283ee8d3c8fc328a98544970b3db6
https://github.com/llvm/llvm-project/commit/6885810e7de283ee8d3c8fc328a98544970b3db6
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Support/CMakeLists.txt
M llvm/lib/Support/CommandLine.cpp
Log Message:
-----------
[llvm] Include LLVM_REPOSITORY and LLVM_REVISION in tool version (#84990)
Include the `LLVM_REPOSITORY` and `LLVM_REVISION` in the version output
of tools using `cl::PrintVersionMessage()` such as dwarfdump and
dsymutil.
Before:
```
$ llvm-dwarfdump --version
LLVM (http://llvm.org/):
LLVM version 19.0.0git
Optimized build with assertions.
```
After:
```
$ llvm-dwarfdump --version
LLVM (http://llvm.org/):
LLVM version 19.0.0git (git at github.com:llvm/llvm-project.git 8467457afc61d70e881c9817ace26356ef757733)
Optimized build with assertions.
```
rdar://121526866
Commit: db058b954a32dfb164926e407dfcf49bec054216
https://github.com/llvm/llvm-project/commit/db058b954a32dfb164926e407dfcf49bec054216
Author: Charlie Barto <chbarto at microsoft.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M compiler-rt/test/asan/TestCases/Windows/issue64990.cpp
Log Message:
-----------
[asan][windows] fix issue64990 test (#85137)
This was broken by https://github.com/llvm/llvm-project/pull/84971
Commit: b87db5b6c28f1b5b2358213351d837bc72777cd5
https://github.com/llvm/llvm-project/commit/b87db5b6c28f1b5b2358213351d837bc72777cd5
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M flang/include/flang/Runtime/api-attrs.h
M flang/runtime/environment.cpp
M flang/runtime/environment.h
Log Message:
-----------
[flang][runtime] Fixed flang-runtime-cuda-gcc builder after af964c7. (#85144)
Commit: 2dc9ec47fb16a01c8f7cbb76fba4ad00ac4cb81b
https://github.com/llvm/llvm-project/commit/2dc9ec47fb16a01c8f7cbb76fba4ad00ac4cb81b
Author: ChiaHungDuan <chiahungduan at google.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M compiler-rt/lib/scudo/standalone/CMakeLists.txt
A compiler-rt/lib/scudo/standalone/allocator_config.def
M compiler-rt/lib/scudo/standalone/allocator_config.h
A compiler-rt/lib/scudo/standalone/allocator_config_wrapper.h
M compiler-rt/lib/scudo/standalone/combined.h
M compiler-rt/lib/scudo/standalone/condition_variable.h
M compiler-rt/lib/scudo/standalone/memtag.h
M compiler-rt/lib/scudo/standalone/primary32.h
M compiler-rt/lib/scudo/standalone/primary64.h
M compiler-rt/lib/scudo/standalone/secondary.h
M compiler-rt/lib/scudo/standalone/tests/CMakeLists.txt
A compiler-rt/lib/scudo/standalone/tests/allocator_config_test.cpp
M compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
M compiler-rt/lib/scudo/standalone/tests/primary_test.cpp
M compiler-rt/lib/scudo/standalone/tests/secondary_test.cpp
Log Message:
-----------
[scudo] Refactor allocator config to support optional flags (#81805)
Instead of explicitly disabling a feature by declaring the variable and
set it to false, this change supports the optional flags. I.e., you can
skip certain flags if you are not using it.
This optional feature supports both forms,
1. Value: A parameter for a feature. E.g., EnableRandomOffset
2. Type: A C++ type implementing a feature. E.g., ConditionVariableT
On the other hand, to access the flags will be through one of the
wrappers, BaseConfig/PrimaryConfig/SecondaryConfig/CacheConfig
(CacheConfig is embedded in SecondaryConfig). These wrappers have the
getters to access the value and the type. When adding a new feature, we
need to add it to `allocator_config.def` and mark the new variable with
either *_REQUIRED_* or *_OPTIONAL_* macro so that the accessor will be
generated properly.
In addition, also remove the need of `UseConditionVariable` to flip
on/off of condition variable. Now we only need to define the type of
condition variable.
Commit: 7009c981ecd99756ed08bcad47c4fa595b5e2426
https://github.com/llvm/llvm-project/commit/7009c981ecd99756ed08bcad47c4fa595b5e2426
Author: Charlie Barto <chbarto at microsoft.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M compiler-rt/lib/asan/asan_interceptors.cpp
M compiler-rt/lib/asan/asan_win_dll_thunk.cpp
M compiler-rt/test/asan/TestCases/Windows/intercept_strdup.cpp
Log Message:
-----------
Reapply "[sanitizer][asan][win] Intercept _strdup on Windows (#85006)
Reapply "[sanitizer][asan][win] Intercept _strdup on Windows instead of
strdup
This includes test changes and interface changes that are duplicated in
https://github.com/llvm/llvm-project/pull/81677
This reverts commit 03dc87e93937bf25a48bc77d0006c59f37b1855d.
Commit: f9a14782000e6aa2c4031bc97b20c351a9f281c3
https://github.com/llvm/llvm-project/commit/f9a14782000e6aa2c4031bc97b20c351a9f281c3
Author: Amy Huang <akhuang at google.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/AST/DeclCXX.cpp
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/test/AST/Interp/cxx23.cpp
M clang/test/CXX/class/class.compare/class.compare.default/p3.cpp
M clang/test/CXX/class/class.compare/class.compare.default/p4.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/dtor.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p3-2b.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p3.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p4.cpp
M clang/test/CXX/dcl.decl/dcl.fct.def/dcl.fct.def.default/p2.cpp
M clang/test/CXX/drs/dr13xx.cpp
M clang/test/CXX/drs/dr14xx.cpp
M clang/test/CXX/drs/dr15xx.cpp
M clang/test/CXX/drs/dr16xx.cpp
M clang/test/CXX/drs/dr6xx.cpp
M clang/test/CXX/expr/expr.const/p5-26.cpp
M clang/test/CXX/special/class.copy/p13-0x.cpp
M clang/test/SemaCXX/constant-expression-cxx11.cpp
M clang/test/SemaCXX/constant-expression-cxx14.cpp
M clang/test/SemaCXX/constant-expression-cxx2b.cpp
A clang/test/SemaCXX/cxx23-invalid-constexpr.cpp
M clang/test/SemaCXX/cxx2a-consteval.cpp
M clang/test/SemaCXX/deduced-return-type-cxx14.cpp
M clang/test/SemaOpenCLCXX/addrspace-constructors.clcpp
M clang/www/cxx_status.html
Log Message:
-----------
Reapply "[Clang][C++23] Implement P2448R2 ..." (#85136) (#85145)
This reverts commit 003e292f9895a9cf4e30688269efa668d1fcbb09 because
there were dependent changes in the codebase that now fail.
Commit: d80d5b923c6f611590a12543bdb33e0c16044d44
https://github.com/llvm/llvm-project/commit/d80d5b923c6f611590a12543bdb33e0c16044d44
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/test/Headers/__clang_hip_math.hip
M llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
M llvm/test/Transforms/InstCombine/add-sitofp.ll
M llvm/test/Transforms/InstCombine/binop-itofp.ll
M llvm/test/Transforms/InstCombine/clamp-to-minmax.ll
M llvm/test/Transforms/InstCombine/fpcast.ll
M llvm/test/Transforms/InstCombine/minmax-fold.ll
M llvm/test/Transforms/InstCombine/minmax-fp.ll
M llvm/test/Transforms/InstCombine/pr27236.ll
M llvm/test/Transforms/LoopVectorize/X86/float-induction-x86.ll
M llvm/test/Transforms/LoopVectorize/float-induction.ll
Log Message:
-----------
[InstCombine] Canonicalize `(sitofp x)` -> `(uitofp x)` if `x >= 0`
Just a standard canonicalization.
Proofs: https://alive2.llvm.org/ce/z/9W4VFm
Closes #82404
Commit: 55d4816393f897054a4721920502d45c645edf1d
https://github.com/llvm/llvm-project/commit/55d4816393f897054a4721920502d45c645edf1d
Author: Shilei Tian <i at tianshilei.me>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/include/llvm/Target/GlobalISel/Combine.td
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
Log Message:
-----------
[NFC] Remove trailing white spaces
Commit: 090edd376e6ae353ab344b84622824ce25454bd3
https://github.com/llvm/llvm-project/commit/090edd376e6ae353ab344b84622824ce25454bd3
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M compiler-rt/test/lsan/TestCases/recoverable_leak_check.cpp
Log Message:
-----------
[lsan] Disable symbolization in test
With internal symbolizer leaking pointers can be
copied into alive memory used by symbolizer.
Commit: 6d8aba3d1add74a0e1ef548e2d6e15ad7565ee0b
https://github.com/llvm/llvm-project/commit/6d8aba3d1add74a0e1ef548e2d6e15ad7565ee0b
Author: Nico Weber <thakis at chromium.org>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/utils/gn/secondary/compiler-rt/lib/scudo/standalone/BUILD.gn
M llvm/utils/gn/secondary/compiler-rt/lib/scudo/standalone/tests/BUILD.gn
Log Message:
-----------
[gn] port 2dc9ec47fb16
Commit: 60d54867125d299290c6df5771008b8c1257d7c2
https://github.com/llvm/llvm-project/commit/60d54867125d299290c6df5771008b8c1257d7c2
Author: Nico Weber <thakis at chromium.org>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
Log Message:
-----------
[gn] attempt to port 6885810e7de (vcsrevision dep in Support)
Commit: 02cadde5ed564df82d9caddd5dad257ea894fa0d
https://github.com/llvm/llvm-project/commit/02cadde5ed564df82d9caddd5dad257ea894fa0d
Author: Evgenii Kudriashov <evgenii.kudriashov at intel.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/docs/GlobalISel/GenericOpcode.rst
Log Message:
-----------
[Docs][GlobalISel] Fix a long header in GenericOpcode (NFC) (#84976)
Commit: a05910a270ccdda2256e1ccef5fdbb583d22ae0b
https://github.com/llvm/llvm-project/commit/a05910a270ccdda2256e1ccef5fdbb583d22ae0b
Author: Aiden Grossman <agrossman154 at yahoo.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/tools/llvm-exegesis/llvm-exegesis.cpp
Log Message:
-----------
[llvm-exegesis] Use ExitOnErr instead of manually logging and exiting
This patch removes an explicit use of dbgs() and exit when logging an
error to explicitly use ExitOnErr as this is the canonical way to do
this within exegesis.
Commit: c29b265eb9b7b3b6dc44d87fe6fec8a52485847d
https://github.com/llvm/llvm-project/commit/c29b265eb9b7b3b6dc44d87fe6fec8a52485847d
Author: Carl Ritson <carl.ritson at amd.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
A llvm/test/CodeGen/AMDGPU/pal-metadata-3.0-callable.ll
Log Message:
-----------
Reapply "[AMDGPU] Add pal metadata 3.0 support to callable pal funcs (#67104)"
This reverts commit 7d508eb5d38f4bbbab4230a666d9e742e271af61.
Commit: c1c8a0cb17468bcece489adea2b31df6920c96cb
https://github.com/llvm/llvm-project/commit/c1c8a0cb17468bcece489adea2b31df6920c96cb
Author: Younan Zhang <zyn7109 at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang-tools-extra/clangd/unittests/SelectionTests.cpp
M clang-tools-extra/include-cleaner/unittests/WalkASTTest.cpp
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Sema/Sema.h
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaTemplate.cpp
M clang/lib/Sema/SemaTemplateInstantiate.cpp
M clang/lib/Sema/SemaType.cpp
M clang/test/AST/ast-dump-concepts.cpp
Log Message:
-----------
[concepts] Preserve the FoundDecl of ConceptReference properly (#85032)
The `ConceptReference`'s `FoundDecl` claims it "can differ from
`NamedConcept` when, for example, the concept was found through a
`UsingShadowDecl`", but such the contract was not previously respected.
Fixes https://github.com/llvm/llvm-project/issues/82628
Commit: b84ce9979990283aa4398ad5a654b8b283baa532
https://github.com/llvm/llvm-project/commit/b84ce9979990283aa4398ad5a654b8b283baa532
Author: Kuba (Brecka) Mracek <mracek at apple.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/lib/CodeGen/Targets/RISCV.cpp
M clang/test/CodeGenCXX/arm-swiftcall.cpp
Log Message:
-----------
[clang] Define SwiftInfo for RISCVTargetCodeGenInfo (#82152)
For Embedded Swift, let's unblock building for RISC-V boards (e.g.
ESP32-C6). This isn't trying to add full RISC-V support to Swift /
Embedded Swift, it's just fixing the immediate blocker (not having
SwiftInfo defined blocks all compilations).
Commit: 1e9bfcd9a423765a86b2fc807c3bc3a097823deb
https://github.com/llvm/llvm-project/commit/1e9bfcd9a423765a86b2fc807c3bc3a097823deb
Author: Uday Bondhugula <uday at polymagelabs.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M mlir/include/mlir/Dialect/Affine/Analysis/LoopAnalysis.h
M mlir/include/mlir/Dialect/Affine/IR/AffineValueMap.h
M mlir/lib/Dialect/Affine/Analysis/LoopAnalysis.cpp
M mlir/lib/Dialect/Affine/IR/AffineValueMap.cpp
M mlir/test/Dialect/Affine/access-analysis.mlir
M mlir/test/lib/Dialect/Affine/TestAccessAnalysis.cpp
Log Message:
-----------
[MLIR][Affine] Fix/complete access index invariance, add isInvariantAccess (#84602)
isAccessIndexInvariant had outdated code and didn't handle IR with
multiple
affine.apply ops, which is inconvenient when used as a utility. This is
addressed by switching to use the proper API on AffineValueMap. Add
mlir::affine::isInvariantAccess exposed for outside use and tested via
the test pass. Add a method on AffineValueMap. Add test cases to
exercise simplification and composition for invariant access analysis.
A TODO/FIXME has been added but this issue existed before.
Commit: 437fcc6eed99694a9f9486d29ead6a3d3275ede9
https://github.com/llvm/llvm-project/commit/437fcc6eed99694a9f9486d29ead6a3d3275ede9
Author: Matthias Springer <me at m-sp.org>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M mlir/include/mlir/IR/PatternMatch.h
Log Message:
-----------
[mlir][IR] Add additional rewriter constructor (#85044)
For convenience, add an additional constructor to `RewriterBase` and
`IRRewriter` that also sets the insertion point. `OpBuilder` provides a
similar constructor.
Commit: 84420a2ab34a1e0ddbd1ffe7f1e4faea34aeb2b3
https://github.com/llvm/llvm-project/commit/84420a2ab34a1e0ddbd1ffe7f1e4faea34aeb2b3
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
Log Message:
-----------
[RISCV] Move matchRegisterNameHelper into the RISCVAsmParser and remove IsRVE argument. NFC (#85172)
With it in the class we can use isRVE() inside the function instead of
making the callers do it.
Commit: 274db64558e6c2dd8a35e912301f628fcb7ceed6
https://github.com/llvm/llvm-project/commit/274db64558e6c2dd8a35e912301f628fcb7ceed6
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
Log Message:
-----------
[RISCV] Replace a hardcoded 16 with RISCVZC::INVALID_RLIST. NFC
Commit: 162180decf532acd31c9aa4b876804848d1761c0
https://github.com/llvm/llvm-project/commit/162180decf532acd31c9aa4b876804848d1761c0
Author: Joshua Batista <jbatista at microsoft.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/include/clang/Basic/LangStandard.h
M clang/include/clang/Driver/Options.td
M clang/lib/Basic/LangStandards.cpp
M clang/lib/Driver/ToolChains/HLSL.cpp
A clang/test/Options/HV.hlsl
Log Message:
-----------
[HLSL] Add -HV option translation to clang-dxc.exe (#83938)
Previously, clang-dxc.exe would not recognize -HV as a valid argument to
DXC, and would be unable to translate the argument to a legal clang
argument. This PR implements a translation of the HV option and its
value to the appropriate clang flag and the appropriate value. It adds a
test by using the -### option to spit out the translated options, and
checks to see that the correct option was generated.
Fixes #83479
---------
Co-authored-by: Chris B <cbieneman at microsoft.com>
Commit: edc206646520ce07d5741e8360787bcf0217a509
https://github.com/llvm/llvm-project/commit/edc206646520ce07d5741e8360787bcf0217a509
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/GCRootLowering.cpp
A llvm/test/CodeGen/Generic/gc-lowering.ll
Log Message:
-----------
[CodeGen][GC] Skip function without GC in `GCLoweringPass` (#84421)
Commit: fef62be09c0d0aaa7f37144e260a4c03ad97f447
https://github.com/llvm/llvm-project/commit/fef62be09c0d0aaa7f37144e260a4c03ad97f447
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
A llvm/test/Transforms/InstCombine/extract-select-agg.ll
Log Message:
-----------
[InstCombine] Canonicalize `extractvalue + select` (#84686)
This patch canonicalizes `extractvalue (select Cond, TV, FV)` into
`select Cond, (extractvalue TV), (extractvalue FV)`. The latter form may
enable more optimizations.
Commit: 3b5e7c83a6e226d5bd7ed2e9b67449b64812074c
https://github.com/llvm/llvm-project/commit/3b5e7c83a6e226d5bd7ed2e9b67449b64812074c
Author: Qizhi Hu <836744285 at qq.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
A clang/test/Sema/PR84368.cpp
Log Message:
-----------
[Clang][Sema] Fix a bug on type constraint checking (#84671)
Try to fix https://github.com/llvm/llvm-project/issues/84368
When visiting class members in
`TemplateDeclInstantiator::VisitClassTemplateDecl` during
`Sema::InstantiateClass`, we miss to set attribute of friend declaration
if it is(`isFriend` is true). This will lead to
`Sema::AreConstraintExpressionsEqual` return false when invoked in
`MatchTemplateParameterKind`. Because it makes
`Sema::getTemplateInstantiationArgs` returns incorrect template
argument(`MultiLevelTemplateArgumentList`). When we handle
`CXXRecordDecl` In `Sema::getTemplateInstantiationArgs`, friend
declaration(its parent context is `FileContext`) makes us to choose
`LexicalDeclContext` not `DeclContext` and this is what we want.
Co-authored-by: huqizhi <836744285 at qq.com>
Commit: 071f72a8ecfbcb77c0f95969431b0f5dbc8ed2b2
https://github.com/llvm/llvm-project/commit/071f72a8ecfbcb77c0f95969431b0f5dbc8ed2b2
Author: Marius Brehler <marius.brehler at iml.fraunhofer.de>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M mlir/lib/Target/Cpp/CMakeLists.txt
M mlir/lib/Target/Cpp/TranslateRegistration.cpp
M mlir/test/Target/Cpp/invalid.mlir
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir][Target][Cpp] Remove unused dialects (#85102)
Removes linking and registering dialects that are not support any more.
Commit: e6048b728d3170651828ad2dd7ed5ad0bc5e4f06
https://github.com/llvm/llvm-project/commit/e6048b728d3170651828ad2dd7ed5ad0bc5e4f06
Author: Matthias Gehre <matthias.gehre at amd.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M mlir/include/mlir/Dialect/Bufferization/Transforms/Passes.h
M mlir/include/mlir/Dialect/Bufferization/Transforms/Passes.td
M mlir/lib/Dialect/Bufferization/Transforms/BufferResultsToOutParams.cpp
A mlir/test/Transforms/buffer-results-to-out-params-add-result-attr.mlir
Log Message:
-----------
[MLIR][Bufferization] BufferResultsToOutParams: Add option to add attribute to output arguments (#84320)
Adds a new pass option `add-result-attr` that will make the pass add the
attribute `{bufferize.result}` to each argument that was converted from
a result.
This is important e.g. when later using the python bindings / execution
engine to understand which arguments are actually results.
To be able to test this, the pass option was added to the tablegen. To
avoid collisions with the existing, manually defined option struct
`BufferResultsToOutParamsOptions`, that one was renamed to
`BufferResultsToOutParamsOpts`.
Commit: 34ba90745fa55777436a2429a51a3799c83c6d4c
https://github.com/llvm/llvm-project/commit/34ba90745fa55777436a2429a51a3799c83c6d4c
Author: Kai Sasaki <lewuathe at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M mlir/lib/Conversion/ComplexToStandard/ComplexToStandard.cpp
M mlir/test/Conversion/ComplexToStandard/convert-to-standard.mlir
Log Message:
-----------
[mlir][complex] Support Fastmath flag in conversion of complex.sqrt to standard (#85019)
When converting complex.sqrt op to standard, we need to keep the fast
math flag given to the op.
See:
https://discourse.llvm.org/t/rfc-fastmath-flags-support-in-complex-dialect/71981
Commit: 2582965c160486f9e3b0680f1cebc5ffdef9620c
https://github.com/llvm/llvm-project/commit/2582965c160486f9e3b0680f1cebc5ffdef9620c
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/lib/Serialization/ASTWriterDecl.cpp
A clang/test/Modules/reduced-bmi-generating-codes.cppm
Log Message:
-----------
[C++20] [Modules] [Reduced BMI] Generate the function body from implicitly instantiated class and constant variables
After this patch, we will generate the function body from implicitly
instantiated class. This is important for consumers with same
template arguments. Otherwise the consumers won't see the function body.
Since the consumers won't instantiate the templates again if they find an
instantiation.
Also we will generate the variable definition if the variable is
non-inline but known as constant. Such variables may not affect the
ABI, but they may get involved into the compile time constant computation
in the consumer's code. So we have to generate such definitions.
Commit: 8f68022f8e6e54d1aeae4ed301f5a015963089b7
https://github.com/llvm/llvm-project/commit/8f68022f8e6e54d1aeae4ed301f5a015963089b7
Author: huang-me <56251429+huang-me at users.noreply.github.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/StaticAnalyzer/Core/LoopUnrolling.cpp
M clang/test/Analysis/loop-unrolling.cpp
Log Message:
-----------
[clang][analyzer] Fix crash in loop unrolling (#82089)
StaticAnalyzer didn't check if the variable is declared in
`CompoundStmt` under `SwitchStmt`, which make static analyzer reach root
without finding the declaration.
Fixes #68819
---------
Co-authored-by: Balazs Benics <benicsbalazs at gmail.com>
Commit: ece2c25ab9f572f719fd18f1ced4fa80f3e5ed1c
https://github.com/llvm/llvm-project/commit/ece2c25ab9f572f719fd18f1ced4fa80f3e5ed1c
Author: bvlgah <octopus.busts_0w at icloud.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M lldb/test/API/functionalities/breakpoint/breakpoint_options/TestBreakpointOptions.py
Log Message:
-----------
[LLDB][Test] Fix the test case of listing verbose break info on Windows (#85200)
I noticed a failure of [running LLDB test suites on Windows
AArch64](https://lab.llvm.org/buildbot/#/builders/219/builds/9849). The
failed test case is about
checking output of command `breakpoint list -v -L c++`, and an mismatch
on the demangled
name of a function occurred. The test case expects `ns::func(void)`, but
on Windows it is `int ns::func(void)`.
It results from the different mangling scheme used by MSVC, and the
comparison is as follows:
| Scheme | Mangled | Demangled (fully) | Note |
| --- | --- | --- | --- |
| MSVC | `?func at ns@@YAHXZ` | `int __cdecl ns::func(void)` |
[Godbolt](https://godbolt.org/z/5ns8c7xW3) (I have no available Windows
device) |
| Itanium | `_ZN2ns4funcEv` | `ns::func()` | |
According to the current use of MSVC demangling,
https://github.com/llvm/llvm-project/blob/8f68022f8e6e54d1aeae4ed301f5a015963089b7/lldb/source/Core/Mangled.cpp#L128-L143
the `__cdecl` specifier is not part of the name. However, the function's
parameter types should be present
as ` llvm::MSDF_NoVariableType` [does not affect a symbol for
functions](https://github.com/llvm/llvm-project/blob/8f68022f8e6e54d1aeae4ed301f5a015963089b7/llvm/lib/Demangle/MicrosoftDemangleNodes.cpp#L417-L453).
Therefore, it is inappropriate to assume the demangled name are the same
on all platforms. Instead of tweaking the
existing code of demangling to get the same (demangled) name, I think it
is more reasonable to modify the test case.
Commit: 65f5e2c4070f22ab7a1617c798b4c61baa9b39a8
https://github.com/llvm/llvm-project/commit/65f5e2c4070f22ab7a1617c798b4c61baa9b39a8
Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfo.td
Log Message:
-----------
[RISC-V] Add another missing cast in .td file (#85055)
Another instance where we produce an instruction that defines a vreg
with an i32 value.
Commit: 2cf2ca37029435e90829e2e38a27ef7a7d520368
https://github.com/llvm/llvm-project/commit/2cf2ca37029435e90829e2e38a27ef7a7d520368
Author: Marius Brehler <marius.brehler at iml.fraunhofer.de>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M mlir/include/mlir/Target/Cpp/CppEmitter.h
M mlir/lib/Target/Cpp/TranslateToCpp.cpp
Log Message:
-----------
[mlir][Target][Cpp] Cleanup includes (#85105)
Commit: afec257d369a13893b39d02bc630f9f3cec80162
https://github.com/llvm/llvm-project/commit/afec257d369a13893b39d02bc630f9f3cec80162
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVCallLowering.cpp
M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
M llvm/lib/Target/SPIRV/SPIRVISelLowering.cpp
M llvm/lib/Target/SPIRV/SPIRVUtils.h
M llvm/test/CodeGen/SPIRV/pointers/bitcast-fix-load.ll
M llvm/test/CodeGen/SPIRV/pointers/bitcast-fix-store.ll
A llvm/test/CodeGen/SPIRV/pointers/type-deduce-args-rev.ll
A llvm/test/CodeGen/SPIRV/pointers/type-deduce-args.ll
Log Message:
-----------
[SPIRV] Add type inference of function parameters by call instances (#85077)
This PR adds type inference of function parameters by call instances.
Two use cases that demonstrate the problem are added.
Commit: aff05708916107eec73ea5db363f625926f60730
https://github.com/llvm/llvm-project/commit/aff05708916107eec73ea5db363f625926f60730
Author: Atousa Duprat <atousa.p at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/include/llvm/ADT/APInt.h
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/Support/APInt.cpp
M llvm/unittests/ADT/APIntTest.cpp
Log Message:
-----------
[ADT] Add implementations for avgFloor and avgCeil to APInt (#84431)
Supports both signed and unsigned expansions.
SelectionDAG now calls the APInt implementation of these functions.
Fixes #84211.
Commit: b19cfb9175223d3e1bb3ef6d49ccd26d0104906c
https://github.com/llvm/llvm-project/commit/b19cfb9175223d3e1bb3ef6d49ccd26d0104906c
Author: Carlos Alberto Enciso <47597242+CarlosAlbertoEnciso at users.noreply.github.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/docs/CommandGuide/llvm-debuginfo-analyzer.rst
M llvm/include/llvm/DebugInfo/LogicalView/Readers/LVBinaryReader.h
M llvm/lib/DebugInfo/LogicalView/LVReaderHandler.cpp
M llvm/lib/DebugInfo/LogicalView/Readers/LVBinaryReader.cpp
M llvm/lib/DebugInfo/LogicalView/Readers/LVELFReader.cpp
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/01-wasm-compare-logical-elements.test
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/01-wasm-print-basic-details.test
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/01-wasm-select-logical-elements.test
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/02-wasm-logical-lines.test
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/03-wasm-incorrect-lexical-scope-typedef.test
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/04-wasm-missing-nested-enumerators.test
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/05-wasm-incorrect-lexical-scope-variable.test
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/06-wasm-full-logical-view.test
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/Inputs/definitions.h
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/Inputs/hello-world-clang.s
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/Inputs/hello-world.cpp
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/Inputs/pr-43860-clang.s
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/Inputs/pr-43860.cpp
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/Inputs/pr-44884-clang.s
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/Inputs/pr-44884.cpp
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/Inputs/pr-46466-clang.s
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/Inputs/pr-46466.cpp
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/Inputs/test-clang.s
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/Inputs/test.cpp
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/README.txt
Log Message:
-----------
[llvm-debuginfo-analyzer] Add support for WebAssembly binary format. (#82588)
Add support for the WebAssembly binary format and be able to generate
logical views.
https://github.com/llvm/llvm-project/issues/69181
The README.txt includes information about how to build the test cases.
Commit: 117537d97ea12bc39501b91d395e1d4705b23850
https://github.com/llvm/llvm-project/commit/117537d97ea12bc39501b91d395e1d4705b23850
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
Log Message:
-----------
[DAG] ExpandIntRes_Shift - pull out repeated getOpcode() calls. NFC.
Commit: 4fef8c75abb080e6471395492819171fee8261fa
https://github.com/llvm/llvm-project/commit/4fef8c75abb080e6471395492819171fee8261fa
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[X86] splitVectorOp - share the same SDLoc argument instead of recreating it over and over again.
Commit: 4528c44d0a82f2b5fe25757b28b185c3c880cfb2
https://github.com/llvm/llvm-project/commit/4528c44d0a82f2b5fe25757b28b185c3c880cfb2
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M libcxx/include/__format/concepts.h
M libcxx/include/__tuple/tuple_size.h
M libcxx/include/chrono
M libcxx/include/tuple
M libcxx/include/vector
M libcxx/test/libcxx/transitive_includes/cxx23.csv
M libcxx/test/libcxx/transitive_includes/cxx26.csv
M libcxx/test/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size_v.verify.cpp
Log Message:
-----------
[libc++] Remove <tuple> include from <__format/concepts.h> (#80214)
This also moves `tuple_size_v` into `tuple_size` as a drive-by.
Commit: a82ca398ce30c499adf73fdd200352714d9867d0
https://github.com/llvm/llvm-project/commit/a82ca398ce30c499adf73fdd200352714d9867d0
Author: Marius Brehler <marius.brehler at iml.fraunhofer.de>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M mlir/include/mlir/Dialect/EmitC/IR/EmitCTypes.td
Log Message:
-----------
[mlir][EmitC] Fix type in example (#85205)
Commit: 95fef1dfefd5467206e74c089d29806fcd82889b
https://github.com/llvm/llvm-project/commit/95fef1dfefd5467206e74c089d29806fcd82889b
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/include/llvm/Transforms/Utils/LoopUtils.h
M llvm/lib/Transforms/Utils/LoopUtils.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
M llvm/test/Transforms/LoopVectorize/AArch64/sve-select-cmp.ll
M llvm/test/Transforms/LoopVectorize/RISCV/select-cmp-reduction.ll
M llvm/test/Transforms/LoopVectorize/select-cmp-predicated.ll
M llvm/test/Transforms/LoopVectorize/select-cmp.ll
M llvm/test/Transforms/LoopVectorize/select-reduction-start-value-may-be-undef-or-poison.ll
Log Message:
-----------
[LV] Improve AnyOf reduction codegen. (#78304)
Update AnyOf reduction code generation to only keep track of the AnyOf
property in a boolean vector in the loop, only selecting either the new
or start value in the middle block.
The patch incorporates feedback from https://reviews.llvm.org/D153697.
This fixes the #62565, as now there aren't multiple uses of the
start/new values.
Fixes https://github.com/llvm/llvm-project/issues/62565
PR: https://github.com/llvm/llvm-project/pull/78304
Commit: 763be018c57171730f80367e75d994a80f34d2ea
https://github.com/llvm/llvm-project/commit/763be018c57171730f80367e75d994a80f34d2ea
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/docs/RemoveDIsDebugInfo.md
M llvm/docs/UserGuides.rst
Log Message:
-----------
[RemoveDIs][NFC] Update docs to reflect new class structure (#85109)
This patch adds some small updates to the LLVM documentation regarding
DbgRecords to accurately describe the current class structure. There are
some more refactorings to come, so this isn't intended to be the final
document update, but it covers the immediate task of updating references
to DPValue that really refer to DbgRecord.
Commit: 4299c727e4806aa55398ad23da48a401554cd432
https://github.com/llvm/llvm-project/commit/4299c727e4806aa55398ad23da48a401554cd432
Author: Tim Northover <tnorthover at apple.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/docs/LanguageExtensions.rst
M clang/include/clang/Basic/BuiltinsAArch64.def
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/test/CodeGen/builtins-arm64.c
M clang/test/Sema/builtins-arm64.c
Log Message:
-----------
AArch64: add __builtin_arm_trap
It's useful to provide an indicator code with the trap, which the generic
__builtin_trap can't do. asm("brk #N") is an option, but following that with a
__builtin_unreachable() leads to two traps when the compiler doesn't know the
block can't return. So compiler support like this is useful.
Commit: 5f774619eac5db73398225a4c924a9c1d437fb40
https://github.com/llvm/llvm-project/commit/5f774619eac5db73398225a4c924a9c1d437fb40
Author: Thorsten Schütt <schuett at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
M llvm/include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h
M llvm/include/llvm/Target/GlobalISel/Combine.td
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
A llvm/test/CodeGen/AArch64/GlobalISel/combine-overflow.mir
M llvm/test/CodeGen/AArch64/GlobalISel/prelegalizer-combiner-addo-zero.mir
M llvm/test/CodeGen/AArch64/overflow.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/saddsat.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/sdiv.i64.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/srem.i64.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/ssubsat.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/udiv.i64.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/urem.i64.ll
Log Message:
-----------
[GlobalIsel] Combine ADDO (#82927)
Perform the requested arithmetic and produce a carry output in addition
to the normal result.
Clang has them as builtins (__builtin_add_overflow_p). The middle end
has intrinsics for them (sadd_with_overflow).
AArch64: ADDS Add and set flags
On Neoverse V2, they run at half the throughput of basic arithmetic and
have a limited set of pipelines.
Commit: 2e865353ed6baa35609e94bf5de9f2061df6eacf
https://github.com/llvm/llvm-project/commit/2e865353ed6baa35609e94bf5de9f2061df6eacf
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/include/llvm/IR/DebugProgramInstruction.h
M llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
M llvm/lib/IR/DebugInfo.cpp
M llvm/lib/Transforms/Coroutines/CoroFrame.cpp
M llvm/lib/Transforms/Coroutines/CoroSplit.cpp
M llvm/lib/Transforms/IPO/MergeFunctions.cpp
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/lib/Transforms/Scalar/JumpThreading.cpp
M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
M llvm/lib/Transforms/Scalar/SpeculativeExecution.cpp
M llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
M llvm/lib/Transforms/Utils/InlineFunction.cpp
M llvm/lib/Transforms/Utils/Local.cpp
M llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
M llvm/lib/Transforms/Utils/LoopUtils.cpp
M llvm/lib/Transforms/Utils/MemoryTaggingSupport.cpp
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/lib/Transforms/Utils/ValueMapper.cpp
M llvm/unittests/IR/DebugInfoTest.cpp
Log Message:
-----------
[RemoveDIs][NFC] Move DPValue::filter -> filterDbgVars (#85208)
This patch changes DPValue::filter to be a non-member method
filterDbgVars. There are two reasons for this: firstly, the name of
DPValue is about to change to DbgVariableRecord, which will result in
every `for` loop that uses DPValue::filter to require a line break. This
is a small thing, but it makes the rename patch more difficult to
review, and is just generally more awkward for what is a fairly common
loop. Secondly, the intent is to later break up the DPValue class into
subclasses, at which point it would be better to have a non-member
function that allows template arguments for the cases we want to filter
with greater specificity.
Commit: 91e68a415cfa0cb2eb47c8ebe741ed26cf97d24c
https://github.com/llvm/llvm-project/commit/91e68a415cfa0cb2eb47c8ebe741ed26cf97d24c
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/unittests/Support/KnownBitsTest.cpp
Log Message:
-----------
[Support] KnownBitsTest - don't bother creating lambdas in testBinaryOpExhaustive callbacks if we can just use the raw KnownBits/APIntOps function reference. NFCI.
Commit: c7cf1350b4c182f7ba54ae42eb77eef94bbf4f35
https://github.com/llvm/llvm-project/commit/c7cf1350b4c182f7ba54ae42eb77eef94bbf4f35
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Log Message:
-----------
[DAG] foldAndToUsubsat - convert to use sd_match pattern. NFC.
Commit: ef8062e35b3aae0e9d8bdee6534511a7b9eb49d0
https://github.com/llvm/llvm-project/commit/ef8062e35b3aae0e9d8bdee6534511a7b9eb49d0
Author: Oleg Shyshkov <shyshkov at google.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M mlir/include/mlir/Target/Cpp/CppEmitter.h
Log Message:
-----------
[mlir][Target][Cpp] Fix include.
mlir/include/mlir/Target/Cpp/CppEmitter.h:27:45: error: unknown type name 'raw_ostream'; did you mean 'llvm::raw_ostream'?
27 | LogicalResult translateToCpp(Operation *op, raw_ostream &os,
| ^~~~~~~~~~~
| llvm::raw_ostream
Commit: c9c23261abb7fb8d51ea6110b7cd6418f078ef8b
https://github.com/llvm/llvm-project/commit/c9c23261abb7fb8d51ea6110b7cd6418f078ef8b
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SDPatternMatch.h
M llvm/unittests/CodeGen/SelectionDAGPatternMatchTest.cpp
Log Message:
-----------
[DAG] Add SDPatternMatch m_SMin/m_SMax/m_UMin/m_UMax matchers
Commit: 6f3f659ce9ab91002b4a490b0ce4b085981383cd
https://github.com/llvm/llvm-project/commit/6f3f659ce9ab91002b4a490b0ce4b085981383cd
Author: serge-sans-paille <sguelton at mozilla.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
Log Message:
-----------
[compiler-rt] Also consider SIGPROF as a synchronous signal (#85188)
Blocking that signal causes inter-blocking for profilers that monitor
threads through that signal.
Fix #83844 and #83561
Commit: 9e00405419c7a8bb6b8f00454b8fd47a2a400674
https://github.com/llvm/llvm-project/commit/9e00405419c7a8bb6b8f00454b8fd47a2a400674
Author: mahesh-attarde <145317060+mahesh-attarde at users.noreply.github.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/include/llvm/CodeGen/MachinePassManager.h
M llvm/include/llvm/Target/TargetMachine.h
M llvm/lib/Target/X86/X86CodeGenPassBuilder.cpp
M llvm/lib/Target/X86/X86TargetMachine.h
Log Message:
-----------
[CodeGen][X86] Remove Expensive option copy and delete copy assignment (#85187)
Remove Expensive option copy and delete copy assignment
Commit: 72d300adad4022b150c24e4a44488d3b9334e999
https://github.com/llvm/llvm-project/commit/72d300adad4022b150c24e4a44488d3b9334e999
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/Pointer.cpp
Log Message:
-----------
[clang][Interp][NFC] Move a varible declaration in the closest scope
Commit: 7252d22803c32bf6421e45dcefe6ea1fa51ac774
https://github.com/llvm/llvm-project/commit/7252d22803c32bf6421e45dcefe6ea1fa51ac774
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
M mlir/include/mlir/Dialect/OpenMP/OpenMPOpsInterfaces.td
Log Message:
-----------
[OpenMP][MLIR] NFC: Remove trailing whitespace (#85213)
Commit: 2e271ceff668dc905dd15e6ca3b52f37602533a9
https://github.com/llvm/llvm-project/commit/2e271ceff668dc905dd15e6ca3b52f37602533a9
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
Revert 4fef8c75abb080e6471395492819171fee8261fa "[X86] splitVectorOp - share the same SDLoc argument instead of recreating it over and over again."
This appears to have broken the clang-with-thin-lto-ubuntu buildbot somehow (unconfirmed but its a likely candidate)
Commit: 516ccce7fa2659bf788a817eae73fa369559cc45
https://github.com/llvm/llvm-project/commit/516ccce7fa2659bf788a817eae73fa369559cc45
Author: Ingo Müller <ingomueller at google.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M mlir/include/mlir/Support/ToolUtilities.h
M mlir/include/mlir/Tools/mlir-opt/MlirOptMain.h
M mlir/lib/Support/ToolUtilities.cpp
M mlir/lib/Tools/lsp-server-support/Transport.cpp
M mlir/lib/Tools/mlir-lsp-server/MLIRServer.cpp
M mlir/lib/Tools/mlir-opt/MlirOptMain.cpp
M mlir/lib/Tools/mlir-pdll-lsp-server/PDLLServer.cpp
M mlir/lib/Tools/mlir-translate/MlirTranslateMain.cpp
R mlir/test/mlir-opt/nearmiss.mlir
A mlir/test/mlir-opt/split-markers.mlir
A mlir/test/mlir-pdll/split-markers.pdll
A mlir/test/mlir-translate/split-markers.mlir
M mlir/tools/mlir-pdll/mlir-pdll.cpp
Log Message:
-----------
[mlir] Make the split markers of splitAndProcessBuffer configurable. (#84765)
This allows to define custom splitters, which is interesting for
non-MLIR inputs and outputs to `mlir-translate`. For example, one may
use `; -----` as a splitter of `.ll` files. The splitters are now passed
as arguments into `splitAndProcessBuffer`, the input splitter defaulting
to the previous default (`// -----`) and the output splitter defaulting
to the empty string, which also corresponds to the previous default. The
behavior of the input split marker should not change at all; however,
outputs now have one new line *more* than before if there is no splitter
(old: `insertMarkerInOutput = false`, new: `outputSplitMarker = ""`) and
one new line *less* if there is one. The value of the input splitter is
exposed as a command line options of `mlir-translate` and other tools as
an optional value to the previously existing flag `-split-input-file`,
which defaults to the default splitter if not specified; the value of
the output splitter is exposed with the new `-output-split-marker`,
which default to the empty string in `mlir-translate` and the default
splitter in the other tools. In short, the previous usage or omission of
the flags should result in previous behavior (modulo the new lines
mentioned before).
Commit: b97c12936dd8d520a5565ace3d51a460939a5c61
https://github.com/llvm/llvm-project/commit/b97c12936dd8d520a5565ace3d51a460939a5c61
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/Descriptor.cpp
M clang/lib/AST/Interp/Descriptor.h
M clang/lib/AST/Interp/Interp.h
M clang/lib/AST/Interp/InterpBuiltin.cpp
M clang/lib/AST/Interp/Opcodes.td
M clang/test/AST/Interp/c.c
Log Message:
-----------
[clang][Interp] Fix non-primitive ltor casts
This doesn't happen in C++ since it will instead call the
struct's copy constructor. However, in C, this needs to work.
Commit: 620544192477cb8f4f1a1342e9593f7f15b5ecaf
https://github.com/llvm/llvm-project/commit/620544192477cb8f4f1a1342e9593f7f15b5ecaf
Author: Michael Maitland <michaeltmaitland at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoZb.td
M llvm/lib/Target/RISCV/RISCVSchedSiFive7.td
M llvm/lib/Target/RISCV/RISCVSchedSiFiveP400.td
M llvm/lib/Target/RISCV/RISCVSchedXiangShanNanHu.td
M llvm/lib/Target/RISCV/RISCVScheduleZb.td
Log Message:
-----------
[RISCV] Add sched classes for Zbb integer min max instructions
Commit: 818e0272f5142986e8d82d1267fb6aa21cd168a0
https://github.com/llvm/llvm-project/commit/818e0272f5142986e8d82d1267fb6aa21cd168a0
Author: Michael Maitland <michaeltmaitland at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVSchedSiFive7.td
M llvm/test/CodeGen/RISCV/machine-combiner.ll
M llvm/test/tools/llvm-mca/RISCV/SiFive7/gpr-bypass.s
Log Message:
-----------
[RISCV] Model integer min max instructions from Zbb execute in late-B ALU
We don't model the early vs late ALU so we just need to remove usage of
SiFivePipeA for these instructions.
Commit: a551ccee66fc70b5ecd03a2c8b9db5a7330820f0
https://github.com/llvm/llvm-project/commit/a551ccee66fc70b5ecd03a2c8b9db5a7330820f0
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/Disasm.cpp
Log Message:
-----------
[clang][Interp][NFC] Print primitive global values in dump()
Commit: 2421e76159536ec4d2224e17fd10dfc4df6a2bc5
https://github.com/llvm/llvm-project/commit/2421e76159536ec4d2224e17fd10dfc4df6a2bc5
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/test/AST/Interp/complex.cpp
Log Message:
-----------
[clang][Interp][NFC] Add more _Complex tests
Commit: 21d80859df3fb416efac13ce8178fdf6d6489292
https://github.com/llvm/llvm-project/commit/21d80859df3fb416efac13ce8178fdf6d6489292
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/Program.cpp
M clang/lib/AST/Interp/Program.h
Log Message:
-----------
[clang][Interp][NFC] Rename DummyParams to DummyVariables
We create dummy descriptors for variables other than parameters
these days.
Commit: 7f2167868d8c1cedd3915883412b9c787a2f01db
https://github.com/llvm/llvm-project/commit/7f2167868d8c1cedd3915883412b9c787a2f01db
Author: Alexey Bataev <5361294+alexey-bataev at users.noreply.github.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/AArch64/ext-trunc.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/gather-buildvector-with-minbitwidth-user.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/gather-with-minbith-user.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/getelementptr2.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/reduce-add-i64.ll
M llvm/test/Transforms/SLPVectorizer/RISCV/reductions.ll
M llvm/test/Transforms/SLPVectorizer/X86/PR35777.ll
M llvm/test/Transforms/SLPVectorizer/X86/int-bitcast-minbitwidth.ll
M llvm/test/Transforms/SLPVectorizer/X86/minbitwidth-multiuse-with-insertelement.ll
M llvm/test/Transforms/SLPVectorizer/X86/minbitwidth-transformed-operand.ll
M llvm/test/Transforms/SLPVectorizer/X86/minimum-sizes.ll
M llvm/test/Transforms/SLPVectorizer/X86/phi-undef-input.ll
M llvm/test/Transforms/SLPVectorizer/X86/resched.ll
M llvm/test/Transforms/SLPVectorizer/X86/reused-reductions-with-minbitwidth.ll
M llvm/test/Transforms/SLPVectorizer/X86/same-scalar-in-same-phi-extract.ll
M llvm/test/Transforms/SLPVectorizer/X86/store-insertelement-minbitwidth.ll
M llvm/test/Transforms/SLPVectorizer/alt-cmp-vectorize.ll
Log Message:
-----------
[SLP]Improve minbitwidth analysis.
This improves overall analysis for minbitwidth in SLP. It allows to
analyze the trees with store/insertelement root nodes. Also, instead of
using single minbitwidth, detected from the very first analysis stage,
it tries to detect the best one for each trunc/ext subtree in the graph
and use it for the subtree.
Results in better code and less vector register pressure.
Metric: size..text
Program size..text
results results0 diff
test-suite :: SingleSource/Benchmarks/Adobe-C++/simple_types_loop_invariant.test 92549.00 92609.00 0.1%
test-suite :: External/SPEC/CINT2017speed/625.x264_s/625.x264_s.test 663381.00 663493.00 0.0%
test-suite :: External/SPEC/CINT2017rate/525.x264_r/525.x264_r.test 663381.00 663493.00 0.0%
test-suite :: MultiSource/Benchmarks/Bullet/bullet.test 307182.00 307214.00 0.0%
test-suite :: External/SPEC/CFP2017speed/638.imagick_s/638.imagick_s.test 1394420.00 1394484.00 0.0%
test-suite :: External/SPEC/CFP2017rate/538.imagick_r/538.imagick_r.test 1394420.00 1394484.00 0.0%
test-suite :: External/SPEC/CFP2017rate/510.parest_r/510.parest_r.test 2040257.00 2040273.00 0.0%
test-suite :: External/SPEC/CFP2017rate/526.blender_r/526.blender_r.test 12396098.00 12395858.00 -0.0%
test-suite :: External/SPEC/CINT2006/445.gobmk/445.gobmk.test 909944.00 909768.00 -0.0%
SingleSource/Benchmarks/Adobe-C++/simple_types_loop_invariant - 4 scalar
instructions remain scalar (good).
Spec2017/x264 - the whole function idct4x4dc is vectorized using <16
x i16> instead of <16 x i32>, also zext/trunc are removed. In other
places last vector zext/sext removed and replaced by
extractelement + scalar zext/sext pair.
MultiSource/Benchmarks/Bullet/bullet - reduce or <4 x i32> replaced by
reduce or <4 x i8>
Spec2017/imagick - Removed extra zext from 2 packs of the operations.
Spec2017/parest - Removed extra zext, replaced by extractelement+scalar
zext
Spec2017/blender - the whole bunch of vector zext/sext replaced by
extractelement+scalar zext/sext, some extra code vectorized in smaller
types.
Spec2006/gobmk - fixed cost estimation, some small code remains scalar.
Original Pull Request: https://github.com/llvm/llvm-project/pull/84334
The patch has the same functionality (no test changes, no changes in
benchmarks) as the original patch, just has some compile time
improvements + fixes for xxhash unittest, discovered earlier in the
previous version of the patch.
Reviewers:
Pull Request: https://github.com/llvm/llvm-project/pull/84536
Commit: a99b912c9b74f6ef91786b4dfbc25160c27d3b41
https://github.com/llvm/llvm-project/commit/a99b912c9b74f6ef91786b4dfbc25160c27d3b41
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/Descriptor.cpp
M clang/lib/AST/Interp/Descriptor.h
M clang/lib/AST/Interp/Interp.h
M clang/lib/AST/Interp/Pointer.h
M clang/lib/AST/Interp/Program.cpp
M clang/test/AST/Interp/arrays.cpp
M clang/test/AST/Interp/literals.cpp
Log Message:
-----------
[clang][Interp] Create dummy pointers for external variables
This way we can use their address, which is necessary in some
scenarios. This requires us to create different descriptors
for dummy arrays so we can get the diagnostics right.
Commit: 611d5aec1de59fe567162158347c6c2ea29ff4d8
https://github.com/llvm/llvm-project/commit/611d5aec1de59fe567162158347c6c2ea29ff4d8
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/InterpBuiltin.cpp
Log Message:
-----------
[clang] Fix -Wunused-variable in InterpBuiltin.cpp (NFC)
llvm-project/clang/lib/AST/Interp/InterpBuiltin.cpp:1332:21:
error: unused variable 'SrcDesc' [-Werror,-Wunused-variable]
const Descriptor *SrcDesc = Src.getFieldDesc();
^
1 error generated.
Commit: 160693dbde2837af4237954edd38b08b2bb17a29
https://github.com/llvm/llvm-project/commit/160693dbde2837af4237954edd38b08b2bb17a29
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
Log Message:
-----------
[clang][Interp][NFC] allocateLocalPrimitive never fails
It returns the local offset, not an std::optional.
Commit: 098520244f90e9330d3ae78bd1061aee2e3688c0
https://github.com/llvm/llvm-project/commit/098520244f90e9330d3ae78bd1061aee2e3688c0
Author: zhongyunde 00443407 <zhongyunde at huawei.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
M llvm/test/Transforms/InstCombine/powi.ll
Log Message:
-----------
[InstCombine] optimize powi(X,Y) * X with Ofast
Try to transform the powi(X, Y) * X into powi(X, Y+1) with Ofast
For this case, when the Y is 3, then powi(X, 4) is replaced by
X2 = X * X; X2 * X2 in the further step.
Similar to D109954, who requires reassoc.
Fixes https://github.com/llvm/llvm-project/issues/69862.
Commit: 1752b9e4c74bda8bb312dadec0dae007c877e28c
https://github.com/llvm/llvm-project/commit/1752b9e4c74bda8bb312dadec0dae007c877e28c
Author: zhongyunde 00443407 <zhongyunde at huawei.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
M llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
Log Message:
-----------
[InstCombine] create a helper function foldPowiReassoc, NFC
Commit: 2d6988a45e29aec9242f96b3ab02a3c3699bc3ec
https://github.com/llvm/llvm-project/commit/2d6988a45e29aec9242f96b3ab02a3c3699bc3ec
Author: zhongyunde 00443407 <zhongyunde at huawei.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/include/llvm/IR/PatternMatch.h
M llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
M llvm/test/Transforms/InstCombine/powi.ll
Log Message:
-----------
[InstCombine] Add restrict reassoc for the operands of fmul
According the discussion, except the fmul itself, all its operands
should also have reassoc flag.
Add new API m_AllowReassoc to check reassoc flag
Commit: f7bebc191484f889272a727584b23697f369e952
https://github.com/llvm/llvm-project/commit/f7bebc191484f889272a727584b23697f369e952
Author: Janek van Oirschot <5994977+JanekvO at users.noreply.github.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/docs/AMDGPUUsage.rst
M llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
A llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCExpr.cpp
A llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCExpr.h
M llvm/lib/Target/AMDGPU/MCTargetDesc/CMakeLists.txt
A llvm/test/MC/AMDGPU/mcexpr_amd.s
A llvm/test/MC/AMDGPU/mcexpr_amd_err.s
Log Message:
-----------
Reland [AMDGPU] Add AMDGPU specific variadic operation MCExprs (#84562)
Adds AMDGPU specific variadic MCExpr operations 'max' and 'or'.
Relands #82022 with fixes
Commit: 486332af6bd3df32423c107ced2653908a1f0fb4
https://github.com/llvm/llvm-project/commit/486332af6bd3df32423c107ced2653908a1f0fb4
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/MCTargetDesc/BUILD.gn
Log Message:
-----------
[gn build] Port f7bebc191484
Commit: 2cd19df792056bbac38ed64c028e335d0c7ef05d
https://github.com/llvm/llvm-project/commit/2cd19df792056bbac38ed64c028e335d0c7ef05d
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/AST/Interp/literals.cpp
Log Message:
-----------
[clang][Interp] Allow visiting extern variables
If the variable is additionally const(expr), visit them like normal
but omit the initializer.
Commit: 589c7abb03448cf00c94add3380b5e019ed5f504
https://github.com/llvm/llvm-project/commit/589c7abb03448cf00c94add3380b5e019ed5f504
Author: Kirill Stoimenov <kstoimenov at google.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/include/llvm/Transforms/Utils/LoopUtils.h
M llvm/lib/Transforms/Utils/LoopUtils.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
M llvm/test/Transforms/LoopVectorize/AArch64/sve-select-cmp.ll
M llvm/test/Transforms/LoopVectorize/RISCV/select-cmp-reduction.ll
M llvm/test/Transforms/LoopVectorize/select-cmp-predicated.ll
M llvm/test/Transforms/LoopVectorize/select-cmp.ll
M llvm/test/Transforms/LoopVectorize/select-reduction-start-value-may-be-undef-or-poison.ll
Log Message:
-----------
Revert "[LV] Improve AnyOf reduction codegen. (#78304)"
Broke sanitizer bots: https://lab.llvm.org/buildbot/#/builders/74/builds/26697
This reverts commit 95fef1dfefd5467206e74c089d29806fcd82889b.
Commit: 6ae4fcfd4c90f4ac7093d9bd901e75b2d5152eb9
https://github.com/llvm/llvm-project/commit/6ae4fcfd4c90f4ac7093d9bd901e75b2d5152eb9
Author: Antonio Frighetto <me at antoniofrighetto.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Utils/SCCPSolver.cpp
M llvm/test/Transforms/SCCP/add-nuw-nsw-flags.ll
Log Message:
-----------
[SCCP] Extend `visitBinaryOperator` to overflowing binary ops
Leverage more refined ranges results when handling overflowing
binary operators.
Commit: a75d0a3dbab6215db228cedf5f2458e251c30637
https://github.com/llvm/llvm-project/commit/a75d0a3dbab6215db228cedf5f2458e251c30637
Author: Alastair Houghton <ahoughton at apple.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M lldb/cmake/caches/Apple-lldb-Linux.cmake
Log Message:
-----------
[LLDB] Add lldb-python-scripts to the things installed on Linux. (#85080)
Commit: d83660827f0cb0054dafef6568ea2fa5b788a39c
https://github.com/llvm/llvm-project/commit/d83660827f0cb0054dafef6568ea2fa5b788a39c
Author: Andrew Brown <andrew.brown at intel.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M openmp/runtime/src/z_Linux_util.cpp
Log Message:
-----------
[openmp][wasm] Fix microtask type mismatch (#84355)
When OpenMP is compiled for WebAssembly (see #71297), it invokes a
microtask via a `switch` statement that dispatches to the `void *`
microtask pointer with spelled-out arguments (not varargs). As #83329
points out, however, this can result in a type mismatch when the
indirect call is executed by WebAssembly; WebAssembly expects the called
pointer to have the precise type of the call site. This change fixes the
issue by bringing back the approach in [D142593] of type-casting all the
`switch` arms to the precise type. This fixes #83329.
[D142593]: https://reviews.llvm.org/D142593
Commit: 68360dc85507350c9d38bcc6916debe29fd58fee
https://github.com/llvm/llvm-project/commit/68360dc85507350c9d38bcc6916debe29fd58fee
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/Interp.h
A clang/test/AST/Interp/c23.c
Log Message:
-----------
[clang][Interp] Don't abort on float div-by-zero
The result in that case can still be computed, and it's inf.
Commit: ea2cfcc15b4a0c5e823ed173ac8701d1ba6081eb
https://github.com/llvm/llvm-project/commit/ea2cfcc15b4a0c5e823ed173ac8701d1ba6081eb
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M flang/lib/Lower/CMakeLists.txt
A flang/lib/Lower/OpenMP/ClauseT.h
A flang/lib/Lower/OpenMP/Clauses.cpp
A flang/lib/Lower/OpenMP/Clauses.h
Log Message:
-----------
[flang][OpenMP] Implement flexible OpenMP clause representation (#81621)
The new set of classes representing OpenMP classes mimics the contents
of parser::OmpClause, but differs in a few aspects:
- it can be easily created, copied, etc.
- is based on semantics::SomeExpr instead of parser objects.
This set of classes is geared towards a language-agnostic representation
of OpenMP clauses. While the class members are still based on flang's
`parser::OmpClause`, the classes themselves are actually C++ templates
parameterized with types essential to represent necessary information.
The two parameters are
- `IdType`: the type that can represent object's identity (for flang it
will be `semantics::Symbol *`),
- `ExprType`: the type that can represent expressions, arithmetic and
object references (`semantics::MaybeExpr` in flang).
The templates are defined in a namespace `tomp` (to distinguish it from
`omp`).
This patch introduces file "Clauses.cpp", which contains instantiations
of all of the templates for flang. The instantiations are members of
namespace `omp`, and include an all-encompassing variant class
`omp::Clause`, which is the analog of `parser::OmpClause`.
The class `OmpObject` is represented by `omp::Object`, which contains
the symbol associated with the object, and `semantics::MaybeExpr`
representing the designator for the symbol reference. For each specific
clause in the variant `parser::OmpClause`, there exists a `make`
function that will generate the corresponding `omp::Clause` from it. The
intent was to use the make functions as variant visitors. The creation
of a clause instance would then follow the pattern:
```
omp::Clause clause = std::visit([](auto &&s) { return make(s, semaCtx); }, parserClause.u);
```
If a new clause `foo` is added in the future, then:
- a new template `tomp::FooT` representing the clause needs to be added
to ClauseT.h,
- a new instance needs to be created in flang, this can be as simple as
`using Foo = tomp::FooT<...>`,
- a new make function needs to be implemented to create object of class
Foo from `parser::OmpClause::Foo`.
This patch only introduces the new classes, they are not yet used
anywhere.
[Clause representation 1/6]
Commit: 65c0143296e3d8aafe819cbae4a48a3d53f8e7b3
https://github.com/llvm/llvm-project/commit/65c0143296e3d8aafe819cbae4a48a3d53f8e7b3
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/InterpBuiltin.cpp
A clang/test/AST/Interp/ms.cpp
Log Message:
-----------
[clang][Interp] Fix rotate builtins with differently-typed arguments
We were assuming (and asserting) that both arguments have the same
type, but at least for the ms versions, that's not always the case.
Commit: 23323e2837d3282c194df6239a7f1a5494c17907
https://github.com/llvm/llvm-project/commit/23323e2837d3282c194df6239a7f1a5494c17907
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-fp.ll
Log Message:
-----------
[TargetLowering][RISCV] Propagate fastmath flags for the vector operations emitted in expandVecReduce. (#85164)
We used the fastmath flags for any scalar ops created, but not vector.
Commit: 8481fb1698a4a54b3965a1654046df736a57e144
https://github.com/llvm/llvm-project/commit/8481fb1698a4a54b3965a1654046df736a57e144
Author: Zahi Moudallal <zahi at openai.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M mlir/include/mlir/Dialect/LLVMIR/ROCDLOps.td
M mlir/test/Target/LLVMIR/rocdl.mlir
Log Message:
-----------
[MLIR][ROCDL] Fix BallotOp LLVM translation and add doc (#85116)
This modifies the return type of the intrinsic call to handle 32 and 64
bits
properly and document the MLIR operation.
Commit: 92a09c0165b87032e1bd05020a78ed845cf35661
https://github.com/llvm/llvm-project/commit/92a09c0165b87032e1bd05020a78ed845cf35661
Author: Sam McCall <sam.mccall at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Basic/AttrDocs.td
M clang/include/clang/Basic/Features.def
M clang/include/clang/Parse/Parser.h
M clang/include/clang/Sema/Sema.h
M clang/lib/AST/Type.cpp
M clang/lib/CodeGen/CGCall.cpp
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/lib/Parse/ParseDeclCXX.cpp
M clang/lib/Sema/SemaAttr.cpp
M clang/lib/Sema/SemaChecking.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/lib/Sema/SemaInit.cpp
M clang/lib/Sema/SemaOverload.cpp
M clang/lib/Sema/SemaTemplate.cpp
M clang/lib/Sema/SemaType.cpp
M clang/test/Sema/nullability.c
M clang/test/SemaCXX/nullability.cpp
Log Message:
-----------
[clang][nullability] allow _Nonnull etc on nullable class types (#82705)
This enables clang and external nullability checkers to make use of
these annotations on nullable C++ class types like unique_ptr.
These types are recognized by the presence of the _Nullable attribute.
Nullable standard library types implicitly receive this attribute.
Existing static warnings for raw pointers are extended to smart
pointers:
- nullptr used as return value or argument for non-null functions
(`-Wnonnull`)
- assigning or initializing nonnull variables with nullable values
(`-Wnullable-to-nonnull-conversion`)
It doesn't implicitly add these attributes based on the assume_nonnull
pragma, nor warn on missing attributes where the pragma would apply
them.
I'm not confident that the pragma's current behavior will work well for
C++ (where type-based metaprogramming is much more common than C/ObjC).
We'd like to revisit this once we have more implementation experience.
Support can be detected as `__has_feature(nullability_on_classes)`.
This is needed for back-compatibility, as previously clang would issue a
hard error when _Nullable appears on a smart pointer.
UBSan's `-fsanitize=nullability` will not check smart-pointer types.
It can be made to do so by synthesizing calls to `operator bool`, but
that's left for future work.
Discussion:
https://discourse.llvm.org/t/rfc-allowing-nonnull-etc-on-smart-pointers/77201/26
Commit: 6588ac3017df0095b160510f56dcb3e4c32a09f0
https://github.com/llvm/llvm-project/commit/6588ac3017df0095b160510f56dcb3e4c32a09f0
Author: Jonas Paulsson <paulson1 at linux.ibm.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/MachineCombiner.cpp
M llvm/test/CodeGen/RISCV/umulo-128-legalisation-lowering.ll
M llvm/test/CodeGen/X86/bitcast-and-setcc-256.ll
Log Message:
-----------
[MachineCombiner] Don't ignore PHI depths (#82025)
The depths of the Root and the NewRoot are to be compared in
MachineCombiner::improvesCriticalPathLen(), and while the call to
BlockTrace.getInstrCycles(*Root) includes the Depth of a PHI, for some
reason PHI nodes have been ignored in getOperandDef().
This patch removes the special handling of PHIs in getOperandDef() so that
Root and NewRoot get a fair comparison. This does not affect loop headers
as MachineTraceMetrics handles that case by ignoring incoming PHI edges.
Commit: 0b0798b7024843db462ac2fa903c94308d6654eb
https://github.com/llvm/llvm-project/commit/0b0798b7024843db462ac2fa903c94308d6654eb
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M .github/CODEOWNERS
Log Message:
-----------
[NFC] Subscribe myself to changes to {lib,test}/AST/Interp/
Commit: 797994da3c3b0ff40201ac0045740370d2c39cbb
https://github.com/llvm/llvm-project/commit/797994da3c3b0ff40201ac0045740370d2c39cbb
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/AST/Interp/complex.c
Log Message:
-----------
[clang][Interp] Strip _Atomic from _Complex types
... when doing binary operations on them.
Commit: 52557bce73f64df5da13d42dd97b57fbd4ab1b12
https://github.com/llvm/llvm-project/commit/52557bce73f64df5da13d42dd97b57fbd4ab1b12
Author: Jason Molenda <jmolenda at apple.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp
A lldb/test/API/macosx/tbi-honored/Makefile
A lldb/test/API/macosx/tbi-honored/TestTBIHonored.py
A lldb/test/API/macosx/tbi-honored/main.c
Log Message:
-----------
[lldb] [Mach-O] ProcessMachCore needs to strip TBI data from addrs (#84998)
Darwin AArch64 application processors are run with Top Byte Ignore mode
enabled so metadata may be stored in the top byte, it needs to be
ignored when reading/writing memory. David Spickett handled this already
in the base class Process::ReadMemory but ProcessMachCore overrides that
method (to avoid the memory cache) and did not pick up the same change.
I add a test case that creates a pointer with metadata in the top byte
and dereferences it with a live process and with a corefile.
rdar://123784501
Commit: 6479218932117ab36cba578bb458ee7c0fb4bf0a
https://github.com/llvm/llvm-project/commit/6479218932117ab36cba578bb458ee7c0fb4bf0a
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M flang/lib/Lower/OpenMP/Clauses.h
Log Message:
-----------
Fix -Werror build
In file included from ../llvm-project/flang/lib/Lower/OpenMP/Clauses.cpp:9:
../llvm-project/flang/lib/Lower/OpenMP/Clauses.h:195:17: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces]
195 | return Clause{id, specific, source};
| ^~~~~~~~~~~~
| { }
Commit: 58a20a0b96a29686d78d3431c85ee378bf51e98d
https://github.com/llvm/llvm-project/commit/58a20a0b96a29686d78d3431c85ee378bf51e98d
Author: Florian Mayer <fmayer at google.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/include/llvm/Transforms/Utils/MemoryTaggingSupport.h
M llvm/lib/Target/AArch64/AArch64StackTagging.cpp
M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
M llvm/lib/Transforms/Utils/MemoryTaggingSupport.cpp
M llvm/test/CodeGen/AArch64/stack-tagging-initializer-merge.ll
M llvm/test/CodeGen/AArch64/stack-tagging-stack-coloring.ll
M llvm/test/CodeGen/AArch64/stack-tagging-untag-placement.ll
Log Message:
-----------
[MTE] fix bug that prevented stack coloring with MTE (#84422)
Commit: d7f71a330d42ae8ac9048a03bb4816d07038dca6
https://github.com/llvm/llvm-project/commit/d7f71a330d42ae8ac9048a03bb4816d07038dca6
Author: Ingo Müller <ingomueller at google.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M mlir/test/mlir-opt/split-markers.mlir
Log Message:
-----------
[mlir] Fix RUN command introduced in 516ccce7fa (#84765) (NFC)
There were two problems:
* The `%s` argument to `FileCheck` was repeated.
* A single dash for `-check-prefix` was used but we need two dashes.
Commit: 22eb8000d22efe1bf06518e84af84d34ff6375de
https://github.com/llvm/llvm-project/commit/22eb8000d22efe1bf06518e84af84d34ff6375de
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M flang/include/flang/Optimizer/CodeGen/CodeGen.h
M flang/lib/Optimizer/CodeGen/PreCGRewrite.cpp
Log Message:
-----------
[flang][NFC] Expose patterns from PreCGRewrite pass (#85156)
Expose patterns so they can be reused in other passes.
Commit: 0adccd1a7fd8e30650f76bd33471de28b7939455
https://github.com/llvm/llvm-project/commit/0adccd1a7fd8e30650f76bd33471de28b7939455
Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M lldb/include/lldb/Target/Language.h
M lldb/source/Breakpoint/BreakpointResolver.cpp
M lldb/source/Core/Debugger.cpp
M lldb/source/Target/Language.cpp
M lldb/source/Target/TargetProperties.td
Log Message:
-----------
[lldb] Allow languages to filter breakpoints set by line (#83908)
Some languages may create artificial functions that have no real user
code, even though there is line table information for them. One such
case is with coroutine code that receives the CoroSplitter
transformation in LLVM IR. That code transformation creates many
different Functions, cloning one Instruction into many Instructions in
many different Functions and copying the associated debug locations.
It would be difficult to make that pass delete debug locations of cloned
instructions in a language agnostic way (is it even possible?), but LLDB
can ignore certain locations by querying its Language APIs and having it
decide based on, for example, mangling information.
Commit: 0f252e7bd838d201bad89cda5b0e40a1fdeb96ca
https://github.com/llvm/llvm-project/commit/0f252e7bd838d201bad89cda5b0e40a1fdeb96ca
Author: Lang Hames <lhames at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/include/llvm/ExecutionEngine/Orc/MachOPlatform.h
M llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp
Log Message:
-----------
[ORC][MachO] Allow multiple LC_BUILD_VERSION commands.
No testcase: I'm still thinking about the best way to test this.
Commit: 400518526849b8e03400449502a2da67db40157c
https://github.com/llvm/llvm-project/commit/400518526849b8e03400449502a2da67db40157c
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M libcxx/utils/ci/docker-compose.yml
Log Message:
-----------
[libc++][CI] Updates the version number of the latest release.
Commit: 5a77bdc3e7d60c1724054d09a7dc7c67fb58ea9a
https://github.com/llvm/llvm-project/commit/5a77bdc3e7d60c1724054d09a7dc7c67fb58ea9a
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M flang/lib/Lower/OpenMP/Clauses.cpp
Log Message:
-----------
Fix NDEBUG build: guard call to `dump` with #if/#endif
Commit: 8fe3e70e810b409dce36f6d415e86f0f9b1cf22d
https://github.com/llvm/llvm-project/commit/8fe3e70e810b409dce36f6d415e86f0f9b1cf22d
Author: Fangrui Song <i at maskray.me>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M lld/ELF/Writer.cpp
M lld/test/ELF/linkerscript/discard-section.s
Log Message:
-----------
[ELF] Eliminate symbols demoted due to /DISCARD/ discarded sections (#85167)
#69295 demoted Defined symbols relative to discarded sections.
If such a symbol is unreferenced, the desired behavior is to
eliminate it from .symtab just like --gc-sections discarded
definitions.
Linux kernel's CONFIG_DEBUG_FORCE_WEAK_PER_CPU=y configuration expects
that the unreferenced `unused` is not emitted to .symtab
(https://github.com/ClangBuiltLinux/linux/issues/2006).
For relocations referencing demoted symbols, the symbol index restores
to 0 like older lld (`R_X86_64_64 0` in `discard-section.s`).
Fix #85048
Commit: 63d53ee3b07e3b13e176eb60d8c02dea365c5ddb
https://github.com/llvm/llvm-project/commit/63d53ee3b07e3b13e176eb60d8c02dea365c5ddb
Author: Fangrui Song <i at maskray.me>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/include/clang/Driver/ToolChain.h
M clang/lib/Driver/ToolChain.cpp
M clang/test/Driver/clang-g-opts.c
Log Message:
-----------
Revert "[Driver] Default riscv*- triples to -fdebug-default-version=4" (#84119)
This reverts commit bbc0f99f3bc96f1db16f649fc21dd18e5b0918f6
(https://reviews.llvm.org/D157663).
With this change, `-g` for the next major release 19.1 will generate
R_RISCV_SET_ULEB128/R_RISCV_SUB_ULEB128 relocations, which require
lld>=18 or binutils>=2.41.
binutils 2.41 is relatively new, but GCC has been producing
R_RISCV_SET_ULEB128/R_RISCV_SUB_ULEB128 for some time now.
Commit: 5afb937d8a30445642ccaf33866ee4cdd0713222
https://github.com/llvm/llvm-project/commit/5afb937d8a30445642ccaf33866ee4cdd0713222
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M libcxx/include/fstream
A libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/setbuf.pass.cpp
Log Message:
-----------
[libc++] Implements filebuf unbuffered. (#76629)
When calling setbuf(nullptr, 0) before performing file operations it
should set the file to unbuffered mode. Currently the code avoids
buffering internally, but the underlying stream still can buffer.
This is addressed by disabling the buffering of the underlying stream.
Fixes: https://github.com/llvm/llvm-project/issues/60509
Commit: f2d02ce04fe679c7cc806722a3c4a303f970f95f
https://github.com/llvm/llvm-project/commit/f2d02ce04fe679c7cc806722a3c4a303f970f95f
Author: Hans Wennborg <hans at chromium.org>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/test/Instrumentation/InstrProfiling/Coro/coro-split-musttail6.ll
M llvm/test/Instrumentation/InstrProfiling/Coro/coro-split-musttail7.ll
M llvm/test/Transforms/Coroutines/coro-split-musttail6.ll
M llvm/test/Transforms/Coroutines/coro-split-musttail7.ll
Log Message:
-----------
[Coroutines] Remove some stale FIXMEs (NFC)
The calls are already musttail.
Commit: 76400d2979c92cc0393628dea50e26374d559775
https://github.com/llvm/llvm-project/commit/76400d2979c92cc0393628dea50e26374d559775
Author: Heejin Ahn <aheejin at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.h
Log Message:
-----------
[WebAssembly] Move getLibcallSignature into WebAssembly namespace (NFC) (#85171)
These are Wasm only functions so they are better be within `WebAssembly`
namespace rather than the `llvm` namespace which includes the whole
LLVM.
Also this removes `extern` keywords which are not strictly necessary.
Commit: 611c62b30d160375b46b7afedc04965ee6f67d1a
https://github.com/llvm/llvm-project/commit/611c62b30d160375b46b7afedc04965ee6f67d1a
Author: Ulrich Weigand <ulrich.weigand at de.ibm.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M openmp/libomptarget/plugins-nextgen/common/include/GlobalHandler.h
M openmp/libomptarget/plugins-nextgen/common/include/Utils/ELF.h
M openmp/libomptarget/plugins-nextgen/common/src/GlobalHandler.cpp
M openmp/libomptarget/plugins-nextgen/common/src/Utils/ELF.cpp
M openmp/libomptarget/plugins-nextgen/cuda/src/rtl.cpp
Log Message:
-----------
[libomptarget] Support BE ELF files in plugins-nextgen (#85246)
Code in plugins-nextgen reading ELF files is currently hard-coded to
assume a 64-bit little-endian ELF format. Unfortunately, this assumption
is even embedded in the interface between GlobalHandler and Utils/ELF
routines, which use ELF64LE types.
To fix this, I've refactored the interface to use generic types, in
particular by using (a unique_ptr to) ObjectFile instead of
ELF64LEObjectFile, and ELFSymbolRef instead of ELF64LE::Sym.
This allows properly templating over multiple ELF format variants inside
Utils/ELF; specifically, this patch adds support for 64-bit big-endian
ELF files in addition to 64-bit little-endian files.
Commit: f795d1a8b1d1e51d2bc815d5bbed8099b37da0b7
https://github.com/llvm/llvm-project/commit/f795d1a8b1d1e51d2bc815d5bbed8099b37da0b7
Author: Paschalis Mpeis <paschalis.mpeis at arm.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/include/llvm/Analysis/TargetTransformInfo.h
M llvm/lib/Analysis/TargetTransformInfo.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
A llvm/test/Transforms/SLPVectorizer/AArch64/slp-frem.ll
Log Message:
-----------
[AArch64][LV][SLP] Vectorizers use call cost for vectorized frem (#82488)
getArithmeticInstrCost is used by both LoopVectorizer and SLPVectorizer
to compute the cost of frem, which becomes a call cost on AArch64 when
TLI has a vector library function.
Add tests that do SLP vectorization for code that contains 2x double and
4x float frem instructions.
Commit: 5cf8cf3ac80e1edce72bc4120b75a31ca609a82c
https://github.com/llvm/llvm-project/commit/5cf8cf3ac80e1edce72bc4120b75a31ca609a82c
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/lib/Sema/SemaOpenMP.cpp
Log Message:
-----------
[clang][OpenMP] Fix directive in ActOnOpenMPTargetParallelForSimdDire… (#85217)
…ctive
The function `ActOnOpenMPTargetParallelForSimdDirective` gets the number
of capture levels for OMPD_target_parallel_for, whereas the intended
directive is OMPD_target_parallel_for_simd.
Commit: d92d2e2b66ab14ad8f41c7af617a18166b2d54ae
https://github.com/llvm/llvm-project/commit/d92d2e2b66ab14ad8f41c7af617a18166b2d54ae
Author: Stanislav Mekhanoshin <rampitec at users.noreply.github.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
Log Message:
-----------
[AMDGPU] Remove trailing whitespaces in SIRegisterInfo.cpp. NFC. (#85269)
Commit: 15788e8dd38ffaa4336eda4c03079b6ea4d7df6d
https://github.com/llvm/llvm-project/commit/15788e8dd38ffaa4336eda4c03079b6ea4d7df6d
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M flang/include/flang/Optimizer/Builder/IntrinsicCall.h
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/module/__fortran_builtins.f90
A flang/test/Lower/Intrinsics/c_ptr_eq_ne.f90
Log Message:
-----------
[flang] Lower c_ptr_eq/ne for iso_c_binding (#85135)
Comparing c_ptr type for equality or inequality is raising an error.
```
not yet implemented: intrinsic module procedure: c_ptr_eq
```
or this one for inequality
```
not yet implemented: intrinsic module procedure: c_ptr_ne
```
This patch adds a lowering for them and fix the `__fortran_builtins.f90`
module for inequality.
Commit: 4e232cab0debff5dbb1906ae6b73c3d9b6cea7cd
https://github.com/llvm/llvm-project/commit/4e232cab0debff5dbb1906ae6b73c3d9b6cea7cd
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Support/APInt.cpp
Log Message:
-----------
[APInt] Implement average functions without sign/zero-extension. NFC. (#85212)
Removing the extension to FullWidth should make them much more efficient
in the 64-bit case, because 65-bit APInts use a separate allocation for
their bits.
Commit: 4c8714efc50eaefc59a0003f6aa44f666feb0140
https://github.com/llvm/llvm-project/commit/4c8714efc50eaefc59a0003f6aa44f666feb0140
Author: Ulrich Weigand <ulrich.weigand at de.ibm.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M openmp/libomptarget/plugins-nextgen/common/include/GlobalHandler.h
M openmp/libomptarget/plugins-nextgen/common/include/Utils/ELF.h
M openmp/libomptarget/plugins-nextgen/common/src/GlobalHandler.cpp
M openmp/libomptarget/plugins-nextgen/common/src/Utils/ELF.cpp
M openmp/libomptarget/plugins-nextgen/cuda/src/rtl.cpp
Log Message:
-----------
Revert "[libomptarget] Support BE ELF files in plugins-nextgen (#85246)"
This reverts commit 611c62b30d160375b46b7afedc04965ee6f67d1a.
Commit: 2c80a9accb18f3eeb1e0c1bd09a980fb2f2dc2d5
https://github.com/llvm/llvm-project/commit/2c80a9accb18f3eeb1e0c1bd09a980fb2f2dc2d5
Author: Lang Hames <lhames at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/include/llvm/ExecutionEngine/Orc/MachOPlatform.h
M llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp
Log Message:
-----------
[ORC][MachO] Pluralize member name.
This member switched from an optional to a vector in 0f252e7bd83.
Commit: 59ab86bb2f135c42ab100416f1a7ada7c12c1d50
https://github.com/llvm/llvm-project/commit/59ab86bb2f135c42ab100416f1a7ada7c12c1d50
Author: Maksim Panchenko <maks at fb.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
M bolt/lib/Target/X86/X86MCPlusBuilder.cpp
Log Message:
-----------
[BOLT] Clear operands when creating new instructions. NFCI (#85191)
Reset operand list whenever we create a new instruction via a parameter
passed by reference. Most functions were already doing this, but there
are several places missing the reset. Potentially, if we don not clear
the list it could lead to invalid instruction operands. But the existing
code is unaffected.
Commit: 4b5b7eca0e5e4e10acb42a70cb0af8300a3b2dfc
https://github.com/llvm/llvm-project/commit/4b5b7eca0e5e4e10acb42a70cb0af8300a3b2dfc
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M cross-project-tests/debuginfo-tests/dexter/dex/debugger/Debuggers.py
A cross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio2022.py
M cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/list-debuggers/list-debuggers.test
Log Message:
-----------
[Dexter] Add VisualStudio2022 support to Dexter (#85248)
Dexter currently supports Visual Studio 2015/2017/2019, but not 2022;
this patch adds support for 2022.
Commit: 4f873730d6ac1a8496cdef939cc451f178a864ee
https://github.com/llvm/llvm-project/commit/4f873730d6ac1a8496cdef939cc451f178a864ee
Author: Thorsten Schütt <schuett at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
A llvm/test/CodeGen/AArch64/extract-vector-elt.ll
Log Message:
-----------
precommit test
Commit: b058b7e6280a732f6fcbc582f8b6511a36fb96e8
https://github.com/llvm/llvm-project/commit/b058b7e6280a732f6fcbc582f8b6511a36fb96e8
Author: Cyndy Ishida <cyndy_ishida at apple.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/test/InstallAPI/basic.test
M clang/tools/clang-installapi/Options.cpp
M clang/tools/clang-installapi/Options.h
Log Message:
-----------
[InstallAPI] capture compatibility versions (#85261)
Commit: 8e3c0a299f7eb8019f70420bb9d5362731ba13fe
https://github.com/llvm/llvm-project/commit/8e3c0a299f7eb8019f70420bb9d5362731ba13fe
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M flang/include/flang/Optimizer/Builder/IntrinsicCall.h
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/module/__fortran_builtins.f90
R flang/test/Lower/Intrinsics/c_ptr_eq_ne.f90
Log Message:
-----------
Revert "[flang] Lower c_ptr_eq/ne for iso_c_binding" (#85293)
Reverts llvm/llvm-project#85135
There is an issue with module file generation in flang build.
Commit: 95c1313f253cd343ee0b20cb7af7c71d904d96be
https://github.com/llvm/llvm-project/commit/95c1313f253cd343ee0b20cb7af7c71d904d96be
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M libcxx/include/__functional/hash.h
M libcxx/include/__tuple/sfinae_helpers.h
M libcxx/include/__type_traits/conjunction.h
M libcxx/include/array
M libcxx/include/coroutine
M libcxx/include/experimental/memory
M libcxx/include/optional
M libcxx/include/variant
M libcxx/test/libcxx/transitive_includes/cxx23.csv
M libcxx/test/libcxx/transitive_includes/cxx26.csv
Log Message:
-----------
[libc++] Remove a few includes from <__functional/hash.h> (#83254)
This also moves `__all` from `sfinae_helpers.h` to `conjunction.h`.
Commit: 8c4546f350fbce938d8fbc85d9e353d011f3f673
https://github.com/llvm/llvm-project/commit/8c4546f350fbce938d8fbc85d9e353d011f3f673
Author: dyung <douglas.yung at sony.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
Log Message:
-----------
Revert "[compiler-rt] Also consider SIGPROF as a synchronous signal (#85188)" (#85296)
This reverts commit 6f3f659ce9ab91002b4a490b0ce4b085981383cd.
This change is causing TSAN failures on a bot as reported in #85188:
https://lab.llvm.org/buildbot/#/builders/247/builds/15279
Commit: ffa2810f7baffaa747b1782ca44207c12d0dd222
https://github.com/llvm/llvm-project/commit/ffa2810f7baffaa747b1782ca44207c12d0dd222
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-fp.ll
Log Message:
-----------
[RISCV] Optimize lowering of VECREDUCE_FMINIMUM/VECREDUCE_FMAXIMUM. (#85165)
Use a normal min/max reduction that doesn't propagate nans and force
the result to nan at the end if any elements were nan.
Commit: 25959310a50240c320283d1e4b23046fed152313
https://github.com/llvm/llvm-project/commit/25959310a50240c320283d1e4b23046fed152313
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
M llvm/test/Transforms/IndVarSimplify/iv-widen-elim-ext.ll
Log Message:
-----------
[IndVars] Support shl by constant and or disjoint in getExtendedOperandRecurrence. (#84282)
We can treat a shift by constant as a multiply by a power of 2
and we can treat an or disjoint as a 'add nsw nuw'.
I've added a helper struct similar to a struct used in
ScalarEvolution.cpp
to represent the opcode, operands, and NSW/NUW flags for normal
add/sub/mul
and shl/or that are being treated as mul/add.
I don't think we need to teach cloneIVUser about this. It will continue
to clone them using cloneBitwiseIVUser. After the cloning we will ask
for the SCEV expression for the cloned IV user and verify that it
matches
the AddRec returned by getExtendedOperandRecurrence. Since SCEV also
knows how to convert shl to mul and or disjoint to add nsw nuw, this
should
usually match. If it doesn't match, the cloned IV user will be deleted.
Commit: b6193a2dc2c7e1fb278161873e8f01f728412f4b
https://github.com/llvm/llvm-project/commit/b6193a2dc2c7e1fb278161873e8f01f728412f4b
Author: Romaric Jodin <89833130+rjodinchr at users.noreply.github.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M libclc/CMakeLists.txt
M libclc/generic/lib/gen_convert.py
Log Message:
-----------
libclc: clspv: update gen_convert.cl for clspv (#66902)
Add a clspv switch in gen_convert.cl
This is needed as Vulkan SPIR-V does not respect the assumptions
needed to have the generic convert.cl compliant on many platforms.
It is needed because of the conversion of TYPE_MAX and
TYPE_MIN. Depending on the platform the behaviour can vary, but most
of them just do not convert correctly those 2 values.
Because of that, we also need to avoid having explicit function for
simple conversions because it allows llvm to optimise the code, thus
removing some of the added checks that are in fact needed.
Commit: c08d70a5cbc61efc5c8636c8788f39270f59dec5
https://github.com/llvm/llvm-project/commit/c08d70a5cbc61efc5c8636c8788f39270f59dec5
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M flang/runtime/pointer.cpp
Log Message:
-----------
[flang][runtime] Temporary fix for unresolved reference in CUDA F18 runtime. (#85294)
Avoid referencing executionEnvironment in the device code, since
environment.cpp is not part of the CUDA build yet.
This is a temporary fix before #85182 is merged.
Commit: 33960c90258ed78b9b877b1a43e219d1cbc2efce
https://github.com/llvm/llvm-project/commit/33960c90258ed78b9b877b1a43e219d1cbc2efce
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/test/Transforms/SLPVectorizer/RISCV/complex-loads.ll
M llvm/test/Transforms/SLPVectorizer/X86/crash_netbsd_decompress.ll
M llvm/test/Transforms/SLPVectorizer/X86/reorder_phi.ll
M llvm/test/Transforms/SLPVectorizer/X86/vect_copyable_in_binops.ll
Log Message:
-----------
Regen some tests to reflect naming changes
Cutting down on diff in an upcoming change.
Commit: 4b0276d1c9cb558f3c20736dce802ceb26c0b958
https://github.com/llvm/llvm-project/commit/4b0276d1c9cb558f3c20736dce802ceb26c0b958
Author: Daniel Kiss <daniel.kiss at arm.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/include/llvm/IR/AutoUpgrade.h
M llvm/lib/IR/AutoUpgrade.cpp
M llvm/lib/Linker/IRMover.cpp
M llvm/test/LTO/AArch64/link-branch-target-enforcement.ll
R llvm/test/LTO/AArch64/link-sign-return-address.ll
M llvm/test/Linker/link-arm-and-thumb.ll
Log Message:
-----------
Revert "[llvm][AArch64] Autoupgrade function attributes from Module attributes." (#85291)
Reverts llvm/llvm-project#82763 because caused a regressions with
inlining.
See
https://github.com/llvm/llvm-project/pull/84494#issuecomment-1996047458
Commit: ea429e19f56005bf89e717c14efdf49ec055b183
https://github.com/llvm/llvm-project/commit/ea429e19f56005bf89e717c14efdf49ec055b183
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/AArch64/horizontal.ll
Log Message:
-----------
[SLP]Do extra analysis int minbitwidth if some checks return false.
The instruction itself can be considered good for minbitwidth casting,
even if one of the operand checks returns false.
Reviewers: RKSimon
Reviewed By: RKSimon
Pull Request: https://github.com/llvm/llvm-project/pull/84363
Commit: bba790db477b5b076e587b6c679ac68eb8316ac3
https://github.com/llvm/llvm-project/commit/bba790db477b5b076e587b6c679ac68eb8316ac3
Author: Maksim Panchenko <maks at fb.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M bolt/include/bolt/Core/MCPlusBuilder.h
M bolt/lib/Passes/BinaryPasses.cpp
M bolt/lib/Passes/ShrinkWrapping.cpp
M bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
M bolt/lib/Target/RISCV/RISCVMCPlusBuilder.cpp
M bolt/lib/Target/X86/X86MCPlusBuilder.cpp
M bolt/unittests/Core/MCPlusBuilder.cpp
Log Message:
-----------
[BOLT] Refactor instruction creation interface. NFCI (#85292)
Refactor MCPlusBuilder's create{Instruction}() functions that used to
return bool. We almost never check the return value as we rely on
llvm_unreachable() to detect unimplemented functionality. There were a
couple of cases that checked the return value, but they would hit the
unreachable condition first (at least in debug builds) before the return
value gets checked.
Commit: c56bd7ab7934355ed19d4d3ec299b5784bf02379
https://github.com/llvm/llvm-project/commit/c56bd7ab7934355ed19d4d3ec299b5784bf02379
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
M mlir/include/mlir/Dialect/Vector/Utils/VectorUtils.h
M mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
M mlir/lib/Dialect/Vector/Utils/VectorUtils.cpp
M mlir/test/Dialect/Linalg/vectorization-unsupported.mlir
A mlir/test/Dialect/Linalg/vectorize-conv-masked-and-scalable.mlir
Log Message:
-----------
[mlir][linalg] Enable masked vectorisation for depthwise convolutions (#81625)
This patch adds support for masked vectorisation of depthwise 1D WC
convolutions,`linalg.depthwise_conv_1d_nwc_wc`. This is implemented by
adding support for masking.
Two major assumptions are made:
* only the channel dimension can be dynamic/scalable (i.e. the
trailing dim),
* when specifying vector sizes to use in the vectoriser, only the size
corresponding to the channel dim is effectively used (other dims are
inferred from the context).
In terms of scalable vectorisation, this should be sufficient to cover
all practical cases (i.e. making arbitrary dim scalable wouldn't make
much sense). As for more generic cases with dynamic shapes (e.g. W or N
dims being dynamic), more work would be needed. In particular, one would
have to consider the filter and input/output tensors separately.
Commit: 00ba2a6f1e7bbb6fa6f3d50ad87a4a528af87ef5
https://github.com/llvm/llvm-project/commit/00ba2a6f1e7bbb6fa6f3d50ad87a4a528af87ef5
Author: Zaara Syeda <syzaara at ca.ibm.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
M llvm/lib/Target/PowerPC/PPCSubtarget.cpp
M llvm/lib/Target/PowerPC/PPCSubtarget.h
Log Message:
-----------
[AIX][TOC] Fix buildbot failures from commit b4ae8df (#85303)
The following tests fail when built with Address
and Undefined sanitizers:
CodeGen/PowerPC/basic-toc-data-def.ll
CodeGen/PowerPC/toc-data-large-array2.ll
Subtarget may be null in emitGlobalVariable, for example in the testcase
where we have no functions in the IR. The fix moves this function from
PPCSubtarget to a static helper function. This only fails with
sanitizers because the Subtarget is not used in the member function.
Commit: 8f0012d3dc2ae6d40e9f812cae111ca7a6eb2a2d
https://github.com/llvm/llvm-project/commit/8f0012d3dc2ae6d40e9f812cae111ca7a6eb2a2d
Author: Alex MacLean <amaclean at nvidia.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
A llvm/test/CodeGen/NVPTX/common-linkage.ll
M llvm/test/CodeGen/NVPTX/weak-global.ll
Log Message:
-----------
[NVPTX] Use .common linkage for common globals (#84416)
Switch from `.weak` to `.common` linkage for common global variables
where possible. The `.common` linkage is described in [PTX ISA 11.6.4.
Linking Directives:
.common](https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#linking-directives-common)
> Declares identifier to be globally visible but “common”.
>
>Common symbols are similar to globally visible symbols. However
multiple object files may declare the same common symbol and they may
have different types and sizes and references to a symbol get resolved
against a common symbol with the largest size.
>
>Only one object file can initialize a common symbol and that must have
the largest size among all other definitions of that common symbol from
different object files.
>
>.common linking directive can be used only on variables with .global
storage. It cannot be used on function symbols or on symbols with opaque
type.
Commit: aa6100643c2c8f9a1b06ba557b68b0fba477e3c7
https://github.com/llvm/llvm-project/commit/aa6100643c2c8f9a1b06ba557b68b0fba477e3c7
Author: alx32 <103613512+alx32 at users.noreply.github.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
A llvm/test/tools/llvm-objdump/MachO/AArch64/Inputs/rel-method-lists-arm64.dylib
A llvm/test/tools/llvm-objdump/MachO/AArch64/Inputs/rel-method-lists-arm64_32.dylib
A llvm/test/tools/llvm-objdump/MachO/AArch64/macho-relative-method-lists.test
M llvm/tools/llvm-objdump/MachODump.cpp
Log Message:
-----------
[llvm-objdump][macho] Add support for ObjC relative method lists (#84250)
For Mach-O, ld64 supports the `-fobjc-relative-method-lists` flag which
changes the format in which method lists are generated. The format uses
delta encoding vs the original direct-pointer encoding.
This change adds support to `llvm-objdump` and `llvm-otool` for
decoding/dumping of method lists in the delta format. Previously, if a
binary with this information format was passed to the tooling, it would
output invalid information, trying to parse the delta lists as pointer
lists.
After this change, the tooling will output correct information if a
binary in this format is encountered.
The output format is closest feasible match to XCode 15.1's otool
output. Tests are included for both 32bit and 64bit binaries.
The code style was matched as close as possible to existing
implementation of parsing non-delta method lists.
Diff between llvm-objdump and XCode 15.1 otool:
![objdump_vs_otool](https://github.com/llvm/llvm-project/assets/103613512/4fc04228-ed35-473d-b633-364402411b91)
---------
Co-authored-by: Alex B <alexborcan at meta.com>
Commit: 8f9ee39c58064d3a3291a89509501ebe55d2e788
https://github.com/llvm/llvm-project/commit/8f9ee39c58064d3a3291a89509501ebe55d2e788
Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/include/clang/Basic/Builtins.td
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/Headers/hlsl/hlsl_intrinsics.h
M clang/lib/Sema/SemaChecking.cpp
A clang/test/CodeGenHLSL/builtins/rsqrt.hlsl
M clang/test/SemaHLSL/BuiltIns/frac-errors.hlsl
M clang/test/SemaHLSL/BuiltIns/rcp-errors.hlsl
A clang/test/SemaHLSL/BuiltIns/rsqrt-errors.hlsl
M llvm/include/llvm/IR/IntrinsicsDirectX.td
M llvm/lib/Target/DirectX/DXIL.td
A llvm/test/CodeGen/DirectX/rsqrt.ll
A llvm/test/CodeGen/DirectX/rsqrt_error.ll
Log Message:
-----------
[HLSL] Implement `rsqrt` intrinsic (#84820)
This change implements #70074
- `hlsl_intrinsics.h` - add the `rsqrt` api
- `DXIL.td` add the llvm intrinsic to DXIL op lowering map.
- `Builtins.td` - add an hlsl builtin for rsqrt.
- `CGBuiltin.cpp` add the ir generation for the rsqrt intrinsic.
- `SemaChecking.cpp` - reuse the one arg float only checks.
- `IntrinsicsDirectX.td` -add an `rsqrt` intrinsic.
Commit: caba6d13c8c883757508d34d98c0a1af4adde48a
https://github.com/llvm/llvm-project/commit/caba6d13c8c883757508d34d98c0a1af4adde48a
Author: Michael Jones <michaelrj at google.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M libc/src/__support/FPUtil/FEnvImpl.h
M libc/src/__support/FPUtil/ManipulationFunctions.h
M libc/src/__support/FPUtil/NearestIntegerOperations.h
M libc/src/math/generic/math_utils.h
M libc/test/src/math/ILogbTest.h
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/test/src/__support/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/test/src/math/BUILD.bazel
Log Message:
-----------
[libc] Remove direct math.h includes from src (#84991)
A downstream overlay mode user ran into issues with the isnan macro not
working in our sources with a specific libc configuration. This patch
replaces the last direct includes of math.h with our internal
math_macros.h, along with the necessary build system changes.
Commit: 0646bbc42c59f9dd67db3c073389fdd9e395be3c
https://github.com/llvm/llvm-project/commit/0646bbc42c59f9dd67db3c073389fdd9e395be3c
Author: Michael Jones <michaelrj at google.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M libc/src/__support/FPUtil/FEnvImpl.h
M libc/src/__support/FPUtil/ManipulationFunctions.h
M libc/src/__support/FPUtil/NearestIntegerOperations.h
M libc/src/math/generic/math_utils.h
M libc/test/src/math/ILogbTest.h
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/test/src/__support/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/test/src/math/BUILD.bazel
Log Message:
-----------
Revert "[libc] Remove direct math.h includes from src" (#85314)
Reverts llvm/llvm-project#84991
Caused build failures
Commit: 229640343e400394b315c6798c7c19e8a9bd188c
https://github.com/llvm/llvm-project/commit/229640343e400394b315c6798c7c19e8a9bd188c
Author: ManuelJBrito <59119670+ManuelJBrito at users.noreply.github.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/test/Transforms/NewGVN/2007-07-25-DominatedLoop.ll
M llvm/test/Transforms/NewGVN/2007-07-25-InfiniteLoop.ll
M llvm/test/Transforms/NewGVN/2007-07-25-Loop.ll
M llvm/test/Transforms/NewGVN/2007-07-25-NestedLoop.ll
M llvm/test/Transforms/NewGVN/2007-07-25-SinglePredecessor.ll
M llvm/test/Transforms/NewGVN/2007-07-26-NonRedundant.ll
M llvm/test/Transforms/NewGVN/2007-07-26-PhiErasure.ll
M llvm/test/Transforms/NewGVN/2007-07-30-PredIDom.ll
M llvm/test/Transforms/NewGVN/2007-07-31-RedundantPhi.ll
M llvm/test/Transforms/NewGVN/2008-02-13-NewPHI.ll
M llvm/test/Transforms/NewGVN/2008-07-02-Unreachable.ll
M llvm/test/Transforms/NewGVN/2008-12-09-SelfRemove.ll
M llvm/test/Transforms/NewGVN/2008-12-12-RLE-Crash.ll
M llvm/test/Transforms/NewGVN/2008-12-14-rle-reanalyze.ll
M llvm/test/Transforms/NewGVN/2008-12-15-CacheVisited.ll
M llvm/test/Transforms/NewGVN/2009-01-21-SortInvalidation.ll
M llvm/test/Transforms/NewGVN/2009-01-22-SortInvalidation.ll
M llvm/test/Transforms/NewGVN/2009-03-10-PREOnVoid.ll
M llvm/test/Transforms/NewGVN/2009-07-13-MemDepSortFail.ll
M llvm/test/Transforms/NewGVN/2009-11-12-MemDepMallocBitCast.ll
M llvm/test/Transforms/NewGVN/2010-03-31-RedundantPHIs.ll
M llvm/test/Transforms/NewGVN/2010-05-08-OneBit.ll
M llvm/test/Transforms/NewGVN/2010-11-13-Simplify.ll
M llvm/test/Transforms/NewGVN/2011-04-27-phioperands.ll
M llvm/test/Transforms/NewGVN/2011-07-07-MatchIntrinsicExtract.ll
M llvm/test/Transforms/NewGVN/2011-09-07-TypeIdFor.ll
M llvm/test/Transforms/NewGVN/2012-05-22-PreCrash.ll
M llvm/test/Transforms/NewGVN/2016-08-30-MaskedScatterGather-xfail-inseltpoison.ll
M llvm/test/Transforms/NewGVN/MemdepMiscompile.ll
M llvm/test/Transforms/NewGVN/addrspacecast.ll
M llvm/test/Transforms/NewGVN/basic-cyclic-opt.ll
M llvm/test/Transforms/NewGVN/basic-undef-test.ll
M llvm/test/Transforms/NewGVN/br-identical.ll
M llvm/test/Transforms/NewGVN/calloc-load-removal.ll
M llvm/test/Transforms/NewGVN/calls-readonly.ll
M llvm/test/Transforms/NewGVN/completeness.ll
M llvm/test/Transforms/NewGVN/cond_br.ll
M llvm/test/Transforms/NewGVN/condprop.ll
M llvm/test/Transforms/NewGVN/crash-no-aa.ll
M llvm/test/Transforms/NewGVN/crash-usecounts.ll
M llvm/test/Transforms/NewGVN/crash.ll
M llvm/test/Transforms/NewGVN/cyclic-phi-handling.ll
M llvm/test/Transforms/NewGVN/dbg-redundant-load.ll
M llvm/test/Transforms/NewGVN/edge.ll
M llvm/test/Transforms/NewGVN/eliminate-callsite-inline.ll
M llvm/test/Transforms/NewGVN/equivalent-phi.ll
M llvm/test/Transforms/NewGVN/fold-const-expr.ll
M llvm/test/Transforms/NewGVN/fpmath.ll
M llvm/test/Transforms/NewGVN/funclet.ll
M llvm/test/Transforms/NewGVN/int_sideeffect.ll
M llvm/test/Transforms/NewGVN/invariant.group.ll
M llvm/test/Transforms/NewGVN/invariant.start.ll
M llvm/test/Transforms/NewGVN/lifetime-simple.ll
M llvm/test/Transforms/NewGVN/load-constant-mem.ll
M llvm/test/Transforms/NewGVN/load-from-unreachable-predecessor.ll
M llvm/test/Transforms/NewGVN/loadforward.ll
M llvm/test/Transforms/NewGVN/malloc-load-removal.ll
M llvm/test/Transforms/NewGVN/memory-handling.ll
M llvm/test/Transforms/NewGVN/metadata-nonnull.ll
M llvm/test/Transforms/NewGVN/metadata-simplify.ll
M llvm/test/Transforms/NewGVN/noalias.ll
M llvm/test/Transforms/NewGVN/nomemlocation.ll
M llvm/test/Transforms/NewGVN/non-integral-pointers.ll
M llvm/test/Transforms/NewGVN/null-aliases-nothing.ll
M llvm/test/Transforms/NewGVN/phi-edge-handling.ll
M llvm/test/Transforms/NewGVN/phi-of-ops-simplified-to-existing-value-then-changes-again.ll
M llvm/test/Transforms/NewGVN/phi-translate-partial-alias.ll
M llvm/test/Transforms/NewGVN/pr17732.ll
M llvm/test/Transforms/NewGVN/pr17852.ll
M llvm/test/Transforms/NewGVN/pr24397.ll
M llvm/test/Transforms/NewGVN/pr24426.ll
M llvm/test/Transforms/NewGVN/pr25440.ll
M llvm/test/Transforms/NewGVN/pr28562.ll
M llvm/test/Transforms/NewGVN/pr31472.ll
M llvm/test/Transforms/NewGVN/pr31483.ll
M llvm/test/Transforms/NewGVN/pr31491.ll
M llvm/test/Transforms/NewGVN/pr31501.ll
M llvm/test/Transforms/NewGVN/pr31573.ll
M llvm/test/Transforms/NewGVN/pr31594.ll
M llvm/test/Transforms/NewGVN/pr31613.ll
M llvm/test/Transforms/NewGVN/pr31682.ll
M llvm/test/Transforms/NewGVN/pr31758.ll
M llvm/test/Transforms/NewGVN/pr32607.ll
M llvm/test/Transforms/NewGVN/pr32836.ll
M llvm/test/Transforms/NewGVN/pr32838.ll
M llvm/test/Transforms/NewGVN/pr32845.ll
M llvm/test/Transforms/NewGVN/pr32852.ll
M llvm/test/Transforms/NewGVN/pr32897.ll
M llvm/test/Transforms/NewGVN/pr32934.ll
M llvm/test/Transforms/NewGVN/pr32945.ll
M llvm/test/Transforms/NewGVN/pr32952.ll
M llvm/test/Transforms/NewGVN/pr33014.ll
M llvm/test/Transforms/NewGVN/pr33086.ll
M llvm/test/Transforms/NewGVN/pr33116.ll
M llvm/test/Transforms/NewGVN/pr33187.ll
M llvm/test/Transforms/NewGVN/pr33196.ll
M llvm/test/Transforms/NewGVN/pr33204.ll
M llvm/test/Transforms/NewGVN/pr33305.ll
M llvm/test/Transforms/NewGVN/pr33367.ll
M llvm/test/Transforms/NewGVN/pr34452.ll
M llvm/test/Transforms/NewGVN/pr42422-phi-of-ops.ll
M llvm/test/Transforms/NewGVN/pr43441.ll
M llvm/test/Transforms/NewGVN/pre-compare.ll
M llvm/test/Transforms/NewGVN/preserve-metadata-for-predicate-replacements.ll
M llvm/test/Transforms/NewGVN/readattrs.ll
M llvm/test/Transforms/NewGVN/rle-nonlocal.ll
M llvm/test/Transforms/NewGVN/rle.ll
M llvm/test/Transforms/NewGVN/simp-to-self.ll
M llvm/test/Transforms/NewGVN/stale-loop-info.ll
M llvm/test/Transforms/NewGVN/tbaa.ll
M llvm/test/Transforms/NewGVN/unreachable_block_infinite_loop.ll
M llvm/test/Transforms/NewGVN/verify-memoryphi.ll
M llvm/test/Transforms/NewGVN/volatile-nonvolatile.ll
Log Message:
-----------
[NewGVN][NFC]Regenerate test checks (#85280)
Regenerate test checks for NewGVN.
Commit: d192b643701062064408dd7be0301f7a5d070c03
https://github.com/llvm/llvm-project/commit/d192b643701062064408dd7be0301f7a5d070c03
Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/include/clang/Basic/Builtins.td
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/Headers/hlsl/hlsl_intrinsics.h
M clang/lib/Sema/SemaChecking.cpp
A clang/test/CodeGenHLSL/builtins/isinf.hlsl
A clang/test/SemaHLSL/BuiltIns/isinf-errors.hlsl
M llvm/include/llvm/IR/IntrinsicsDirectX.td
Log Message:
-----------
[HLSL] implement the `isinf` intrinsic (#84927)
This change implements part 1 of 2 for #70095
- `hlsl_intrinsics.h` - add the `isinf` api
- `Builtins.td` - add an hlsl builtin for `isinf`.
- `CGBuiltin.cpp` add the ir generation for `isinf` intrinsic.
- `SemaChecking.cpp` - add a non-math elementwise checks because this is
a bool return.
- `IntrinsicsDirectX.td` - add an `isinf` intrinsic.
`DXIL.td` lowering is left, but changes need to be made there before we
can support this case.
Commit: e40bc8e509cdad67926fcd208c320cb4d50f6aec
https://github.com/llvm/llvm-project/commit/e40bc8e509cdad67926fcd208c320cb4d50f6aec
Author: Lang Hames <lhames at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/include/llvm/ExecutionEngine/Orc/MachOPlatform.h
M llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp
M llvm/unittests/ExecutionEngine/Orc/CMakeLists.txt
A llvm/unittests/ExecutionEngine/Orc/MachOPlatformTest.cpp
Log Message:
-----------
[ORC][MachO] Make BuildVersionOpts::fromTriple result optional, add test.
Only platform specific darwin OS values (e.g. macosx, ios, watchos, ...) can be
mapped to an LC_BUILD_VERSION platform. For all other values return an empty
optional to indicate that the load command can't be constructed.
Also fixes the simulator conditions to return the correct platform, and adds a
testcase.
Commit: 41ccebdda0f6885d97657c6558e924580e3d1a11
https://github.com/llvm/llvm-project/commit/41ccebdda0f6885d97657c6558e924580e3d1a11
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/unittests/ExecutionEngine/Orc/BUILD.gn
Log Message:
-----------
[gn build] Port e40bc8e509cd
Commit: f9e557961e993d9b9b4e4782d345cbb2c87e9361
https://github.com/llvm/llvm-project/commit/f9e557961e993d9b9b4e4782d345cbb2c87e9361
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
M flang/lib/Lower/OpenMP/ClauseProcessor.h
M flang/lib/Lower/OpenMP/Clauses.cpp
M flang/lib/Lower/OpenMP/Clauses.h
Log Message:
-----------
[flang][OpenMP] Convert unique clauses in ClauseProcessor (#81622)
Temporarily rename old clause list to `clauses2`, old clause iterator to
`ClauseIterator2`.
Change `findUniqueClause` to iterate over `omp::Clause` objects, modify
all handlers to operate on 'omp::clause::xyz` equivalents.
[Clause representation 2/6]
Commit: 49b8a99a0f7abdb34a671dd99bb9aba593129bf9
https://github.com/llvm/llvm-project/commit/49b8a99a0f7abdb34a671dd99bb9aba593129bf9
Author: Maksim Panchenko <maks at fb.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M bolt/include/bolt/Core/MCPlusBuilder.h
M bolt/lib/Target/X86/X86MCPlusBuilder.cpp
Log Message:
-----------
[BOLT] Add createCondBranch() and createLongUncondBranch() (#85315)
Add MCPlusBuilder interface for creating two new branch types.
Commit: dc55c4435d796f6ec316de0698df9b8649816068
https://github.com/llvm/llvm-project/commit/dc55c4435d796f6ec316de0698df9b8649816068
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M flang/lib/Semantics/runtime-type-info.cpp
Log Message:
-----------
[flang] Clip circular dependence between implementation modules (#85309)
flang/module/__fortran_type_info.mod uses __fortran_builtins.mod, but it
is also implicitly used when compiling __fortran_builtins.f90 (or
anything else). If __fortran_type_info.mod finds an old
__fortran_builtins.mod file, compilation can fail while building the new
one.
Break the dependence by *not* generating runtime derived type
information for __fortran_builtins.f90.
Commit: 1510473908e09b0dba574e74b862243c6fddb35f
https://github.com/llvm/llvm-project/commit/1510473908e09b0dba574e74b862243c6fddb35f
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/HardwareLoops.cpp
A llvm/test/DebugInfo/ARM/hardware-loop-phi-insertion.ll
Log Message:
-----------
[RemoveDIs] Insert PHIs before debug records in hardware loops (#85288)
Fixes: https://github.com/llvm/llvm-project/issues/85254
Hardware loops inserts PHIs at the position `getFirstNonPhi()`, which is
incorrect - instead, `getFirstNonPhiIt()` is required to not insert the
PHI after any debug records that immediately follow the last existing
PHI.
Commit: 3236d974992580d8a346b22720d9d290fbd5439f
https://github.com/llvm/llvm-project/commit/3236d974992580d8a346b22720d9d290fbd5439f
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/binop-itofp.ll
Log Message:
-----------
[InstCombine] Add test for `(fmul (sitfp x), 0)`; NFC
Commit: 70d0ebb279e42902f06ab621777935b09e82cc49
https://github.com/llvm/llvm-project/commit/70d0ebb279e42902f06ab621777935b09e82cc49
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/test/Transforms/InstCombine/binop-itofp.ll
Log Message:
-----------
[InstCombine] Fix behavior for `(fmul (sitfp x), 0)`
Bug was introduced in #82555
We where missing check that the constant was non-zero for signed + mul
transform.
Closes #85298
Commit: 5b303a98a8a88ee74aab8f4936af735f72182169
https://github.com/llvm/llvm-project/commit/5b303a98a8a88ee74aab8f4936af735f72182169
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/AArch64/horizontal.ll
Log Message:
-----------
Revert "[SLP]Do extra analysis int minbitwidth if some checks return false."
This reverts commit ea429e19f56005bf89e717c14efdf49ec055b183 to fix
issues revealed in
https://lab.llvm.org/buildbot/#/builders/186/builds/15299 and https://lab.llvm.org/buildbot/#/builders/238/builds/8426.
Commit: c75009ef7c5044cd1d2a54ffc572d609da19cb5a
https://github.com/llvm/llvm-project/commit/c75009ef7c5044cd1d2a54ffc572d609da19cb5a
Author: Valentin Clement <clementval at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M flang/include/flang/Optimizer/Builder/IntrinsicCall.h
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/module/__fortran_builtins.f90
A flang/test/Lower/Intrinsics/c_ptr_eq_ne.f90
Log Message:
-----------
[flang] Lower c_ptr_eq/ne for iso_c_binding (#85293)
Comparing c_ptr type for equality or inequality is raising an error.
```
not yet implemented: intrinsic module procedure: c_ptr_eq
```
or this one for inequality
```
not yet implemented: intrinsic module procedure: c_ptr_ne
```
This patch adds a lowering for them and fix the `__fortran_builtins.f90` module for inequality.
Reland after fix has landed for circular modules #85309
Commit: 9d994e900f2661673e6cec0cd7954d3f378a4f8a
https://github.com/llvm/llvm-project/commit/9d994e900f2661673e6cec0cd7954d3f378a4f8a
Author: Aart Bik <ajcbik at google.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h
Log Message:
-----------
[mlir][sparse] remove deprecated toCOO from sparse runtime support lib (#85319)
Commit: 3ed8f19cd0fa1054dab08163e493f84a51fc9190
https://github.com/llvm/llvm-project/commit/3ed8f19cd0fa1054dab08163e493f84a51fc9190
Author: yronglin <yronglin777 at gmail.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M libcxx/docs/Status/Cxx23Issues.csv
Log Message:
-----------
[libc++][NFC] Mark LWG3772 as implemented (#85108)
[LWG3772](https://wg21.link/LWG3772) already implemented with
https://reviews.llvm.org/D141699 .
Signed-off-by: yronglin <yronglin777 at gmail.com>
Commit: ea41ac1132def401ad5bb7c353be8f0e9f04698a
https://github.com/llvm/llvm-project/commit/ea41ac1132def401ad5bb7c353be8f0e9f04698a
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
[SLP][NFC]Fix a warning for comparison of integers of different signs.
Commit: af2bf86a372cacf5f536bae06e2f2d3886eefb7b
https://github.com/llvm/llvm-project/commit/af2bf86a372cacf5f536bae06e2f2d3886eefb7b
Author: Thurston Dang <thurston at google.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M compiler-rt/lib/msan/msan.h
M compiler-rt/lib/msan/msan_allocator.cpp
M compiler-rt/lib/msan/msan_linux.cpp
Log Message:
-----------
[msan] Add 'MappingDesc::ALLOCATOR' type and check it is available (#85153)
MSan divides the virtual address space into APP, INVALID, SHADOW and
ORIGIN memory. The allocator usually just steals a bit of the APP
address space: typically the bottom portion of the PIE binaries section,
which works because the Linux kernel maps from the top of the PIE
binaries section. However, if ASLR is very aggressive, the binary may
end up mapped in the same location where the allocator wants to live;
this results in a segfault.
This patch adds in a MappingDesc::ALLOCATOR type and enforces that the
memory range for the allocator is not occupied by anything else.
Since the allocator range information is not readily available in
msan.h, we duplicate the information from msan_allocator.cpp.
Note: aggressive ASLR can also lead to a different type of failure,
where the PIE binaries/libraries are mapped entirely outside of the
APP/ALLOCATOR sections; that will be addressed in a separate patch
(https://github.com/llvm/llvm-project/pull/85142).
Commit: e4b772444c8176abe30d364e4a946ee6c8ae8de4
https://github.com/llvm/llvm-project/commit/e4b772444c8176abe30d364e4a946ee6c8ae8de4
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/AArch64/horizontal.ll
Log Message:
-----------
[SLP]Do extra analysis int minbitwidth if some checks return false.
The instruction itself can be considered good for minbitwidth casting,
even if one of the operand checks returns false.
Reviewers: RKSimon
Reviewed By: RKSimon
Pull Request: https://github.com/llvm/llvm-project/pull/84363
Commit: 4daf86ef3f9a6781eedbe5d5a161e4f1e75df323
https://github.com/llvm/llvm-project/commit/4daf86ef3f9a6781eedbe5d5a161e4f1e75df323
Author: Aart Bik <ajcbik at google.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M mlir/include/mlir/ExecutionEngine/SparseTensor/File.h
M mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h
M mlir/lib/ExecutionEngine/SparseTensorRuntime.cpp
Log Message:
-----------
[mlir][sparse] refactoring sparse runtime lib into less paths (#85332)
Two constructors could be easily refactored into one after a lot of
previous deprecated code has been removed.
Commit: ad0de4e6e6146d72d376b8f4c84dfa72817fa80d
https://github.com/llvm/llvm-project/commit/ad0de4e6e6146d72d376b8f4c84dfa72817fa80d
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/test/Transforms/SLPVectorizer/X86/reorder-possible-strided-node.ll
Log Message:
-----------
[SLP][NFC]Add extra test for udiv/urem instructions.
Commit: 58ef9bec071383744fb703ff08df9806f25e4095
https://github.com/llvm/llvm-project/commit/58ef9bec071383744fb703ff08df9806f25e4095
Author: srcarroll <50210727+srcarroll at users.noreply.github.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M mlir/lib/Dialect/Math/Transforms/ExpandPatterns.cpp
M mlir/test/Dialect/Math/expand-math.mlir
Log Message:
-----------
[mlir][math] Implement alternative decomposition for tanh (#85025)
The previous implementation decomposes `tanh(x)` into
`(exp(2x) - 1)/(exp(2x)+1), x < 0`
`(1 - exp(-2x))/(1 + exp(-2x)), x >= 0`
This is fine as it avoids overflow with the exponential, but the whole
decomposition is computed for both cases unconditionally, then the
result is chosen based off the sign of the input. This results in doing
two expensive `exp` computations.
The proposed change avoids doing the whole computation twice by
exploiting the reflection symmetry `tanh(-x) = -tanh(x)`. We can
"normalize" the input to be positive by setting `y = sign(x) * x`, where
the sign of `x` is computed as `sign(x) = (float)(x > 0) * (-2) + 1`.
Then compute `z = tanh(y)` with the decomposition above for `x >=0` and
"denormalize" the result `z * sign(x)` to retain the sign. The reason it
is done this way is that it is very amenable to vectorization.
This method trades the duplicate decomposition computations (which takes
5 instructions including an extra expensive `exp` and `div`) for 4 cheap
instructions to compute the signs value
1. `arith.cmpf` (which is a pre-existing instruction in the previous
impl)
2. `arith.sitofp`
3. `arith.mulf`
4. `arith.addf`
and 1 more instruction to get the right sign in the result
5. `arith.mulf`. Moreover, numerically, this implementation will yield
the exact same results as the previous implementation.
Commit: de1a97db3948608822a6d099cc3460690132e1cb
https://github.com/llvm/llvm-project/commit/de1a97db3948608822a6d099cc3460690132e1cb
Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/include/clang/AST/Type.h
M clang/include/clang/Basic/Builtins.td
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/Sema/SemaChecking.cpp
M clang/test/CodeGenHLSL/builtins/lerp-builtin.hlsl
M clang/test/CodeGenHLSL/builtins/lerp.hlsl
M clang/test/SemaHLSL/BuiltIns/frac-errors.hlsl
M clang/test/SemaHLSL/BuiltIns/isinf-errors.hlsl
M clang/test/SemaHLSL/BuiltIns/lerp-errors.hlsl
M clang/test/SemaHLSL/BuiltIns/rsqrt-errors.hlsl
M llvm/include/llvm/IR/IntrinsicsDirectX.td
M llvm/lib/Target/DirectX/CMakeLists.txt
A llvm/lib/Target/DirectX/DXILIntrinsicExpansion.cpp
A llvm/lib/Target/DirectX/DXILIntrinsicExpansion.h
M llvm/lib/Target/DirectX/DXILOpLowering.cpp
M llvm/lib/Target/DirectX/DirectX.h
M llvm/lib/Target/DirectX/DirectXTargetMachine.cpp
A llvm/test/CodeGen/DirectX/any.ll
A llvm/test/CodeGen/DirectX/exp-vec.ll
A llvm/test/CodeGen/DirectX/exp.ll
A llvm/test/CodeGen/DirectX/lerp.ll
A llvm/test/CodeGen/DirectX/rcp.ll
Log Message:
-----------
[DXIL] `exp`, `any`, `lerp`, & `rcp` Intrinsic Lowering (#84526)
This change implements lowering for #70076, #70100, #70072, & #70102
`CGBuiltin.cpp` - - simplify `lerp` intrinsic
`IntrinsicsDirectX.td` - simplify `lerp` intrinsic
`SemaChecking.cpp` - remove unnecessary check
`DXILIntrinsicExpansion.*` - add intrinsic to instruction expansion
cases
`DXILOpLowering.cpp` - make sure `DXILIntrinsicExpansion` happens first
`DirectX.h` - changes to support new pass
`DirectXTargetMachine.cpp` - changes to support new pass
Why `any`, and `lerp` as instruction expansion just for DXIL?
- SPIR-V there is an
[OpAny](https://registry.khronos.org/SPIR-V/specs/unified1/SPIRV.html#OpAny)
- SPIR-V has a GLSL lerp extension via
[Fmix](https://registry.khronos.org/SPIR-V/specs/1.0/GLSL.std.450.html#FMix)
Why `exp` instruction expansion?
- We have an `exp2` opcode and `exp` reuses that opcode. So instruction
expansion is a convenient way to do preprocessing.
- Further SPIR-V has a GLSL exp extension via
[Exp](https://registry.khronos.org/SPIR-V/specs/1.0/GLSL.std.450.html#Exp)
and
[Exp2](https://registry.khronos.org/SPIR-V/specs/1.0/GLSL.std.450.html#Exp2)
Why `rcp` as instruction expansion?
This one is a bit of the odd man out and might have to move to
`cgbuiltins` when we better understand SPIRV requirements. However I
included it because it seems like [fast math mode has an AllowRecip
flag](https://registry.khronos.org/SPIR-V/specs/unified1/SPIRV.html#_fp_fast_math_mode)
which lets you compute the reciprocal without performing the division.
We don't have that in DXIL so thought to include it.
Commit: 6b2bab2839c7a379556a10287034bd55906d7094
https://github.com/llvm/llvm-project/commit/6b2bab2839c7a379556a10287034bd55906d7094
Author: Valentin Clement <clementval at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M flang/tools/f18/CMakeLists.txt
Log Message:
-----------
[flang] Avoid module dependency failure when __fortran_buitlin is updated
Commit: 4292086ed0e0310208f02be1b0393555770c379c
https://github.com/llvm/llvm-project/commit/4292086ed0e0310208f02be1b0393555770c379c
Author: Kazu Hirata <kazu at google.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/ProfileData/InstrProfWriter.cpp
Log Message:
-----------
[ProfileData] Use ArrayRef in ProfOStream::patch (NFC) (#85317)
We always apply all of the items in PatchItems. This patch simplifies
the interface of ProfOStream::patch by switching to ArrayRef.
Commit: bff8755f20f112eb93d33b427f2c18d1e92b9025
https://github.com/llvm/llvm-project/commit/bff8755f20f112eb93d33b427f2c18d1e92b9025
Author: josh11b <github-llvm at technomagi.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
A utils/bazel/llvm-project-overlay/clang-tools-extra/clangd/BUILD.bazel
Log Message:
-----------
[bazel] Add clangd as a library support (#81556)
Creates a `BUILD.bazel` file for the `clangd` directory in the project
overlay.
This upstreams the patch that allows
https://github.com/carbon-language/carbon-lang/tree/trunk/language_server
to use `clangd` as a library. This was created as part of a Summer of
Code project building a prototype Carbon language server. If this is not
an appropriate architecture, I'm very open to alternative paths forward.
Thanks!
Commit: 8c03f400a837dc9333e54ab371e7904aa2bec43c
https://github.com/llvm/llvm-project/commit/8c03f400a837dc9333e54ab371e7904aa2bec43c
Author: Haohai Wen <haohai.wen at intel.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/DebugInfo/Symbolize/Symbolize.cpp
A llvm/test/tools/llvm-profgen/Inputs/coff-profile.exe
A llvm/test/tools/llvm-profgen/Inputs/coff-profile.perfscript
A llvm/test/tools/llvm-profgen/coff-profile.test
M llvm/tools/llvm-profgen/PerfReader.cpp
M llvm/tools/llvm-profgen/ProfiledBinary.cpp
M llvm/tools/llvm-profgen/ProfiledBinary.h
Log Message:
-----------
[llvm-profgen] Support COFF binary (#83972)
Intel Vtune/SEP has supported collecting LBR on Windows and generating
perf-script file which is same format as Linux perf script. This patch
teaches llvm-profgen to disassemble COFF binary so that we can do
Sampling based PGO on Windows.
Commit: 2ad970667f5702aa5eb23fe93f536825c06ac237
https://github.com/llvm/llvm-project/commit/2ad970667f5702aa5eb23fe93f536825c06ac237
Author: Jordan Rupprecht <rupprecht at google.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel
Log Message:
-----------
[bazel] Add missing MachO dep for ORC test
Commit: b4d3c2cac2426070258cdb32d6932bf05e938c7d
https://github.com/llvm/llvm-project/commit/b4d3c2cac2426070258cdb32d6932bf05e938c7d
Author: Iman Hosseini <hosseini.iman at yahoo.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/lib/Lower/ConvertCall.cpp
M flang/test/Lower/CUDA/cuda-kernel-calls.cuf
Log Message:
-----------
[flang][cuda] Update FIROps.td to add $grid_z to CudaKernelLaunch (#85318)
grid can be 3 dimensional. (@clementval)
Commit: e4f71959ec8dc175d9f1fe4b3466062ffaf51855
https://github.com/llvm/llvm-project/commit/e4f71959ec8dc175d9f1fe4b3466062ffaf51855
Author: Jordan Rupprecht <rupprecht at google.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/clang-tools-extra/clangd/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/test/src/__support/BUILD.bazel
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
M utils/bazel/llvm-project-overlay/mlir/unittests/BUILD.bazel
Log Message:
-----------
[bazel][NFC] Reformat w/ buildifier
Commit: 102273a9b4886a11c78b28a77156730817d290b1
https://github.com/llvm/llvm-project/commit/102273a9b4886a11c78b28a77156730817d290b1
Author: Matthias Springer <me at m-sp.org>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M mlir/lib/Dialect/Transform/IR/TransformInterfaces.cpp
Log Message:
-----------
[mlir][Transform] Remove `notifyOperationErased` workaround (#84134)
D144193 (#66771) has been merged.
Commit: 143cf1a41bc1004b48b085975c3cecc51a540dc4
https://github.com/llvm/llvm-project/commit/143cf1a41bc1004b48b085975c3cecc51a540dc4
Author: Jordan Rupprecht <rupprecht at google.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/clang-tools-extra/clangd/BUILD.bazel
Log Message:
-----------
[bazel] Generate a shim Features.inc
This is a quick fix to make the bzl build work w/ this change. The sources included in the cc_library don't actually need the values here. Before adding more files, this should be replaced with something that actually parses Features.inc.in and sets configurable values.
Commit: 0c07102927869f9cd23889e0666774f6298e824f
https://github.com/llvm/llvm-project/commit/0c07102927869f9cd23889e0666774f6298e824f
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/include/clang/Format/Format.h
M clang/lib/Format/ContinuationIndenter.cpp
M clang/lib/Format/Format.cpp
M clang/lib/Format/FormatToken.cpp
M clang/lib/Format/FormatToken.h
M clang/lib/Format/FormatTokenLexer.cpp
M clang/lib/Format/QualifierAlignmentFixer.cpp
M clang/lib/Format/QualifierAlignmentFixer.h
M clang/lib/Format/TokenAnnotator.cpp
M clang/lib/Format/TokenAnnotator.h
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/lib/Format/UnwrappedLineParser.h
M clang/unittests/Format/TokenAnnotatorTest.cpp
Log Message:
-----------
[clang-format][NFC] Eliminate the IsCpp parameter in all functions (#84599)
Commit: 65b123e287d1320170bb3317179bc917f21852fa
https://github.com/llvm/llvm-project/commit/65b123e287d1320170bb3317179bc917f21852fa
Author: eddyz87 <eddyz87 at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/lib/Basic/Targets/BPF.cpp
M clang/test/Preprocessor/bpf-predefined-macros.c
M llvm/lib/Target/BPF/BPFCheckAndAdjustIR.cpp
M llvm/test/CodeGen/BPF/addr-space-globals.ll
M llvm/test/CodeGen/BPF/addr-space-globals2.ll
Log Message:
-----------
[BPF] rename 'arena' to 'address_space' (#85161)
There are a few places where `arena` name is used for pointers in
non-zero address space in BPF backend, rename these to use a more
generic `address_space`:
- macro `__BPF_FEATURE_ARENA_CAST` -> `__BPF_FEATURE_ADDR_SPACE_CAST
- name for arena global variables section `.arena.N` ->
`.addr_space.N`
Commit: b0d1e32ca2b46870c0a4becf2547564f9c7ae0a0
https://github.com/llvm/llvm-project/commit/b0d1e32ca2b46870c0a4becf2547564f9c7ae0a0
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/include/clang/Format/Format.h
M clang/lib/Format/ContinuationIndenter.cpp
M clang/lib/Format/Format.cpp
M clang/lib/Format/FormatToken.cpp
M clang/lib/Format/FormatToken.h
M clang/lib/Format/FormatTokenLexer.cpp
M clang/lib/Format/QualifierAlignmentFixer.cpp
M clang/lib/Format/QualifierAlignmentFixer.h
M clang/lib/Format/TokenAnnotator.cpp
M clang/lib/Format/TokenAnnotator.h
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/lib/Format/UnwrappedLineParser.h
M clang/unittests/Format/TokenAnnotatorTest.cpp
Log Message:
-----------
Revert "[clang-format][NFC] Eliminate the IsCpp parameter in all functions" (#85353)
Reverts llvm/llvm-project#84599
This broke the presubmit bot.
Commit: c3a1eb6207d85cb37ea29306481b40c9f6402309
https://github.com/llvm/llvm-project/commit/c3a1eb6207d85cb37ea29306481b40c9f6402309
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/include/clang/Format/Format.h
M clang/lib/Format/ContinuationIndenter.cpp
M clang/lib/Format/Format.cpp
M clang/lib/Format/FormatToken.cpp
M clang/lib/Format/FormatToken.h
M clang/lib/Format/FormatTokenLexer.cpp
M clang/lib/Format/QualifierAlignmentFixer.cpp
M clang/lib/Format/QualifierAlignmentFixer.h
M clang/lib/Format/TokenAnnotator.cpp
M clang/lib/Format/TokenAnnotator.h
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/lib/Format/UnwrappedLineParser.h
M clang/unittests/Format/TokenAnnotatorTest.cpp
Log Message:
-----------
Reland [clang-format][NFC] Eliminate the IsCpp parameter in all functions (#84599)
Initialize IsCpp in LeftRightQualifierAlignmentFixer ctor.
Commit: 6ed4d15cf49bca27157c6c8c896a7f674ef5df3a
https://github.com/llvm/llvm-project/commit/6ed4d15cf49bca27157c6c8c896a7f674ef5df3a
Author: Matthias Springer <me at m-sp.org>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M mlir/lib/Dialect/SparseTensor/Transforms/BufferizableOpInterfaceImpl.cpp
Log Message:
-----------
[mlir][sparse_tensor] Implement bufferization interface for `foreach` (#85183)
This commit fixes a memory leak in `sparse_codegen_foreach.mlir`. The
bufferization inserted a copy for the operand of `sparse_tensor.foreach`
because it conservatively assumed that the op writes to the operand.
Commit: 5124eedd357b75a96f695c20ebad427b61741abc
https://github.com/llvm/llvm-project/commit/5124eedd357b75a96f695c20ebad427b61741abc
Author: Matthias Springer <me at m-sp.org>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M mlir/test/Integration/Dialect/SparseTensor/CPU/dual_sparse_conv_2d.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_2d.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conversion_sparse2dense.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conversion_sparse2sparse.mlir
Log Message:
-----------
[mlir][sparse] Fix memory leaks (part 3) (#85184)
This commit fixes memory leaks in sparse tensor integration tests by
adding `bufferization.dealloc_tensor` ops.
Note: Buffer deallocation will be automated in the future with the
ownership-based buffer deallocation pass, making `dealloc_tensor`
obsolete (only codegen path, not when using the runtime library).
Commit: e8e8df4c1bf97f0674b2387175cdeb251a4e0d9c
https://github.com/llvm/llvm-project/commit/e8e8df4c1bf97f0674b2387175cdeb251a4e0d9c
Author: Matthias Springer <me at m-sp.org>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorCodegen.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_pack_d.mlir
Log Message:
-----------
[mlir][sparse] Add `has_runtime_library` test op (#85355)
This commit adds a new test-only op:
`sparse_tensor.has_runtime_library`. The op returns "1" if the sparse
compiler runs in runtime library mode.
This op is useful for writing test cases that require different IR
depending on whether the sparse compiler runs in runtime library or
codegen mode.
This commit fixes a memory leak in `sparse_pack_d.mlir`. This test case
uses `sparse_tensor.assemble` to create a sparse tensor SSA value from
existing buffers. This runtime library reallocates+copies the existing
buffers; the codegen path does not. Therefore, the test requires
additional deallocations when running in runtime library mode.
Alternatives considered:
- Make the codegen path allocate. "Codegen" is the "default" compilation
mode and it is handling `sparse_tensor.assemble` correctly. The issue is
with the runtime library path, which should not allocate. Therefore, it
is better to put a workaround in the runtime library path than to work
around the issue with a new flag in the codegen path.
- Add a `sparse_tensor.runtime_only` attribute to
`bufferization.dealloc_tensor`. Verifying that the attribute can only be
attached to `bufferization.dealloc_tensor` may introduce an unwanted
dependency of `MLIRSparseTensorDialect` on `MLIRBufferizationDialect`.
Commit: 32a067c068f9ac285cf98be3154c8f1909fa2b21
https://github.com/llvm/llvm-project/commit/32a067c068f9ac285cf98be3154c8f1909fa2b21
Author: Sameer Sahasrabuddhe <sameer.sahasrabuddhe at amd.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/include/llvm/CodeGenTypes/LowLevelType.h
M llvm/lib/CodeGen/LowLevelTypeUtils.cpp
M llvm/unittests/CodeGen/LowLevelTypeTest.cpp
Log Message:
-----------
[GlobalISel] Introduce LLT:token() as a special scalar type (#85189)
The new token type is used in #67006 for implementing convergence
control tokens in GMIR.
Commit: c54f22f5fe3eef055df4be7239b890eaab15f5ff
https://github.com/llvm/llvm-project/commit/c54f22f5fe3eef055df4be7239b890eaab15f5ff
Author: Christudasan Devadasan <christudasan.devadasan at amd.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
Log Message:
-----------
[AMDGPU] Add eventMask function in WaitcntGenerator class (NFC) (#85210)
This would bring a cleaner interface while obtaining wait event masks by
combining various wait event types in the derived classes.
Commit: e895c523b53c97c92a69ba0997e8904edd1e40a8
https://github.com/llvm/llvm-project/commit/e895c523b53c97c92a69ba0997e8904edd1e40a8
Author: Fangrui Song <i at maskray.me>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/include/llvm/Object/ELFObjectFile.h
Log Message:
-----------
[Object] getBuildAttributes: check e_machine. NFC
getBuildAttributes is only called for ARM/RISCV object files and
`SHT_ARM_ATTRIBUTES == SHT_RISCV_ATTRIBUTES`, so the following check
`Sec.sh_type == ELF::SHT_ARM_ATTRIBUTES || Sec.sh_type == ELF::SHT_RISCV_ATTRIBUTES`
is actually fine. But the convention is to guard such processor-specific
section type checks with an e_machine test.
Commit: d35f944dde1511bf3f21ff7492343ee15d0eea45
https://github.com/llvm/llvm-project/commit/d35f944dde1511bf3f21ff7492343ee15d0eea45
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M .ci/generate-buildkite-pipeline-premerge
Log Message:
-----------
Add missing clang to the monolithic pre-merge build (#85354)
Clang has a custom separate pipeline integrated with libc++ that only
runs in release mode. It means that changes which touches only clang
won't run the clang tests in the configuration used by LLVM premerge and
will break it unknowingly.
Commit: 297af060e26e13d35990e961648bd1a3c318f028
https://github.com/llvm/llvm-project/commit/297af060e26e13d35990e961648bd1a3c318f028
Author: Fangrui Song <i at maskray.me>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/test/tools/llvm-readobj/ELF/machine-specific-section-types.test
Log Message:
-----------
[llvm-readobj,yaml2obj,test] Test SHT_HEX_ORDERED
The section type from 9f64604e74a46ea1c8a8bd258b4a4195f79ec6cb (2013)
was untested.
Commit: 2a547f0f6c6b456342b9bfad38787f54f265fc96
https://github.com/llvm/llvm-project/commit/2a547f0f6c6b456342b9bfad38787f54f265fc96
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M mlir/lib/Tools/mlir-opt/MlirOptMain.cpp
Log Message:
-----------
[MLIR] Fix `mlir-opt --show-dialects` to not require any input (as documented)
Commit: 4372cab91476137c6637a277dcc6a9df02c12aae
https://github.com/llvm/llvm-project/commit/4372cab91476137c6637a277dcc6a9df02c12aae
Author: Adrian Kuegel <akuegel at google.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
A llvm/test/CodeGen/NVPTX/atomics-sm70.ll
M llvm/test/CodeGen/NVPTX/atomics.ll
Log Message:
-----------
Reland "[NVPTX] Add support for atomic add for f16 type" (#85197)
atom.add.noftz.f16 is supported since SM 7.0
Commit: abe292f9f8d0ff339e7d94d1c3984b9fcb23d546
https://github.com/llvm/llvm-project/commit/abe292f9f8d0ff339e7d94d1c3984b9fcb23d546
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M libcxx/test/std/time/time.zone/time.zone.db/time.zone.db.access/get_tzdb.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.db/time.zone.db.access/get_tzdb_list.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.db/time.zone.db.list/front.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.db/time.zone.db.list/iterators.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.db/time.zone.db.remote/reload_tzdb.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.db/time.zone.db.remote/remote_version.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.link/time.zone.link.members/name.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.link/time.zone.link.members/target.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.link/time.zone.link.nonmembers/comparison.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/name.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.nonmembers/comparison.pass.cpp
Log Message:
-----------
[libc++] Enables TZDB tests. (#82108)
With the timezone information available in the CI these tests can be
enabled again.
Fixes: https://github.com/llvm/llvm-project/issues/81654
Commit: 0a739eb75fe68b1cec4e4aaad8b5395bb5da9a89
https://github.com/llvm/llvm-project/commit/0a739eb75fe68b1cec4e4aaad8b5395bb5da9a89
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/InterpBuiltin.cpp
M clang/test/AST/Interp/builtin-functions.cpp
Log Message:
-----------
[clang][Interp] Implement __builtin___{CF,NS}StringMakeConstantString
By doing the same thing the current interpreter does: Just passing on
the first parameter.
Commit: ff2fb2a1d78585944dcdb9061c8487fe1476dfa4
https://github.com/llvm/llvm-project/commit/ff2fb2a1d78585944dcdb9061c8487fe1476dfa4
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
M llvm/test/Instrumentation/ThreadSanitizer/atomic.ll
Log Message:
-----------
[TSan] Fix atomicrmw xchg with pointer and floats (#85228)
atomicrmw xchg also accepts pointer and floating-point values. To handle
those, insert necessary casts to and from integer. This is what we do
for cmpxchg as well.
Fixes https://github.com/llvm/llvm-project/issues/85226.
Commit: e61e26091c5088b32b68e020cd51ab6de972004f
https://github.com/llvm/llvm-project/commit/e61e26091c5088b32b68e020cd51ab6de972004f
Author: SahilPatidar <patidarsahil2001 at gmail.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
M llvm/test/Transforms/InstCombine/mul.ll
M llvm/test/Transforms/InstCombine/sub-xor-cmp.ll
Log Message:
-----------
[InstCombine] Fold `mul (sext bool X), Y` into `select X, -Y, 0` (#84792)
Alive2: https://alive2.llvm.org/ce/z/n_ns-W
Resolve #84608
Commit: 8a237ab7d9022d24441544ba25be480f0c944f5a
https://github.com/llvm/llvm-project/commit/8a237ab7d9022d24441544ba25be480f0c944f5a
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
Log Message:
-----------
[TSan] Avoid use of ReplaceInstWithInst()
This is mainly for consistency across code paths, but also makes
sure that all calls use IRInstrumentationBuilder and its special
debuginfo handling.
The two remaining uses don't actually need RAUW, they just have
to erase the original instruction.
Commit: e639e7e986e0c1dcb5af3de65548d8518eb685a6
https://github.com/llvm/llvm-project/commit/e639e7e986e0c1dcb5af3de65548d8518eb685a6
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.h
M llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
M llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.h
Log Message:
-----------
[AArch64] NFC: Simplify the smstart/smstop pseudo. (#85067)
This is just a bit of cleanup to make the pseudo/code easier to
understand. This is based on the observation that we only need to pass
in a runtime value for 'pstate' if is actually needed for generating a
runtime check.
Commit: c42bc2ea8f66def31ca9a381e995ec61e9fa9b05
https://github.com/llvm/llvm-project/commit/c42bc2ea8f66def31ca9a381e995ec61e9fa9b05
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/lib/AST/ExprConstant.cpp
Log Message:
-----------
[clang][NFC] Make some local pointers const
The function returns a const Expr* anyway.
Commit: 8ab0632735f87961d27094a1076a41264e2fd3ed
https://github.com/llvm/llvm-project/commit/8ab0632735f87961d27094a1076a41264e2fd3ed
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeStmtGen.cpp
M clang/lib/AST/Interp/ByteCodeStmtGen.h
M clang/test/AST/Interp/cxx23.cpp
Log Message:
-----------
[clang][Interp] Handle goto and label statements
Commit: 141145232f915b44aef6e3854f091da03c41a2b6
https://github.com/llvm/llvm-project/commit/141145232f915b44aef6e3854f091da03c41a2b6
Author: Artem Tyurin <artem.tyurin at gmail.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/include/llvm/Analysis/ConstantFolding.h
M llvm/include/llvm/Analysis/InstSimplifyFolder.h
M llvm/include/llvm/Analysis/InstructionSimplify.h
M llvm/include/llvm/Analysis/TargetFolder.h
M llvm/include/llvm/IR/ConstantFolder.h
M llvm/include/llvm/IR/IRBuilder.h
M llvm/include/llvm/IR/IRBuilderFolder.h
M llvm/include/llvm/IR/NoFolder.h
M llvm/lib/Analysis/ConstantFolding.cpp
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/lib/IR/IRBuilder.cpp
M llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/unittests/IR/IRBuilderTest.cpp
Log Message:
-----------
[IRBuilder] Fold binary intrinsics (#80743)
Fixes https://github.com/llvm/llvm-project/issues/61240.
Commit: 719e077a5680ccfd6601195754c1702b03ba3645
https://github.com/llvm/llvm-project/commit/719e077a5680ccfd6601195754c1702b03ba3645
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.h
M clang/test/AST/Interp/cxx23.cpp
Log Message:
-----------
[clang][Interp] Handle PackIndexExprs
Commit: 8310fd3a093ce98e4df599f7cac2081f551e3fef
https://github.com/llvm/llvm-project/commit/8310fd3a093ce98e4df599f7cac2081f551e3fef
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/include/llvm/CodeGen/MachineLoopInfo.h
M llvm/include/llvm/CodeGen/TargetRegisterInfo.h
M llvm/lib/CodeGen/MachineLoopInfo.cpp
M llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp
M llvm/lib/Target/AArch64/AArch64RegisterInfo.h
A llvm/test/CodeGen/AArch64/sme-machine-licm-vg.mir
Log Message:
-----------
[MachineLICM] Give opportunity to analyze physregs for invariance. (#84779)
At the moment MachineLoopInfo has a very simple way to determine if a
use of a physical register will be invariant: if it is not a constant
value or if it's not an ignorable use, then it's not considered
invariant.
>From a compile-time performance perspective this makes a lot of sense,
but it limits code that uses implicit physical registers from being
hoisted until the later MachineLICM pass (after register allocation),
which has a lot fewer opportunities to hoist.
For AArch64 SME we use an implicit physical register ($vg) to avoid
rematerialization beyond certain instructions. Doing this led to
regressions because simple expressions were no longer hoisted by Early
MachineLICM.
This patch adds some extra checks to 'isLoopInvariant' to see if any of
the defs are found in the loop. If not, we can considered it loop
invariant.
We expect the impact on compile-time to be negligible because there is
an incentive for users to reduce the need for the smstart/smstop
instructions that define $vg. In either case, we've put the
functionality under a target interface to limit this only to specific
registers.
Commit: 72d85b0315628c982be21c7aada59b6f9274de90
https://github.com/llvm/llvm-project/commit/72d85b0315628c982be21c7aada59b6f9274de90
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/Interp.h
M clang/lib/AST/Interp/Opcodes.td
M clang/test/AST/Interp/if.cpp
Log Message:
-----------
[clang][Interp] Emit Error op for contains-error expressions
Instead of aborting interpretation right away. This way we can still
successfully evaluate such functions provided we don't reach the
Error op at all.
Commit: dbb2fd5974fbdf82d4b1b0dd0dde5170e3629768
https://github.com/llvm/llvm-project/commit/dbb2fd5974fbdf82d4b1b0dd0dde5170e3629768
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/MachineLoopInfo.cpp
Log Message:
-----------
[CodeGen] Remove unused lambda capture (NFC)
llvm-project/llvm/lib/CodeGen/MachineLoopInfo.cpp:215:14:
error: lambda capture 'Reg' is not used [-Werror,-Wunused-lambda-capture]
[this, Reg](const MachineInstr &MI) { return this->contains(&MI); });
~~^~~
1 error generated.
Commit: 01a31cee561efe90fbd1d33fa89f403dd8ff9012
https://github.com/llvm/llvm-project/commit/01a31cee561efe90fbd1d33fa89f403dd8ff9012
Author: Matthias Gehre <matthias.gehre at amd.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
M mlir/lib/Dialect/EmitC/IR/EmitC.cpp
M mlir/lib/Target/Cpp/TranslateToCpp.cpp
M mlir/test/Dialect/EmitC/invalid_ops.mlir
A mlir/test/Target/Cpp/subscript.mlir
Log Message:
-----------
[MLIR] EmitC: Add subscript operator (#84783)
Introduces a SubscriptOp that allows to write IR like
```
func.func @load_store(%arg0: !emitc.array<4x8xf32>, %arg1: !emitc.array<3x5xf32>, %arg2: index, %arg3: index) {
%0 = emitc.subscript %arg0[%arg2, %arg3] : <4x8xf32>, index, index
%1 = emitc.subscript %arg1[%arg2, %arg3] : <3x5xf32>, index, index
emitc.assign %0 : f32 to %1 : f32
return
}
```
which gets translated into the C++ code
```
v1[v2][v3] = v0[v1][v2];
```
To make this happen, this
- adds the SubscriptOp
- allows the subscript op as rhs of emitc.assign
- updates the emitter to print SubscriptOps
The emitter prints emitc.subscript in a delayed fashing to allow it
being used as lvalue.
I.e. while processing
```
%0 = emitc.subscript %arg0[%arg2, %arg3] : <4x8xf32>, index, index
```
it will not emit any text, but record in the `valueMapper` that the name
for `%0` is `v0[v1][v2]`, see `CppEmitter::getSubscriptName`. Only when
that result is then used (here in `emitc.assign`), that name is inserted
into the text.
Commit: ddcbab37ac0e5743a8d39be3dd48d967f4c85504
https://github.com/llvm/llvm-project/commit/ddcbab37ac0e5743a8d39be3dd48d967f4c85504
Author: serge-sans-paille <sguelton at mozilla.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
M compiler-rt/test/tsan/signal_errno.cpp
M compiler-rt/test/tsan/signal_sync.cpp
M compiler-rt/test/tsan/signal_thread.cpp
M compiler-rt/test/tsan/signal_thread2.cpp
Log Message:
-----------
[compiler-rt] Also consider SIGPROF as a synchronous signal
Blocking that signal causes inter-blocking for profilers that monitor
threads through that signal.
Update tests accordingly to use an uncaught signal.
This is a recommit of 6f3f659ce9ab91002b4a490b0ce4b085981383cd with the
tests fixed.
Fix #83844 and #83561
Commit: d59256992e8df79991e4c6baaff1a7c4830a26d5
https://github.com/llvm/llvm-project/commit/d59256992e8df79991e4c6baaff1a7c4830a26d5
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Log Message:
-----------
[DAG] visitAND - pull out repeated SDLoc(N). NFC.
Commit: fe753f77c35cf236b8aed6b5ebd857973e047925
https://github.com/llvm/llvm-project/commit/fe753f77c35cf236b8aed6b5ebd857973e047925
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Log Message:
-----------
[DAG] visitTRUNCATE - pull out repeated SDLoc(N). NFC.
Commit: c7c561ef98ad783d257dab3940dd2378ef8760bf
https://github.com/llvm/llvm-project/commit/c7c561ef98ad783d257dab3940dd2378ef8760bf
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
A llvm/test/CodeGen/AMDGPU/fptoi.i128.ll
A llvm/test/CodeGen/AMDGPU/itofp.i128.ll
Log Message:
-----------
AMDGPU: Enable ExpandLargeFpConvert for > 64-bit types
Fixes casts between double/float/half and i128. The pass seems to be
broken for bfloat though. I also believe we could have a better implementation
which attempts to make use the native 32-bit conversion instructions like
the 64-bit expansion does.
Commit: b890a48a12aa5c851185ae2fd6273cd853fe0bc5
https://github.com/llvm/llvm-project/commit/b890a48a12aa5c851185ae2fd6273cd853fe0bc5
Author: Wang Pengcheng <wangpengcheng.pp at bytedance.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/include/llvm/Target/TargetSchedule.td
M llvm/test/TableGen/MacroFusion.td
M llvm/utils/TableGen/MacroFusionPredicatorEmitter.cpp
Log Message:
-----------
[MacroFusion] Support commutable instructions (#82751)
If the second instruction is commutable, we should be able to check
its commutable operands.
A simple RISCV fusion is contained in this PR to show the functionality
is correct, I may remove it when landing.
Fixes #82738
Commit: d6d3d96b654012d72ad170d272cb2fe2c8def90d
https://github.com/llvm/llvm-project/commit/d6d3d96b654012d72ad170d272cb2fe2c8def90d
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/include/llvm/Bitcode/LLVMBitCodes.h
M llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
M llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
M llvm/lib/Bitcode/Writer/ValueEnumerator.cpp
M llvm/lib/IR/BasicBlock.cpp
M llvm/lib/Linker/IRMover.cpp
M llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
A llvm/test/Bitcode/dbg-record-roundtrip.ll
M llvm/tools/llvm-as/llvm-as.cpp
M llvm/tools/verify-uselistorder/verify-uselistorder.cpp
Log Message:
-----------
[RemoveDIs] Read/write DbgRecords directly from/to bitcode (#83251)
If --write-experimental-debuginfo-iterators-to-bitcode is true (default false)
and --expermental-debuginfo-iterators is also true then the new debug info
format (non-instruction records) is written to bitcode directly.
Added the following records:
FUNC_CODE_DEBUG_RECORD_LABEL
FUNC_CODE_DEBUG_RECORD_VALUE
FUNC_CODE_DEBUG_RECORD_DECLARE
FUNC_CODE_DEBUG_RECORD_ASSIGN
FUNC_CODE_DEBUG_RECORD_VALUE_SIMPLE
The last one has an abbrev in FUNCTION_BLOCK BLOCK_INFO. Incidentally, this uses
the last value available without widening the code-length for FUNCTION_BLOCK
from 4 to 5 bits.
Records are formatted as follows:
All DbgRecord start with:
1. DILocation
FUNC_CODE_DEBUG_RECORD_LABEL
2. DILabel
DPValues then share common fields:
2. DILocalVariable
3. DIExpression
FUNC_CODE_DEBUG_RECORD_VALUE
4. Location Metadata
FUNC_CODE_DEBUG_RECORD_DECLARE
4. Location Metadata
FUNC_CODE_DEBUG_RECORD_VALUE_SIMPLE
4. Location Value (single)
FUNC_CODE_DEBUG_RECORD_ASSIGN
4. Location Metadata
5. DIAssignID
6. DIExpression (address)
7. Location Metadata (address)
Encoding the DILocation metadata reference directly appeared to yield smaller
bitcode files than encoding the operands seperately (as is done with instruction
DILocations).
FUNC_CODE_DEBUG_RECORD_VALUE_SIMPLE is by far the most common DbgRecord record
in optimized code (order of 5x-10x over other kinds). Unoptimized code should
only contain FUNC_CODE_DEBUG_RECORD_DECLARE.
Commit: 7567f5ba789cce32a33e2661301c1b8bb629d47d
https://github.com/llvm/llvm-project/commit/7567f5ba789cce32a33e2661301c1b8bb629d47d
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/AArch64/horizontal.ll
Log Message:
-----------
Revert "[SLP]Do extra analysis int minbitwidth if some checks return false."
This reverts commit ea429e19f56005bf89e717c14efdf49ec055b183 to fix
issues reported in https://github.com/llvm/llvm-project/pull/84536#issuecomment-1999295445.
Commit: 9b5d9a81bd2695443254be8489f4325fbb259776
https://github.com/llvm/llvm-project/commit/9b5d9a81bd2695443254be8489f4325fbb259776
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/fptoi.i128.ll
Log Message:
-----------
AMDGPU: Regenerate test checks from c7c561ef9
The test output changed after initial commit/test in
5f774619eac5db73398225a4c924a9c1d437fb40
Commit: dbbe2fe2a2684c45993f9cf6fced4e3b38fcb0c7
https://github.com/llvm/llvm-project/commit/dbbe2fe2a2684c45993f9cf6fced4e3b38fcb0c7
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
Revert "[SLP]Do extra analysis int minbitwidth if some checks return false."
This reverts commit e4b772444c8176abe30d364e4a946ee6c8ae8de4 to fixx the
issues reported in https://github.com/llvm/llvm-project/pull/84536.
Commit: 37898707585af6df9545620fa8053e7acd23be9f
https://github.com/llvm/llvm-project/commit/37898707585af6df9545620fa8053e7acd23be9f
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/AArch64/ext-trunc.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/gather-buildvector-with-minbitwidth-user.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/gather-with-minbith-user.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/getelementptr2.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/reduce-add-i64.ll
M llvm/test/Transforms/SLPVectorizer/RISCV/reductions.ll
M llvm/test/Transforms/SLPVectorizer/X86/PR35777.ll
M llvm/test/Transforms/SLPVectorizer/X86/int-bitcast-minbitwidth.ll
M llvm/test/Transforms/SLPVectorizer/X86/minbitwidth-multiuse-with-insertelement.ll
M llvm/test/Transforms/SLPVectorizer/X86/minbitwidth-transformed-operand.ll
M llvm/test/Transforms/SLPVectorizer/X86/minimum-sizes.ll
M llvm/test/Transforms/SLPVectorizer/X86/phi-undef-input.ll
M llvm/test/Transforms/SLPVectorizer/X86/resched.ll
M llvm/test/Transforms/SLPVectorizer/X86/reused-reductions-with-minbitwidth.ll
M llvm/test/Transforms/SLPVectorizer/X86/same-scalar-in-same-phi-extract.ll
M llvm/test/Transforms/SLPVectorizer/X86/store-insertelement-minbitwidth.ll
M llvm/test/Transforms/SLPVectorizer/alt-cmp-vectorize.ll
Log Message:
-----------
Revert "[SLP]Improve minbitwidth analysis."
This reverts commit 7f2167868d8c1cedd3915883412b9c787a2f01db to fix
issues reported in https://github.com/llvm/llvm-project/pull/84536.
Commit: 861ebe6446296c96578807363aa292c69d827773
https://github.com/llvm/llvm-project/commit/861ebe6446296c96578807363aa292c69d827773
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/include/llvm/Bitcode/LLVMBitCodes.h
M llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
M llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
M llvm/lib/Bitcode/Writer/ValueEnumerator.cpp
M llvm/lib/IR/BasicBlock.cpp
M llvm/lib/Linker/IRMover.cpp
M llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
R llvm/test/Bitcode/dbg-record-roundtrip.ll
M llvm/tools/llvm-as/llvm-as.cpp
M llvm/tools/verify-uselistorder/verify-uselistorder.cpp
Log Message:
-----------
Revert "[RemoveDIs] Read/write DbgRecords directly from/to bitcode" (#85382)
Reverts llvm/llvm-project#83251
Buildbot: https://lab.llvm.org/buildbot/#/builders/139/builds/61485
Commit: 328cb9b731cb61eaa853fa6cc3bd641dd1d71b98
https://github.com/llvm/llvm-project/commit/328cb9b731cb61eaa853fa6cc3bd641dd1d71b98
Author: Patryk Wychowaniec <pwychowaniec at pm.me>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Target/AVR/AVRInstrInfo.td
A llvm/test/CodeGen/AVR/bug-81911.ll
Log Message:
-----------
[AVR] Remove earlyclobber from LDDRdPtrQ (#85277)
LDDRdPtrQ was marked as `earlyclobber`, which doesn't play well with
GreedyRA (which can generate this instruction through `loadRegFromStackSlot()`).
This seems to be the same case as:
https://github.com/llvm/llvm-project/blob/a99b912c9b74f6ef91786b4dfbc25160c27d3b41/llvm/lib/Target/AVR/AVRInstrInfo.td#L1421
Closes https://github.com/llvm/llvm-project/issues/81911.
Commit: 6d30223f7c66ca07ea7ff40ffba426f2dc789e74
https://github.com/llvm/llvm-project/commit/6d30223f7c66ca07ea7ff40ffba426f2dc789e74
Author: long.chen <lipracer at gmail.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/include/llvm/ADT/APInt.h
M llvm/lib/Support/APInt.cpp
M llvm/unittests/ADT/APIntTest.cpp
Log Message:
-----------
[ADT][APInt] add sfloordiv_ov APInt's member function (#84720)
for mlir fold to avoid too many overflow state check
Commit: cf5cd98e74275ed6198b4bbe76cec250ade2c186
https://github.com/llvm/llvm-project/commit/cf5cd98e74275ed6198b4bbe76cec250ade2c186
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/test/Transforms/InstCombine/icmp-and-lowbit-mask.ll
M llvm/test/Transforms/InstCombine/not.ll
M llvm/test/Transforms/InstCombine/pr63791.ll
Log Message:
-----------
[InstCombine] Support and/or in `getFreelyInvertedImpl` using DeMorgan's Law (#85193)
This patch adds the support for and/or in `getFreelyInvertedImpl` using
DeMorgan's Law:
```
(~(A | B)) -> (~A & ~B)
(~(A & B)) -> (~A | ~B)
```
Alive2: https://alive2.llvm.org/ce/z/Uig8-j
Commit: 53d8c6b1b1f7cfce9bd42032e8cb6cc1ddcf6c78
https://github.com/llvm/llvm-project/commit/53d8c6b1b1f7cfce9bd42032e8cb6cc1ddcf6c78
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M flang/lib/Semantics/resolve-directives.cpp
A flang/test/Lower/OpenMP/parallel-reduction-rename.f90
M flang/test/Lower/OpenMP/wsloop-reduction-min2.f90
A flang/test/Semantics/OpenMP/reduction11.f90
Log Message:
-----------
[flang][Semantics][OpenMP] set intrinsic attr for reductions (#85114)
Reductions such as min are intrinsic procedures. This distinguishes them
from user defined reductions. Previously, the intrinsic attribute was
not set when visiting reduction clauses causing them to be missed.
wsloop-reduction-min.f90 (the other min reduction test) worked because
it contained "min" used as an intrinsic inside of the body of the
reduction. This allowed ResolveNamesVisitor::HandleProcedureName to set
the correct attribute on that Symbol.
Commit: 61fadd0b09fb012b628b050725d348ad2164f328
https://github.com/llvm/llvm-project/commit/61fadd0b09fb012b628b050725d348ad2164f328
Author: Ganesh <Ganesh.Gopalasubramanian at amd.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Target/X86/X86.td
M llvm/lib/Target/X86/X86InstrInfo.cpp
M llvm/lib/Target/X86/X86InstrPredicates.td
M llvm/lib/Target/X86/X86TargetTransformInfo.h
A llvm/test/CodeGen/X86/vpdpwssd.ll
Log Message:
-----------
[X86] Fast AVX-512-VNNI vpdpwssd tuning (#85375)
Adding a tuning feature to fix
https://github.com/llvm/llvm-project/issues/84182
Generates vpdpwssd (instead of vpmaddwd + vpaddd sequence)
Commit: cdb36d47b79fc782f71842c8ad12b7788d451fb0
https://github.com/llvm/llvm-project/commit/cdb36d47b79fc782f71842c8ad12b7788d451fb0
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Log Message:
-----------
[DAG] foldAndToUsubsat/foldSubToUSubSat - share the same SDLoc argument instead of recreating it over and over again.
Commit: f1d0a48b2740b506d0b476f7cac0ee47d659a6d2
https://github.com/llvm/llvm-project/commit/f1d0a48b2740b506d0b476f7cac0ee47d659a6d2
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Log Message:
-----------
[DAG] foldABSToABD - share the same SDLoc argument instead of recreating it over and over again.
Commit: 5334afcad827a6284ff56f5bde81d4e3416aae8c
https://github.com/llvm/llvm-project/commit/5334afcad827a6284ff56f5bde81d4e3416aae8c
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeStmtGen.cpp
M clang/test/SemaCXX/decomposed-condition.cpp
Log Message:
-----------
[clang][Interp] Don't forget to visit condition variable decls
We did this for if statements, but switch and loop constructs
need to do it as well.
Commit: c7fc95baae8e662506c22511b29e1ad86b910248
https://github.com/llvm/llvm-project/commit/c7fc95baae8e662506c22511b29e1ad86b910248
Author: Jacek Caban <jacek at codeweavers.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Object/ArchiveWriter.cpp
Log Message:
-----------
[Object][Archive][NFC] Create all symbolic files objects before calculating offsets. (#85229)
This is refactoring preparing to move UseECMap computation to the
archive writer. We currently require writeArchive caller to pass that.
This is not practical for llvm-ar, which currently interprets at most
one passed object. For a reliable UseECMap, we need to interpret all
symbolic objects: we may have, for example, a list of x86_64 files
followed by aarch64 file, which indicates that we should use EC map for
x86_64 objects.
This commit interprets symbolic files in a separated pass, which will be
a convenient place to implement UseECMap computation in the follow up.
It also makes accessing the next member for AIX big archive offset
computation a bit easier.
Commit: f623adbbbdea8ac6af06e44be218e4fa969e523d
https://github.com/llvm/llvm-project/commit/f623adbbbdea8ac6af06e44be218e4fa969e523d
Author: Bevin Hansson <59652494+bevin-hansson at users.noreply.github.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/ExpandLargeFpConvert.cpp
M llvm/test/Transforms/ExpandLargeFpConvert/X86/expand-large-fp-convert-si129tofp.ll
M llvm/test/Transforms/ExpandLargeFpConvert/X86/expand-large-fp-convert-ui129tofp.ll
Log Message:
-----------
[ExpandLargeFpConvert] Fix bug in int-to-fp expansion. (#85370)
When deciding whether to perform rounding on the significand,
the generated IR was using (width - leading zeros - 1) rather
than (width - leading zeros). This is different from how the
routine in compiler-rt does it:
int sd = srcBits - clzSrcT(a);
int e = sd - 1;
if (sd > dstMantDig) {
This bug means that the following code, when built on -O0:
#include <stdio.h>
_BitInt(233) v_1037 = 0;
int main(void)
{
v_1037 = 18014398509481982wb;
double d = v_1037;
printf("d = %f\n", d);
return 0;
}
prints "d = 9007199254740992.000000", which is incorrect.
The correct result is "d = 18014398509481982.000000".
Commit: e12b46fef76472b3eeb3c689dbd848c72ff8486f
https://github.com/llvm/llvm-project/commit/e12b46fef76472b3eeb3c689dbd848c72ff8486f
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M flang/lib/Optimizer/Builder/FIRBuilder.cpp
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
A flang/test/Fir/omp-reduction-embox-codegen.fir
Log Message:
-----------
[flang] support fir.alloca operations inside of omp reduction ops (#84952)
Advise to place the alloca at the start of the first block of whichever
region (init or combiner) we are currently inside.
It probably isn't safe to put an alloca inside of a combiner region
because this will be executed multiple times. But that would be a bug to
fix in Lower/OpenMP.cpp, not here.
OpenMP array reductions 1/6
Next PR: https://github.com/llvm/llvm-project/pull/84953
Commit: 41bdcaa7c687140c28ad46102784bb6c40449981
https://github.com/llvm/llvm-project/commit/41bdcaa7c687140c28ad46102784bb6c40449981
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/unittests/ADT/APIntTest.cpp
Log Message:
-----------
[ADT] APIntTest - use APInt::getMaxValue/getSignedMinValue/getSignedMaxValue instead of raw (U)INT_MAX/MIN defines
Fixes warnings on MSVC builds
Commit: a7f3d17de18a8be07b74484802582404a32c6527
https://github.com/llvm/llvm-project/commit/a7f3d17de18a8be07b74484802582404a32c6527
Author: Dhruv Chawla <dhruvc at nvidia.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
A llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-vector-deinterleave2.ll
A llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-vector-interleave2.ll
M llvm/test/CodeGen/AArch64/complex-deinterleaving-f16-add.ll
M llvm/test/CodeGen/AArch64/fixed-vector-deinterleave.ll
M llvm/test/CodeGen/AArch64/fixed-vector-interleave.ll
Log Message:
-----------
[GlobalISel] Add support for interleave and deinterleave intrinsics to IRTranslator (#85199)
This patch adds support for the @llvm.experimental.vector.{interleave2,
deinterleave2} intrinsics to IRTranslator for fixed-width vector types.
They are lowered to vector shuffles, in roughly the same manner as
SelectionDAG.
Commit: 61671e2500771dfbf502acd86e2ef70cba847a39
https://github.com/llvm/llvm-project/commit/61671e2500771dfbf502acd86e2ef70cba847a39
Author: David Stenberg <david.stenberg at ericsson.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/IR/DebugInfoMetadata.cpp
M llvm/unittests/IR/MetadataTest.cpp
Log Message:
-----------
[DebugInfo] Fix faulty DIExpression::appendToStack assert (#85255)
The appendToStack() function asserts that no DW_OP_stack_value or
DW_OP_LLVM_fragment operations are present in the operations to be
appended. The function did that by iterating over all elements in the
array rather than just the operations, leading it to falsely asserting
on the following input produced by getExt(), since 159 (0x9f) is the
DWARF code for DW_OP_stack_value:
{dwarf::DW_OP_LLVM_convert, 159, dwarf::DW_ATE_signed}
Fix this by using expr_op iterators.
Commit: 03bad4b434eb9e10b8e970d69a583bc8d5b7a3d4
https://github.com/llvm/llvm-project/commit/03bad4b434eb9e10b8e970d69a583bc8d5b7a3d4
Author: Paul Walker <paul.walker at arm.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Target/AArch64/SVEInstrFormats.td
Log Message:
-----------
[NFC][LLVM][CodeGen][SVE] Standardise on SVEAllActive for all true isel patterns.
Commit: 63e70c05537c54edae975c8b5449ff87444abec2
https://github.com/llvm/llvm-project/commit/63e70c05537c54edae975c8b5449ff87444abec2
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M flang/include/flang/Evaluate/tools.h
M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
M flang/lib/Lower/OpenMP/ClauseProcessor.h
M flang/lib/Lower/OpenMP/Clauses.cpp
M flang/lib/Lower/OpenMP/Clauses.h
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/lib/Lower/OpenMP/ReductionProcessor.cpp
M flang/lib/Lower/OpenMP/ReductionProcessor.h
M flang/lib/Lower/OpenMP/Utils.cpp
M flang/lib/Lower/OpenMP/Utils.h
Log Message:
-----------
[flang][OpenMP] Convert repeatable clauses (except Map) in ClauseProc… (#81623)
…essor
Rename `findRepeatableClause` to `findRepeatableClause2`, and make the
new `findRepeatableClause` operate on new `omp::Clause` objects.
Leave `Map` unchanged, because it will require more changes for it to
work.
[Clause representation 3/6]
Commit: 36fd0e797974b75623d847e30d8ba0494e43af99
https://github.com/llvm/llvm-project/commit/36fd0e797974b75623d847e30d8ba0494e43af99
Author: Kyungwoo Lee <kyulee at meta.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
R llvm/test/tools/llvm-objdump/MachO/AArch64/Inputs/rel-method-lists-arm64.dylib
R llvm/test/tools/llvm-objdump/MachO/AArch64/Inputs/rel-method-lists-arm64_32.dylib
R llvm/test/tools/llvm-objdump/MachO/AArch64/macho-relative-method-lists.test
M llvm/tools/llvm-objdump/MachODump.cpp
Log Message:
-----------
Revert "[llvm-objdump][macho] Add support for ObjC relative method lists (#84250)"
This reverts llvm/llvm-project#84250, commit aa6100643c2c8f9a1b06ba557b68b0fba477e3c7.
See build failures:
https://lab.llvm.org/buildbot/#/builders/178/builds/7028
https://lab.llvm.org/buildbot/#/builders/182/builds/9282
https://lab.llvm.org/buildbot/#/builders/186/builds/15299
https://lab.llvm.org/buildbot/#/builders/187/builds/14564
Commit: 2c703ed7281cb0fb749bff75b1c313a0332bd9eb
https://github.com/llvm/llvm-project/commit/2c703ed7281cb0fb749bff75b1c313a0332bd9eb
Author: Eric <eric at efcs.ca>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M libcxx/docs/Modules.rst
M libcxx/modules/CMakeLists.txt.in
Log Message:
-----------
Rework Modules CMake to be (more) idiomatic. (#84936)
- Fix bug in documentation regarding dependencies.
- Rework Modules CMake to be (more) idiomatic.
Commit: 5b5525d403f4b1e155c5fc50649b6c6d9e7d4de5
https://github.com/llvm/llvm-project/commit/5b5525d403f4b1e155c5fc50649b6c6d9e7d4de5
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
Log Message:
-----------
[flang][OpenMP] Remove unused variable (NFC)
llvm-project/flang/lib/Lower/OpenMP/ClauseProcessor.cpp:97:15:
error: unused variable 'allocatorOperand' [-Werror,-Wunused-variable]
mlir::Value allocatorOperand;
^
1 error generated.
Commit: 435d4c12de6fdc8e67ceffa04f4d9fba9f006b2d
https://github.com/llvm/llvm-project/commit/435d4c12de6fdc8e67ceffa04f4d9fba9f006b2d
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/include/llvm/Bitcode/LLVMBitCodes.h
M llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
M llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
M llvm/lib/Bitcode/Writer/ValueEnumerator.cpp
M llvm/lib/IR/BasicBlock.cpp
M llvm/lib/Linker/IRMover.cpp
M llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
A llvm/test/Bitcode/dbg-record-roundtrip.ll
M llvm/tools/llvm-as/llvm-as.cpp
M llvm/tools/verify-uselistorder/verify-uselistorder.cpp
Log Message:
-----------
Reapply [RemoveDIs] Read/write DbgRecords directly from/to bitcode (#83251)
Reaplying after revert in #85382 (861ebe6446296c96578807363aa292c69d827773).
Fixed intermittent test failure by avoiding piping output in some RUN lines.
If --write-experimental-debuginfo-iterators-to-bitcode is true (default false)
and --expermental-debuginfo-iterators is also true then the new debug info
format (non-instruction records) is written to bitcode directly.
Added the following records:
FUNC_CODE_DEBUG_RECORD_LABEL
FUNC_CODE_DEBUG_RECORD_VALUE
FUNC_CODE_DEBUG_RECORD_DECLARE
FUNC_CODE_DEBUG_RECORD_ASSIGN
FUNC_CODE_DEBUG_RECORD_VALUE_SIMPLE
The last one has an abbrev in FUNCTION_BLOCK BLOCK_INFO. Incidentally, this uses
the last value available without widening the code-length for FUNCTION_BLOCK
from 4 to 5 bits.
Records are formatted as follows:
All DbgRecord start with:
1. DILocation
FUNC_CODE_DEBUG_RECORD_LABEL
2. DILabel
DPValues then share common fields:
2. DILocalVariable
3. DIExpression
FUNC_CODE_DEBUG_RECORD_VALUE
4. Location Metadata
FUNC_CODE_DEBUG_RECORD_DECLARE
4. Location Metadata
FUNC_CODE_DEBUG_RECORD_VALUE_SIMPLE
4. Location Value (single)
FUNC_CODE_DEBUG_RECORD_ASSIGN
4. Location Metadata
5. DIAssignID
6. DIExpression (address)
7. Location Metadata (address)
Encoding the DILocation metadata reference directly appeared to yield smaller
bitcode files than encoding the operands seperately (as is done with instruction
DILocations).
FUNC_CODE_DEBUG_RECORD_VALUE_SIMPLE is by far the most common DbgRecord record
in optimized code (order of 5x-10x over other kinds). Unoptimized code should
only contain FUNC_CODE_DEBUG_RECORD_DECLARE.
Commit: 0bcec96f3fe919fc5fd1189d1901fa3a0e501e2c
https://github.com/llvm/llvm-project/commit/0bcec96f3fe919fc5fd1189d1901fa3a0e501e2c
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/FLATInstructions.td
Log Message:
-----------
[AMDGPU] Reduce duplication in FLAT atomic definitions (#85383)
This simplifies the case where the tablegen name of the defm for the
Real is the same as the name of the Pseudo.
Commit: 9214e51925d202fd8463535d75f144b81173dd73
https://github.com/llvm/llvm-project/commit/9214e51925d202fd8463535d75f144b81173dd73
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/FLATInstructions.td
Log Message:
-----------
[AMDGPU] Simplify GFX10+ FLAT saddr field definition
On GFX10+ has_saddr is effectively always true so there is no need to
test it.
Commit: e419084da7a00b269368aeb95698e0d36b24e8ec
https://github.com/llvm/llvm-project/commit/e419084da7a00b269368aeb95698e0d36b24e8ec
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/IR/BasicBlock.cpp
Log Message:
-----------
[RemoveDIs] Enable direct-to-bitcode writing by default
Follow on from #83251. This patch simply enables the behaviour by default in
order to provide an easily revertible capstone.
Commit: 64f76dea9c95fd59e383e7550de35786781d9662
https://github.com/llvm/llvm-project/commit/64f76dea9c95fd59e383e7550de35786781d9662
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/test/Bitcode/dbg-record-roundtrip.ll
Log Message:
-----------
[NFC] Fix comment in test from #83251
Commit: 0ae76a74985b3639ffb99d1dbb857068939547aa
https://github.com/llvm/llvm-project/commit/0ae76a74985b3639ffb99d1dbb857068939547aa
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/test/Bitcode/dbg-record-roundtrip.ll
Log Message:
-----------
[NFC] Fix incorrect RUN line in test from #83251
Note: This wasn't the cause of the strange behaviour mentioned in the NOTE
comment in the test.
Commit: 0b9f19a9880eb786871194af116f223d2ad30c52
https://github.com/llvm/llvm-project/commit/0b9f19a9880eb786871194af116f223d2ad30c52
Author: antoine moynault <antoine.moynault at linaro.org>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cpp
M compiler-rt/test/sanitizer_common/TestCases/corelimit.cpp
Log Message:
-----------
Revert "[compiler-rt] Avoid generating coredumps when piped to a tool" (#85390)
This reverts commit 27e5312a8bc8935f9c5620ff061c647d9fbcec85.
This commit broke some bots:
- clang-aarch64-sve-vla
https://lab.llvm.org/buildbot/#/builders/197/builds/13609
- clang-aarch64-sve-vls
https://lab.llvm.org/buildbot/#/builders/184/builds/10988
- clang-aarch64-lld-2stage
https://lab.llvm.org/buildbot/#/builders/185/builds/6312
https://github.com/llvm/llvm-project/pull/83701
Commit: f4676b6be6ee0d908c92d64936d17bd6fa3fbda8
https://github.com/llvm/llvm-project/commit/f4676b6be6ee0d908c92d64936d17bd6fa3fbda8
Author: Phoebe Wang <phoebe.wang at intel.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/lib/Driver/ToolChains/CommonArgs.cpp
M clang/test/Driver/tls-dialect.c
M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Target/X86/X86ISelLowering.h
M llvm/lib/Target/X86/X86InstrCompiler.td
M llvm/lib/Target/X86/X86InstrFragments.td
M llvm/lib/Target/X86/X86MCInstLower.cpp
A llvm/test/CodeGen/X86/tls-desc.ll
Log Message:
-----------
[X86] Add Support for X86 TLSDESC Relocations (#83136)
Commit: 092999e70b349ac521cab2648152ababeb12873f
https://github.com/llvm/llvm-project/commit/092999e70b349ac521cab2648152ababeb12873f
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/itofp.i128.ll
Log Message:
-----------
[AMDGPU] Update checks in new test after #85370
Commit: c957715d721b70591ef32dd9609d6d96de9f0554
https://github.com/llvm/llvm-project/commit/c957715d721b70591ef32dd9609d6d96de9f0554
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[X86] isGuaranteedNotToBeUndefOrPoisonForTargetNode - generalize shuffle decoding to support more target shuffles in the future.
Commit: bf3f86623c4712bff146b5d168cad5f7e658ac56
https://github.com/llvm/llvm-project/commit/bf3f86623c4712bff146b5d168cad5f7e658ac56
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/FLATInstructions.td
Log Message:
-----------
[AMDGPU] Simplify GFX11 and GFX12 FLAT saddr field definition
It is simpler to define this field correctly in the base class for the
Reals for each architecture, than to override it in subclasses for
different addressing modes.
Commit: 65284be2992fc7c6feafc44dda7c0f00df7aacfb
https://github.com/llvm/llvm-project/commit/65284be2992fc7c6feafc44dda7c0f00df7aacfb
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M flang/lib/Lower/ConvertCall.cpp
M flang/test/Lower/CUDA/cuda-kernel-calls.cuf
Log Message:
-----------
[flang][cuda] Lower dim3 grid z correctly on calls (#85346)
Commit: 0e0bfacff71859d1f9212205f8f873d47029d3fb
https://github.com/llvm/llvm-project/commit/0e0bfacff71859d1f9212205f8f873d47029d3fb
Author: yonghong-song <yhs at fb.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/lib/Basic/Targets/BPF.cpp
M llvm/lib/Target/BPF/AsmParser/BPFAsmParser.cpp
M llvm/lib/Target/BPF/BPFInstrFormats.td
M llvm/lib/Target/BPF/BPFInstrInfo.td
M llvm/lib/Target/BPF/MCTargetDesc/BPFMCTargetDesc.cpp
M llvm/test/MC/BPF/insn-unit.s
Log Message:
-----------
[BPF] Add support for may_goto insn (#85358)
Alexei added may_goto insn in [1]. The asm syntax for may_goto looks
like
may_goto <label>
The instruction represents a conditional branch but the condition is
implicit. Later in bpf kernel verifier, the 'may_goto <label>' insn will
be rewritten with an explicit condition. The encoding of 'may_goto' insn
is enforced in [2] and is also implemented in this patch.
In [3], 'may_goto' insn is encoded with raw bytes. I made the following
change
```
--- a/tools/testing/selftests/bpf/bpf_experimental.h
+++ b/tools/testing/selftests/bpf/bpf_experimental.h
@@ -328,10 +328,7 @@ l_true: \
#define cond_break \
({ __label__ l_break, l_continue; \
- asm volatile goto("1:.byte 0xe5; \
- .byte 0; \
- .long ((%l[l_break] - 1b - 8) / 8) & 0xffff; \
- .short 0" \
+ asm volatile goto("may_goto %l[l_break]" \
:::: l_break); \
goto l_continue; \
l_break: break;
```
and ran the selftest with the latest llvm with this patch. All tests are
passed.
[1]
https://lore.kernel.org/bpf/20240306031929.42666-1-alexei.starovoitov@gmail.com/
[2]
https://lore.kernel.org/bpf/20240306031929.42666-2-alexei.starovoitov@gmail.com/
[3]
https://lore.kernel.org/bpf/20240306031929.42666-4-alexei.starovoitov@gmail.com/
Commit: accf0af6ee617ccbcd1f764879232ce44fce603f
https://github.com/llvm/llvm-project/commit/accf0af6ee617ccbcd1f764879232ce44fce603f
Author: Jordan Rupprecht <rupprecht at google.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M .github/CODEOWNERS
M .github/new-prs-labeler.yml
Log Message:
-----------
[bazel] Add workflows to label and assign bazel PRs (#85352)
Bazel PRs aren't being tagged or auto assigned, so they're easily
missed, especially for those created by contributors w/o triage or
commit access.
I'm putting myself as the default auto reviewer, but only for the
purposes of making sure PRs don't get lost.
Commit: f337525ee8b44da0f1e98eecd7f51bf5805c3760
https://github.com/llvm/llvm-project/commit/f337525ee8b44da0f1e98eecd7f51bf5805c3760
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
[SLP] Compute a shuffle mask for SK_Broadcast shuffle (#85327)
This is the first of a couple of small patches to compute shuffle masks
for the couple of cases where we call getShuffleCost without one. My
goal is to add an invariant that all calls to getShuffleCost for fixed
length vectors have a mask.
---------
Co-authored-by: Alexey Bataev <a.bataev at gmx.com>
Commit: 6b53ada69a8cb2d91e7ad91d810137bc2860f450
https://github.com/llvm/llvm-project/commit/6b53ada69a8cb2d91e7ad91d810137bc2860f450
Author: XChy <xxs_chy at outlook.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/DFAJumpThreading.cpp
Log Message:
-----------
[DFAJumpThreading] Early exit if switch is not in a loop (#85360)
This patch prevents taking non-loop switch as candidate.
Commit: ec2b7522dbee1cb91111d6ade6e1768462247dcf
https://github.com/llvm/llvm-project/commit/ec2b7522dbee1cb91111d6ade6e1768462247dcf
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/cmake/modules/AddLLVM.cmake
M llvm/tools/llvm-shlib/CMakeLists.txt
Log Message:
-----------
llvm-shlib: Fix libLLVM-${MAJOR}.so symlink on MacOS (#85163)
This is a partial revert of 10c48a772742b7afe665a815b7eba2047f17dc4b
with a fix for the symlink target name on MacOS
See #84637
Commit: 86293a7c1377d1c795961f0e73799977eeb4829a
https://github.com/llvm/llvm-project/commit/86293a7c1377d1c795961f0e73799977eeb4829a
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M flang/include/flang/Optimizer/Builder/Runtime/Numeric.h
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/lib/Optimizer/Builder/Runtime/Numeric.cpp
M flang/test/Lower/Intrinsics/modulo.f90
Log Message:
-----------
[flang] Lower REAL(16) MODULO to Float128Math library call. (#85322)
I did not test it through in #85005, and my assumption was wrong:
arith::RemFOp might be lowered to an fmodf128() call that does not
exist everywhere.
Commit: 92b56011e6b61e7dc1628c0431ece432f282b3cb
https://github.com/llvm/llvm-project/commit/92b56011e6b61e7dc1628c0431ece432f282b3cb
Author: Tom Honermann <tom.honermann at intel.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/docs/LanguageExtensions.rst
M clang/docs/ReleaseNotes.rst
Log Message:
-----------
[clang] Fix documentation markup in the Clang release notes and language extension docs. (#85310)
Commit: 45e41f9686ee9fbc0598da2acb8316cdfd12e08d
https://github.com/llvm/llvm-project/commit/45e41f9686ee9fbc0598da2acb8316cdfd12e08d
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
[SLP] Compute a shuffle mask for SK_InsertSubvector (#85408)
This is the third of a series of small patches to compute shuffle masks
for the couple of cases where we call getShuffleCost without one. My
goal is to add an invariant that all calls to getShuffleCost for fixed
length vectors have a mask.
After this change, there is one SK_InsertSubvector case left. I excluded
it from this patch just because I thought it worthy of individual
attention and review.
---------
Co-authored-by: Alexey Bataev <a.bataev at gmx.com>
Commit: 0674ed753a16b407609637eb775f26e7e18cbe76
https://github.com/llvm/llvm-project/commit/0674ed753a16b407609637eb775f26e7e18cbe76
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
[SLP] Compute a shuffle mask for getGatherCost (#85330)
This is the second of a series of small patches to compute shuffle masks
for the couple of cases where we call getShuffleCost without one. My
goal is to add an invariant that all calls to getShuffleCost for fixed
length vectors have a mask.
---------
Co-authored-by: Alexey Bataev <a.bataev at gmx.com>
Commit: fc06c8efcbca6951f849b5c30e1c253929100a7c
https://github.com/llvm/llvm-project/commit/fc06c8efcbca6951f849b5c30e1c253929100a7c
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIInstrInfo.td
M llvm/lib/Target/AMDGPU/SIInstructions.td
Log Message:
-----------
AMDGPU: Partially clean up canonicalized predicates in tablegen (#85404)
This was the easy case. There are more issues with some of the other
is_canonicalized* patterns. First there appears to be a tablegen bug
where the predicate is silently ignored if used as a ComplexPattern
source, and we also probably need a version with an operand.
Commit: 12c2a53e6ae5e1ee33de5811341a10bcdc7a8c4f
https://github.com/llvm/llvm-project/commit/12c2a53e6ae5e1ee33de5811341a10bcdc7a8c4f
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SOPInstructions.td
Log Message:
-----------
[AMDGPU] Simplify some uniform patterns. NFC. (#85407)
If the outer node is uniform then the inner nodes must be too, so there
is no need to check them explicitly.
Commit: 4f69c4b158969386deaf42028d4511ef7a015a20
https://github.com/llvm/llvm-project/commit/4f69c4b158969386deaf42028d4511ef7a015a20
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/Interp.cpp
M clang/test/AST/Interp/cxx98.cpp
Log Message:
-----------
[clang][Interp] Don't diagnose reading const ints in C++98
We _can_ read them, even in C++98.
Commit: 447691333f0a50a159a9924287d48a8266c8a480
https://github.com/llvm/llvm-project/commit/447691333f0a50a159a9924287d48a8266c8a480
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/Interp.cpp
M clang/test/AST/Interp/records.cpp
Log Message:
-----------
[clang][Interp] Don't suppress diagnostics for undefined+external funcs
Calling them should still generate a diagnostic.
Commit: a4ca07f13b560b4f6fa5459eef7159e4f9ee9a6b
https://github.com/llvm/llvm-project/commit/a4ca07f13b560b4f6fa5459eef7159e4f9ee9a6b
Author: FantasqueX <fantasquex at gmail.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M libc/docs/fullbuild_mode.rst
Log Message:
-----------
[libc] Fix typo in libc fullbuild mode doc (#85204)
"In order to" is more appropriate.
Commit: 7337db72ed334f8389601f160b762e50c4e61c25
https://github.com/llvm/llvm-project/commit/7337db72ed334f8389601f160b762e50c4e61c25
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/test/Bitcode/dbg-record-roundtrip.ll
Log Message:
-----------
Add ALLOW_RETRIES to flaky test dbg-record-roundtrip.ll (#85410)
Something strange is happening in this test.
If the llvm-as output is piped into llvm-link in the final RUN lines
then this test fails on my machine (1 in 200) using WSL2. If the
verify-uselistorder RUN lines are removed then it doesn't fail on my
machine (in 10,000+). If the llvm-as and llvm-link RUN lines mentioned
at the start are removed then it doesn't fail on my machine (in
10,000+).
Writing the llvm-as output to a temporary file for llvm-link to read on
those final RUN lines, the test doesn't fail on my machine (in 10,000+).
But it _does_ fail on a bot:
https://lab.llvm.org/buildbot/#/builders/245/builds/21930. So clearly my
workaround doesn't solve the underlying problem (and I have no idea what
that is).
Commit: 0ed7a5a9a1d4297e30c7992379ff292cd1aa3828
https://github.com/llvm/llvm-project/commit/0ed7a5a9a1d4297e30c7992379ff292cd1aa3828
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/FLATInstructions.td
Log Message:
-----------
[AMDGPU] Clean up GFX10 FLAT saddr field definition
On GFX10 only, saddr = EXEC_HI (instead of NULL) is use to distinguish
ST mode from other SCRATCH addressing modes. Handle this when defining
the saddr field instead of overriding it in subclasses.
Commit: 5a8a7ee9d12d7cd3680c7bc14a4750bd44d99c56
https://github.com/llvm/llvm-project/commit/5a8a7ee9d12d7cd3680c7bc14a4750bd44d99c56
Author: Ben Langmuir <blangmuir at apple.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/include/llvm/Support/VirtualFileSystem.h
M llvm/lib/Support/VirtualFileSystem.cpp
M llvm/unittests/Support/VirtualFileSystemTest.cpp
Log Message:
-----------
[llvm][vfs] Preserve paths for fallback/fallthrough in RedirectingFileSystem (#85307)
When we lookup in the external filesystem, do not remove . and ..
components from the original path. For .. this is a correctness issue in
the presence of symlinks, while for . it is simply better practice to
preserve the original path to better match the behaviour of other
filesystems. The only modification we need is to apply the working
directory, since it could differ from the external filesystem.
rdar://123655660
Commit: ea628f087e42b24c8188f782cb81f146e06be40e
https://github.com/llvm/llvm-project/commit/ea628f087e42b24c8188f782cb81f146e06be40e
Author: Kevin P. Neal <kevin.neal at sas.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/test/CodeGen/PowerPC/ctrloop-constrained-fp.ll
Log Message:
-----------
[FPEnv][PowerPC] Correct strictfp test.
Correct llvm-reduce strictfp test to follow the rules documented in the
LangRef:
https://llvm.org/docs/LangRef.html#constrained-floating-point-intrinsics
This test needed the strictfp attribute added to function definitions.
Test changes verified with D146845.
Commit: 6503eff6d3bcaf1158dc7e2b6d1fc3521833374e
https://github.com/llvm/llvm-project/commit/6503eff6d3bcaf1158dc7e2b6d1fc3521833374e
Author: Nick Desaulniers <nickdesaulniers at users.noreply.github.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M libc/src/__support/blockstore.h
M libc/src/stdlib/atexit.cpp
M libc/test/src/__support/blockstore_test.cpp
Log Message:
-----------
[libc] remove BlockStore from cpp namespace (#85312)
The cpp namespace should only be used to mirror APIs from C++'s std::
namespace
(at least until we share more code with libc++, see
https://discourse.llvm.org/t/rfc-project-hand-in-hand-llvm-libc-libc-code-sharing/77701)
Commit: 864a88610594d8244e007e9a6e563e2c0f16d1cd
https://github.com/llvm/llvm-project/commit/864a88610594d8244e007e9a6e563e2c0f16d1cd
Author: Marc Auberer <marc.auberer at chillibits.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M libcxx/include/limits
A libcxx/test/libcxx/diagnostics/limits.nodiscard_extensions.compile.pass.cpp
A libcxx/test/libcxx/diagnostics/limits.nodiscard_extensions.verify.cpp
Log Message:
-----------
[libc++] Add [[nodiscard]] to static numeric limit functions (#83748)
Fixes #83695
Commit: 2e8417680a9ab032859c936b2ceb773bb08e08ca
https://github.com/llvm/llvm-project/commit/2e8417680a9ab032859c936b2ceb773bb08e08ca
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M libcxx/utils/ci/run-buildbot-container
Log Message:
-----------
[libc++] Fixes run-buildbot-container. (#84644)
Pulls the proper docker image instead of a non-existing image.
Commit: 186565513c57cd625ea7afd7b33897adfed7e9f8
https://github.com/llvm/llvm-project/commit/186565513c57cd625ea7afd7b33897adfed7e9f8
Author: SahilPatidar <patidarsahil2001 at gmail.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/combine-sra.ll
Log Message:
-----------
[X86][AVX] Fix handling of out-of-bounds SRA shift amounts in AVX2 vector shift nodes (#84426)
Commit: f01a32f5c58b199edf7cd1492a20578453852f0e
https://github.com/llvm/llvm-project/commit/f01a32f5c58b199edf7cd1492a20578453852f0e
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
A lldb/include/lldb/Host/Alarm.h
M lldb/source/Host/CMakeLists.txt
A lldb/source/Host/common/Alarm.cpp
A lldb/unittests/Host/AlarmTest.cpp
M lldb/unittests/Host/CMakeLists.txt
Log Message:
-----------
[lldb] Add an Alarm class for coalescing progress reports (#85329)
The commit introduces a new, generic, Alarm class. The class lets you to
schedule functions (callbacks) that will execute after a predefined
timeout. Once scheduled, you can cancel and reset a callback, given the
timeout hasn't expired yet.
The alarm class worker thread that sleeps until the next timeout
expires. When the thread wakes up, it checks for all the callbacks that
have expired and calls them in order. Because the callback is called
from the worker thread, the only guarantee is that a callback is called
no sooner than the timeout. A long running callback could potentially
block the worker threads and delay other callbacks from getting called.
I intentionally kept the implementation as simple as possible while
addressing the needs for the use case of coalescing progress events as
discussed in [1]. If we want to rely on this somewhere else, we can
reassess whether we need to address this class' limitations.
[1] https://discourse.llvm.org/t/rfc-improve-lldb-progress-reporting/75717/
Commit: f4335f075b3496bce6b49f9267e6160d1824b1bb
https://github.com/llvm/llvm-project/commit/f4335f075b3496bce6b49f9267e6160d1824b1bb
Author: Fangrui Song <i at maskray.me>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
A llvm/test/CodeGen/X86/asm-dialect-module.ll
Log Message:
-----------
[X86,AsmPrinter] Set assembler dialect for module inline asm
`clang -c -masm=intel` compiling a source file with file scope basic asm
incorrectly uses the AT&T dialect.
```
% cat a.c
asm("mov rax, rax");
% clang a.c -c -masm=intel
<inline asm>:1:1: error: unknown use of instruction mnemonic without a size suffix
mov rax, rax
^
```
Fix this by setting the assembler dialect from the MCAsmInfo object.
Note: `clang -c -flto -masm=intel a.c` still fails because of
https://reviews.llvm.org/D82862 for #34830: it tried to support AT&T
syntax for clang-cl, but the forced AT&T syntax is not compatible with
intended Intel syntax.
Pull Request: https://github.com/llvm/llvm-project/pull/85367
Commit: 0b0e52836d2563afa4c968b93a633c2b17fa5820
https://github.com/llvm/llvm-project/commit/0b0e52836d2563afa4c968b93a633c2b17fa5820
Author: Stanislav Mekhanoshin <rampitec at users.noreply.github.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIDefines.h
M llvm/lib/Target/AMDGPU/Utils/AMDGPUAsmUtils.cpp
M llvm/test/MC/AMDGPU/gfx11_asm_sop1.s
M llvm/test/MC/AMDGPU/gfx12_asm_sop1.s
M llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_sop1.txt
M llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_sop1.txt
Log Message:
-----------
[AMDGPU] Fix GFX11 sendmsg codes (#85299)
The code MSG_RTN_GET_TBA_TO_PC was missing, and the next code is off by
1 as a result.
Commit: 9ecc72f39918d157a46ff1ea816a8756a9bbf75b
https://github.com/llvm/llvm-project/commit/9ecc72f39918d157a46ff1ea816a8756a9bbf75b
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/FLATInstructions.td
Log Message:
-----------
[AMDGPU] Simplify definition of FLAT segment bits. NFC.
Commit: 58f7251820b14c93168726a24816d8a094599be5
https://github.com/llvm/llvm-project/commit/58f7251820b14c93168726a24816d8a094599be5
Author: Thurston Dang <thurston at google.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M compiler-rt/lib/msan/msan.cpp
M compiler-rt/lib/msan/msan.h
M compiler-rt/lib/msan/msan_linux.cpp
Log Message:
-----------
[msan] Re-exec with no ASLR if memory layout is incompatible on Linux (#85142)
This ports the change from TSan
(https://github.com/llvm/llvm-project/commit/0784b1eefa36d4acbb0dacd2d18796e26313b6c5).
Testing notes: run 'sudo sysctl vm.mmap_rnd_bits=32; ninja check-msan'
before and after this patch.
N.B. aggressive ASLR may also cause the app to overlap with the
allocator region; for MSan, this was fixed in
https://github.com/llvm/llvm-project/commit/af2bf86a372cacf5f536bae06e2f2d3886eefb7b
Commit: e115c00565be88677e8b7fe021a3e242249c67b8
https://github.com/llvm/llvm-project/commit/e115c00565be88677e8b7fe021a3e242249c67b8
Author: Fangrui Song <i at maskray.me>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M lld/ELF/Config.h
M lld/ELF/Driver.cpp
M lld/ELF/InputFiles.cpp
M lld/ELF/Options.td
M lld/docs/ld.lld.1
M lld/test/ELF/incompatible-section-types2.s
M lld/test/ELF/linkerscript/custom-section-type.s
A lld/test/ELF/unknown-section.test
Log Message:
-----------
[ELF] Reject certain unknown section types (#85173)
Unknown section sections may require special linking rules, and
rejecting such sections for older linkers may be desired. For example,
if we introduce a new section type to replace a control structure (e.g.
relocations), it would be nice for older linkers to reject the new
section type. GNU ld allows certain unknown section types:
* [SHT_LOUSER,SHT_HIUSER] and non-SHF_ALLOC
* [SHT_LOOS,SHT_HIOS] and non-SHF_OS_NONCONFORMING
but reports errors and stops linking for others (unless
--no-warn-mismatch is specified). Port its behavior. For convenience, we
additionally allow all [SHT_LOPROC,SHT_HIPROC] types so that we don't
have to hard code all known types for each processor.
Close https://github.com/llvm/llvm-project/issues/84812
Commit: 2d80505401835ed4c32d0d58f015efddf929c39d
https://github.com/llvm/llvm-project/commit/2d80505401835ed4c32d0d58f015efddf929c39d
Author: Sean Fertile <sd.fertile at gmail.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/include/llvm/MC/MCSymbolXCOFF.h
M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
M llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
M llvm/lib/Target/PowerPC/PPCSubtarget.cpp
M llvm/lib/Target/PowerPC/PPCSubtarget.h
A llvm/test/CodeGen/PowerPC/aix-codemodel-attr.ll
Log Message:
-----------
[AIX] Support per global code model. (#79202)
Exploit the per global code model attribute on AIX. On AIX we need to
update both the code sequence used to access the global (either 1 or 2
instructions for small and large code model respectively) and the
storage mapping class that we emit the toc entry.
---------
Co-authored-by: Amy Kwan <akwan0907 at gmail.com>
Commit: 39a96bc7b276d0be856c7b51e92f0d77cf775385
https://github.com/llvm/llvm-project/commit/39a96bc7b276d0be856c7b51e92f0d77cf775385
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
A llvm/test/Transforms/SLPVectorizer/X86/minbitwidth-icmp-to-trunc.ll
Log Message:
-----------
[SLP][NFC]Add a test for minbitwidth analysis of icmp, being transformed
to trunc.
Commit: fd09d510d066583c088e4dbcf23ac0b500c5cc7a
https://github.com/llvm/llvm-project/commit/fd09d510d066583c088e4dbcf23ac0b500c5cc7a
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M lldb/include/lldb/Host/Alarm.h
Log Message:
-----------
[lldb] Add missing headers lldb/Host/Alarm.h
Commit: 9a42bdc0ae53f321966b1418430d4aaaf83877b5
https://github.com/llvm/llvm-project/commit/9a42bdc0ae53f321966b1418430d4aaaf83877b5
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
[SLP][NFC]Fix signedness to avoid comparison warning.
Commit: 1e8dad3bef64ada8b293e6c538b1f41ad9727cc0
https://github.com/llvm/llvm-project/commit/1e8dad3bef64ada8b293e6c538b1f41ad9727cc0
Author: Billy Zhu <billyzhu at modular.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M mlir/include/mlir-c/Dialect/LLVM.h
M mlir/include/mlir/Dialect/LLVMIR/CMakeLists.txt
M mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td
M mlir/include/mlir/Dialect/LLVMIR/LLVMAttrs.h
M mlir/include/mlir/Dialect/LLVMIR/LLVMInterfaces.td
M mlir/lib/CAPI/Dialect/LLVM.cpp
M mlir/lib/Dialect/LLVMIR/IR/LLVMAttrs.cpp
M mlir/lib/Target/LLVMIR/DebugImporter.cpp
M mlir/lib/Target/LLVMIR/DebugImporter.h
M mlir/lib/Target/LLVMIR/DebugTranslation.cpp
M mlir/lib/Target/LLVMIR/DebugTranslation.h
M mlir/test/CAPI/llvm.c
M mlir/test/Target/LLVMIR/Import/debug-info.ll
M mlir/test/Target/LLVMIR/Import/import-failure.ll
M mlir/test/Target/LLVMIR/llvmir-debug.mlir
Log Message:
-----------
[MLIR][LLVM] Support Recursive DITypes (#80251)
Following the discussion from [this
thread](https://discourse.llvm.org/t/handling-cyclic-dependencies-in-debug-info/67526/11),
this PR adds support for recursive DITypes.
This PR adds:
1. DIRecursiveTypeAttrInterface: An interface that DITypeAttrs can
implement to indicate that it supports recursion. See full description
in code.
2. Importer & exporter support (The only DITypeAttr that implements the
interface is DICompositeTypeAttr, so the exporter is only implemented
for composites too. There will be two methods that each llvm DI type
that supports mutation needs to implement since there's nothing
general).
---------
Co-authored-by: Tobias Gysi <tobias.gysi at nextsilicon.com>
Commit: ba2e3bd39678bdadabe8b606007d335e1cb4d213
https://github.com/llvm/llvm-project/commit/ba2e3bd39678bdadabe8b606007d335e1cb4d213
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/utils/gn/secondary/lldb/source/Host/BUILD.gn
Log Message:
-----------
[gn build] Port f01a32f5c58b
Commit: bb9ca8afc0bd5a1abb8ef3d0f5c8e4928c2f7f60
https://github.com/llvm/llvm-project/commit/bb9ca8afc0bd5a1abb8ef3d0f5c8e4928c2f7f60
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.cpp
M llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h
Log Message:
-----------
[Hexagon][TTI] Remove two overrides which simply proxy to base class [NFC]
These serve no point, and slightly complicate a refectoring I'm working
on for this API.
Commit: 2210c85a664463cdc11e3b7990c9663c739e6060
https://github.com/llvm/llvm-project/commit/2210c85a664463cdc11e3b7990c9663c739e6060
Author: Ulrich Weigand <ulrich.weigand at de.ibm.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M openmp/libomptarget/plugins-nextgen/common/include/GlobalHandler.h
M openmp/libomptarget/plugins-nextgen/common/include/Utils/ELF.h
M openmp/libomptarget/plugins-nextgen/common/src/GlobalHandler.cpp
M openmp/libomptarget/plugins-nextgen/common/src/Utils/ELF.cpp
M openmp/libomptarget/plugins-nextgen/cuda/src/rtl.cpp
Log Message:
-----------
Reapply [libomptarget] Support BE ELF files in plugins-nextgen (#85246)
Code in plugins-nextgen reading ELF files is currently hard-coded to
assume a 64-bit little-endian ELF format. Unfortunately, this assumption
is even embedded in the interface between GlobalHandler and Utils/ELF
routines, which use ELF64LE types.
To fix this, I've refactored the interface to use generic types, in
particular by using (a unique_ptr to) ObjectFile instead of
ELF64LEObjectFile, and ELFSymbolRef instead of ELF64LE::Sym.
This allows properly templating over multiple ELF format variants inside
Utils/ELF; specifically, this patch adds support for 64-bit big-endian
ELF files in addition to 64-bit little-endian files.
Commit: b43965adacfafc4dc6b5ec17b4bea839372b7626
https://github.com/llvm/llvm-project/commit/b43965adacfafc4dc6b5ec17b4bea839372b7626
Author: Michael Flanders <mkf727 at cs.washington.edu>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/riscv/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/math/index.rst
M libc/spec/stdc.td
M libc/src/__support/UInt.h
M libc/src/__support/integer_to_string.h
M libc/src/__support/str_to_float.h
M libc/src/__support/str_to_integer.h
M libc/src/math/CMakeLists.txt
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/nanf128.cpp
A libc/src/math/nanf128.h
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/nanf128_test.cpp
Log Message:
-----------
[libc][math][c23] adds `nanf128` (#85201)
Continuing #84689, this one required more changes than the others, so I
am making it a separate PR.
Extends some stuff in `str_to_float.h`, `str_to_integer.h` to work on
types wider than `unsigned long long` and `uint64_t`.
cc @lntue for review.
Commit: 0360f3218a13666123849f6699216bdbebe64833
https://github.com/llvm/llvm-project/commit/0360f3218a13666123849f6699216bdbebe64833
Author: Charlie Barto <chbarto at microsoft.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M compiler-rt/test/asan/TestCases/Windows/bitfield_uaf.cpp
M compiler-rt/test/asan/TestCases/Windows/calloc_left_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/calloc_right_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/calloc_uaf.cpp
M compiler-rt/test/asan/TestCases/Windows/dll_heap_allocation.cpp
M compiler-rt/test/asan/TestCases/Windows/dll_host.cpp
M compiler-rt/test/asan/TestCases/Windows/dll_malloc_left_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/dll_malloc_uaf.cpp
M compiler-rt/test/asan/TestCases/Windows/double_free.cpp
R compiler-rt/test/asan/TestCases/Windows/interface_symbols_windows.cpp
M compiler-rt/test/asan/TestCases/Windows/malloc_left_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/malloc_right_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/malloc_uaf.cpp
M compiler-rt/test/asan/TestCases/Windows/realloc_left_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/realloc_right_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/realloc_uaf.cpp
M compiler-rt/test/asan/TestCases/Windows/symbols_path.cpp
M compiler-rt/test/asan/TestCases/Windows/use_after_realloc.cpp
M compiler-rt/test/asan/TestCases/calloc-overflow.cpp
M compiler-rt/test/asan/TestCases/deep_stack_uaf.cpp
M compiler-rt/test/asan/TestCases/double-free.cpp
M compiler-rt/test/asan/TestCases/malloc-size-too-big.cpp
M compiler-rt/test/asan/TestCases/strncpy-overflow.cpp
M compiler-rt/test/asan/TestCases/use-after-free-right.cpp
M compiler-rt/test/asan/TestCases/use-after-free.cpp
Log Message:
-----------
[asan][windows] Make tests more flexable (#85274)
Contains test changes from
https://github.com/llvm/llvm-project/pull/81677 that are simple test
changes. For the most part just makes the tests allow more flexibility
in the callstacks produced by asan.
Note: this PR has the exact changes from
https://github.com/llvm/llvm-project/pull/81677 in addition to a revert
commit to remove the ones that require other things from that PR. This
will be squashed, ofc. I just left things unsquashed for reviewing
pleasure :).
This is a non-functional-change
Commit: b8db3e7c7dddaa14c314a05b92c9fa3df38734e4
https://github.com/llvm/llvm-project/commit/b8db3e7c7dddaa14c314a05b92c9fa3df38734e4
Author: Fangrui Song <i at maskray.me>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/test/Preprocessor/riscv-target-features.c
Log Message:
-----------
[RISCV,test] Change two -munaligned-access to GCC-supported -mno-strict-align
Commit: cd071253c70b3b37a0b9d113709ca9d49a83007e
https://github.com/llvm/llvm-project/commit/cd071253c70b3b37a0b9d113709ca9d49a83007e
Author: Fangrui Song <i at maskray.me>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/ToolChains/Arch/AArch64.cpp
M clang/lib/Driver/ToolChains/Arch/ARM.cpp
M clang/lib/Driver/ToolChains/Arch/LoongArch.cpp
M clang/lib/Driver/ToolChains/Arch/RISCV.cpp
M clang/test/Driver/apple-kext-mkernel.c
M clang/test/Driver/loongarch-munaligned-access.c
M clang/test/Driver/munaligned-access-unused.c
M clang/test/Driver/riscv-features.c
Log Message:
-----------
[Driver] Don't alias -mstrict-align to -mno-unaligned-access
GCC ports only supports one of the options, with -mstrict-align
preferred by newer ports. They reject adding -m[no-]unaligned-access to
newer ports that use -m[no-]strict-align.
(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111555).
We should not support aliases, either. Since the behavior has been
long-time for ARM (a146a48349c965932dcf304ffb8155b25307f245), support
both forms for ARM for now but remove -m[no-]unaligned-access for
RISC-V/LoongArch (see also
https://github.com/riscv-non-isa/riscv-c-api-doc/pull/62).
While here, add TargetSpecific to ensure errors on unsupported targets
(https://reviews.llvm.org/D151590) and remove unneeded CC1 options.
Pull Request: https://github.com/llvm/llvm-project/pull/85350
Commit: b431546d41c4af1458d3c0706005665c9ab12e76
https://github.com/llvm/llvm-project/commit/b431546d41c4af1458d3c0706005665c9ab12e76
Author: Amir Ayupov <aaupov at fb.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M bolt/lib/Profile/StaleProfileMatching.cpp
M bolt/test/X86/reader-stale-yaml.test
Log Message:
-----------
[BOLT] Check BF state in stale matching (#85339)
Only apply stale matching if the binary function is in CFG state, i.e.
has basic blocks.
Test Plan:
Updated bolt/test/X86/reader-stale-yaml.test
Commit: d6722bcbd60af7d56a201cb6ff47097d98b03be9
https://github.com/llvm/llvm-project/commit/d6722bcbd60af7d56a201cb6ff47097d98b03be9
Author: Petr Hosek <phosek at google.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M libc/config/baremetal/api.td
M libc/config/gpu/api.td
M libc/config/linux/api.td
M libc/include/llvm-libc-macros/stdio-macros.h
Log Message:
-----------
[libc] Move EOF macro to stdio-macros.h (#85159)
libc++ char_traits.h assumes EOF is always available
See #85158 for more details.
Commit: 500e05f5a29e8a8008f849788b385cfb0c72e3ef
https://github.com/llvm/llvm-project/commit/500e05f5a29e8a8008f849788b385cfb0c72e3ef
Author: Petr Hosek <phosek at google.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M libc/config/baremetal/api.td
Log Message:
-----------
[libc] Match stdlib.h baremetal entrypoints with types (#85030)
To match the entrypoints and types for baremetal, we need to include
__qsortrcompare_t and omit __atexithandler_t.
Commit: d717e7f7be279c638faa696f16e1d860ef3cf9ed
https://github.com/llvm/llvm-project/commit/d717e7f7be279c638faa696f16e1d860ef3cf9ed
Author: Petr Hosek <phosek at google.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M libc/config/baremetal/api.td
Log Message:
-----------
[libc] Include double_t and float_t in math.h on baremetal (#85028)
This matches other targets.
Commit: c9062e8f786864f86d330babce78a1926cc5b072
https://github.com/llvm/llvm-project/commit/c9062e8f786864f86d330babce78a1926cc5b072
Author: Ulrich Weigand <ulrich.weigand at de.ibm.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
M llvm/lib/Frontend/OpenMP/OMPContext.cpp
M openmp/libomptarget/CMakeLists.txt
M openmp/libomptarget/plugins-nextgen/CMakeLists.txt
M openmp/libomptarget/plugins-nextgen/aarch64/CMakeLists.txt
M openmp/libomptarget/plugins-nextgen/ppc64/CMakeLists.txt
M openmp/libomptarget/plugins-nextgen/ppc64le/CMakeLists.txt
M openmp/libomptarget/plugins-nextgen/s390x/CMakeLists.txt
M openmp/libomptarget/plugins-nextgen/x86_64/CMakeLists.txt
M openmp/libomptarget/src/CMakeLists.txt
M openmp/libomptarget/test/api/omp_dynamic_shared_memory.c
M openmp/libomptarget/test/jit/empty_kernel_lvl1.c
M openmp/libomptarget/test/jit/empty_kernel_lvl2.c
M openmp/libomptarget/test/jit/type_punning.c
M openmp/libomptarget/test/mapping/auto_zero_copy.cpp
M openmp/libomptarget/test/mapping/auto_zero_copy_globals.cpp
M openmp/libomptarget/test/offloading/barrier_fence.c
M openmp/libomptarget/test/offloading/bug49334.cpp
M openmp/libomptarget/test/offloading/default_thread_limit.c
M openmp/libomptarget/test/offloading/ompx_bare.c
M openmp/libomptarget/test/offloading/ompx_coords.c
M openmp/libomptarget/test/offloading/ompx_saxpy_mixed.c
M openmp/libomptarget/test/offloading/parallel_target_teams_reduction.cpp
M openmp/libomptarget/test/offloading/small_trip_count.c
M openmp/libomptarget/test/offloading/small_trip_count_thread_limit.cpp
M openmp/libomptarget/test/offloading/spmdization.c
M openmp/libomptarget/test/offloading/target_critical_region.cpp
M openmp/libomptarget/test/offloading/thread_limit.c
M openmp/libomptarget/test/ompt/target_memcpy.c
M openmp/libomptarget/test/ompt/target_memcpy_emi.c
M openmp/libomptarget/test/ompt/veccopy.c
M openmp/libomptarget/test/ompt/veccopy_data.c
M openmp/libomptarget/test/ompt/veccopy_disallow_both.c
M openmp/libomptarget/test/ompt/veccopy_emi.c
M openmp/libomptarget/test/ompt/veccopy_emi_map.c
M openmp/libomptarget/test/ompt/veccopy_map.c
Log Message:
-----------
Reapply [libomptarget] Build plugins-nextgen for SystemZ (#83978)
The plugin was not getting built as the build_generic_elf64 macro
assumes the LLVM triple processor name matches the CMake processor name,
which is unfortunately not the case for SystemZ.
Fix this by providing two separate arguments instead.
Actually building the plugin exposed a number of other issues causing
various test failures. Specifically, I've had to add the SystemZ target
to
- CompilerInvocation::ParseLangArgs
- linkDevice in ClangLinuxWrapper.cpp
- OMPContext::OMPContext (to set the device_kind_cpu trait)
- LIBOMPTARGET_ALL_TARGETS in libomptarget/CMakeLists.txt
- a check_plugin_target call in libomptarget/src/CMakeLists.txt
Finally, I've had to set a number of test cases to UNSUPPORTED on
s390x-ibm-linux-gnu; all these tests were already marked as UNSUPPORTED
for x86_64-pc-linux-gnu and aarch64-unknown-linux-gnu and are failing on
s390x for what seem to be the same reason.
In addition, this also requires support for BE ELF files in
plugins-nextgen: https://github.com/llvm/llvm-project/pull/85246
Commit: 1b0072734ffb1297070ea37ad49c374f32b1d94d
https://github.com/llvm/llvm-project/commit/1b0072734ffb1297070ea37ad49c374f32b1d94d
Author: Justin Bogner <mail at justinbogner.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M .github/new-prs-labeler.yml
Log Message:
-----------
[new-prs-labeler] Add "DXContainer" patterns to the backend:DirectX label (#85446)
This should make sure PRs like #84409 get labelled.
Commit: 89b7b3b9952210fbd9bd0db95385bfed69ffc7a3
https://github.com/llvm/llvm-project/commit/89b7b3b9952210fbd9bd0db95385bfed69ffc7a3
Author: Alex MacLean <amaclean at nvidia.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Target/NVPTX/NVPTXFrameLowering.cpp
M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
M llvm/lib/Target/NVPTX/NVPTXISelLowering.h
M llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
M llvm/test/CodeGen/Generic/ForceStackAlign.ll
M llvm/test/CodeGen/NVPTX/dynamic_stackalloc.ll
Log Message:
-----------
[NVPTX] support dynamic allocas with PTX alloca instruction (#84585)
Add support for dynamically sized alloca instructions with the PTX
alloca instruction introduced in PTX 7.3
([9.7.15.3. Stack Manipulation Instructions: alloca]
(https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#stack-manipulation-instructions-alloca))
Commit: 0e21672d996282973d9a7aca675a7f9510ba4bb8
https://github.com/llvm/llvm-project/commit/0e21672d996282973d9a7aca675a7f9510ba4bb8
Author: Felipe Cabarcas <110852406+fel-cab at users.noreply.github.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M openmp/libomptarget/src/OpenMP/Mapping.cpp
Log Message:
-----------
Fixing LIBOMPTARGET_INFO message, for Copying data from device to host (#85444)
When running OpenMP offloading application with LIBOMPTARGET_INFO=-1,
the addresses of the Copying data from **device** to **host**, the
address are swap.
As an example, Currently the address would be
```
omptarget device 0 info: Mapping exists with HstPtrBegin=0x00007ffddaf0fb90, TgtPtrBegin=0x00007fb385404000, Size=8000, DynRefCount=0 (decremented, delayed deletion), HoldRefCount=0
omptarget device 0 info: Copying data from device to host, TgtPtr=0x00007ffddaf0fb90, HstPtr=0x00007fb385404000, Size=8000, Name=d
```
And it should be
```
omptarget device 0 info: Copying data from device to host, TgtPtr=0x00007fb385404000, HstPtr=0x00007ffddaf0fb90, Size=8000, Name=d
```
---------
Co-authored-by: fel-cab <fel-cab at github.com>
Commit: b7dd6012ebc06b6383cf1449058bf916da0eb4bc
https://github.com/llvm/llvm-project/commit/b7dd6012ebc06b6383cf1449058bf916da0eb4bc
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M lldb/source/Commands/CommandObjectTarget.cpp
M lldb/source/Plugins/SymbolLocator/DebugSymbols/SymbolLocatorDebugSymbols.cpp
Log Message:
-----------
[lldb] Show module name in progress update for downloading symbols (#85342)
Currently, we always show the argument passed to dsymForUUID in the
corresponding progress update. Most of the time this is a UUID, but it
can also be an absolute path. The former is pretty uninformative and the
latter needlessly noisy.
This changes the progress update to print the UUID and the module name,
if both are available. Otherwise, we print the UUID or the module name
depending on which one is available.
We now also unconditionally pass the module file spec and architecture
to DownloadObjectAndSymbolFile, while previously this was conditional on
the file existing on-disk. This should be harmless:
- We already check that the file exists in DownloadObjectAndSymbolFile.
- It doesn't make sense to check the filesystem for the architecutre.
rdar://124643548
Commit: f75d164eeaf407b21ec6b2cff4bcc3ad2003af61
https://github.com/llvm/llvm-project/commit/f75d164eeaf407b21ec6b2cff4bcc3ad2003af61
Author: srcarroll <50210727+srcarroll at users.noreply.github.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M mlir/lib/Dialect/Math/Transforms/ExpandPatterns.cpp
M mlir/test/Dialect/Math/expand-math.mlir
Log Message:
-----------
Revert "[mlir][math] Implement alternative decomposition for tanh (#8… (#85429)
…5025)"
This reverts commit 58ef9bec071383744fb703ff08df9806f25e4095.
There is a bool to float casting issue that needs to be sorted out to
make sure this is target independent
Commit: e74bcecd36a59a9271c7d4133e73448a3def74c1
https://github.com/llvm/llvm-project/commit/e74bcecd36a59a9271c7d4133e73448a3def74c1
Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M mlir/lib/Dialect/Math/Transforms/PolynomialApproximation.cpp
M mlir/test/Dialect/Math/polynomial-approximation.mlir
Log Message:
-----------
[mlir][math] Propagate scalability in polynomial approximation (#84949)
This simply updates the rewrites to propagate the scalable flags (which
as they do not alter the vector shape, is pretty simple).
The added tests are simply scalable versions of the existing vector
tests.
Commit: f0863a004e794b7cf90dd92869064e964400b52c
https://github.com/llvm/llvm-project/commit/f0863a004e794b7cf90dd92869064e964400b52c
Author: Billy Zhu <billyzhu at modular.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[MLIR][LLVM] Fix bazel build (#85462)
Fix bazel build after #80251.
Commit: 8ff96eb100d4811120f3050e5bc75848ea83a938
https://github.com/llvm/llvm-project/commit/8ff96eb100d4811120f3050e5bc75848ea83a938
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M libc/config/linux/x86_64/entrypoints.txt
M libc/spec/stdc.td
M libc/src/__support/FPUtil/ManipulationFunctions.h
M libc/src/math/CMakeLists.txt
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/nextdown.cpp
A libc/src/math/generic/nextdownf.cpp
A libc/src/math/generic/nextdownf128.cpp
A libc/src/math/generic/nextup.cpp
A libc/src/math/generic/nextupf.cpp
A libc/src/math/generic/nextupf128.cpp
A libc/src/math/nextdown.h
A libc/src/math/nextdownf.h
A libc/src/math/nextdownf128.h
A libc/src/math/nextup.h
A libc/src/math/nextupf.h
A libc/src/math/nextupf128.h
M libc/test/UnitTest/FPMatcher.h
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/NextDownTest.h
A libc/test/src/math/smoke/NextUpTest.h
A libc/test/src/math/smoke/nextdown_test.cpp
A libc/test/src/math/smoke/nextdownf128_test.cpp
A libc/test/src/math/smoke/nextdownf_test.cpp
A libc/test/src/math/smoke/nextup_test.cpp
A libc/test/src/math/smoke/nextupf128_test.cpp
A libc/test/src/math/smoke/nextupf_test.cpp
Log Message:
-----------
[libc][math][c23] Add nextup{,f,f128} and nextdown{,f,f128} functions (#85431)
See https://github.com/llvm/llvm-project/issues/85283.
I had a test for `nextdownl` that was failing and I thought I should add
`nextupl` and `nextdownl` later and first make a PR for the other
functions.
cc @lntue
Commit: a4610c7182d35093e9e0fde5be91659a8b9da5b8
https://github.com/llvm/llvm-project/commit/a4610c7182d35093e9e0fde5be91659a8b9da5b8
Author: Alexander Yermolovich <43973793+ayermolo at users.noreply.github.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M bolt/include/bolt/Core/DIEBuilder.h
M bolt/include/bolt/Core/DebugNames.h
M bolt/lib/Core/DIEBuilder.cpp
M bolt/lib/Core/DebugNames.cpp
M bolt/test/X86/dwarf5-debug-names-generate-debug-names.test
M bolt/test/X86/dwarf5-debug-names.test
M bolt/test/X86/dwarf5-df-debug-names-generate-debug-names.test
M bolt/test/X86/dwarf5-df-debug-names.test
M bolt/test/X86/dwarf5-df-main-debug-names-ftu-ltu-mix.test
M bolt/test/X86/dwarf5-df-one-cu-debug-names.test
M bolt/test/X86/dwarf5-df-types-debug-names.test
M bolt/test/X86/dwarf5-df-types-one-cu-debug-names.test
M bolt/test/X86/dwarf5-one-cu-debug-names.test
M bolt/test/X86/dwarf5-types-debug-names.test
M bolt/test/X86/dwarf5-types-one-cu-debug-names.test
Log Message:
-----------
[BOLT][DWARF] Add support for DW_IDX_parent (#85285)
This adds support for DW_IDX_parent. If DIE has a parent then
DW_IDX_parent in Entry will point to Entry for that parent DIE.
Otherwise it will have DW_FORM_flag_present in abbrev. Which takes zero
space in Entry.
This came from
https://discourse.llvm.org/t/rfc-improve-dwarf-5-debug-names-type-lookup-parsing-speed/74151
Commit: ca4c4a6758d184f209cb5d88ef42ecc011b11642
https://github.com/llvm/llvm-project/commit/ca4c4a6758d184f209cb5d88ef42ecc011b11642
Author: Sam McCall <sam.mccall at gmail.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Basic/AttrDocs.td
M clang/include/clang/Basic/Features.def
M clang/include/clang/Parse/Parser.h
M clang/include/clang/Sema/Sema.h
M clang/lib/AST/Type.cpp
M clang/lib/CodeGen/CGCall.cpp
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/lib/Parse/ParseDeclCXX.cpp
M clang/lib/Sema/SemaAttr.cpp
M clang/lib/Sema/SemaChecking.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/lib/Sema/SemaInit.cpp
M clang/lib/Sema/SemaOverload.cpp
M clang/lib/Sema/SemaTemplate.cpp
M clang/lib/Sema/SemaType.cpp
M clang/test/Sema/nullability.c
M clang/test/SemaCXX/nullability.cpp
Log Message:
-----------
Revert "[clang][nullability] allow _Nonnull etc on nullable class types (#82705)"
This reverts commit 92a09c0165b87032e1bd05020a78ed845cf35661.
This is triggering a bunch of new -Wnullability-completeness warnings
in code with existing raw pointer nullability annotations.
The intent was the new nullability locations wouldn't affect those
warnings, so this is a bug at least for now.
Commit: 5e21fa23bb242d6e0575c1ca630e4d293413aed6
https://github.com/llvm/llvm-project/commit/5e21fa23bb242d6e0575c1ca630e4d293413aed6
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M flang/runtime/edit-output.cpp
Log Message:
-----------
[flang][runtime] Fix off-by-one error in EX0.0 output editing (#85428)
The maximum number of significant hexadecimal digits in EX0.0 REAL
output editing is 29, not 28. Fix by computing it at build time from the
precision of REAL(16).
Commit: 60fa2b0670b874b702ddb9f81d098af692ea6875
https://github.com/llvm/llvm-project/commit/60fa2b0670b874b702ddb9f81d098af692ea6875
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M flang/include/flang/Parser/dump-parse-tree.h
M flang/include/flang/Parser/parse-tree.h
M flang/lib/Lower/Bridge.cpp
M flang/lib/Parser/executable-parsers.cpp
M flang/lib/Parser/misc-parsers.h
M flang/lib/Parser/unparse.cpp
M flang/test/Lower/CUDA/cuda-kernel-loop-directive.cuf
M flang/test/Parser/cuf-sanity-tree.CUF
M flang/test/Semantics/cuf09.cuf
Log Message:
-----------
[flang] Parse !$CUF KERNEL DO <<< (*) (#85338)
Accept and represent asterisks within the parenthesized grid and block
specification lists.
Commit: 0481f049c37029d829dbc0c0cc5d1ee71c6d1c9a
https://github.com/llvm/llvm-project/commit/0481f049c37029d829dbc0c0cc5d1ee71c6d1c9a
Author: Ahmed Bougacha <ahmed at bougacha.org>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/docs/LanguageExtensions.rst
A clang/docs/PointerAuthentication.rst
M clang/include/clang/Basic/Builtins.td
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Basic/Features.def
M clang/include/clang/Basic/LangOptions.def
M clang/include/clang/Basic/TargetInfo.h
M clang/include/clang/Driver/Options.td
M clang/include/clang/Sema/Sema.h
M clang/lib/Basic/TargetInfo.cpp
M clang/lib/Basic/Targets/AArch64.cpp
M clang/lib/Basic/Targets/AArch64.h
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/lib/Headers/CMakeLists.txt
M clang/lib/Headers/module.modulemap
A clang/lib/Headers/ptrauth.h
M clang/lib/Sema/SemaChecking.cpp
A clang/test/CodeGen/ptrauth-intrinsics.c
A clang/test/Preprocessor/ptrauth_feature.c
A clang/test/Sema/ptrauth-intrinsics-macro.c
A clang/test/Sema/ptrauth.c
M llvm/docs/PointerAuth.md
Log Message:
-----------
[AArch64][PAC] Support ptrauth builtins and -fptrauth-intrinsics. (#65996)
This defines the basic set of pointer authentication clang builtins
(provided in a new header, ptrauth.h), with diagnostics and IRGen
support. The availability of the builtins is gated on a new flag,
`-fptrauth-intrinsics`.
Note that this only includes the basic intrinsics, and notably excludes
`ptrauth_sign_constant`, `ptrauth_type_discriminator`, and
`ptrauth_string_discriminator`, which need extra logic to be fully
supported.
This also introduces clang/docs/PointerAuthentication.rst, which
describes the ptrauth model in general, in addition to these builtins.
Co-Authored-By: Akira Hatanaka <ahatanaka at apple.com>
Co-Authored-By: John McCall <rjmccall at apple.com>
Commit: 71e0261fb0c6c382f68eedddf6bbcf637e6709f2
https://github.com/llvm/llvm-project/commit/71e0261fb0c6c382f68eedddf6bbcf637e6709f2
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
A flang/include/flang/Common/optional.h
M flang/include/flang/Runtime/type-code.h
M flang/runtime/connection.h
M flang/runtime/descriptor-io.cpp
M flang/runtime/descriptor-io.h
M flang/runtime/edit-input.cpp
M flang/runtime/environment.cpp
M flang/runtime/environment.h
M flang/runtime/extrema.cpp
M flang/runtime/file.cpp
M flang/runtime/file.h
M flang/runtime/format-implementation.h
M flang/runtime/format.h
M flang/runtime/io-api.cpp
M flang/runtime/io-stmt.cpp
M flang/runtime/io-stmt.h
M flang/runtime/matmul-transpose.cpp
M flang/runtime/matmul.cpp
M flang/runtime/misc-intrinsic.cpp
M flang/runtime/namelist.cpp
M flang/runtime/random-templates.h
M flang/runtime/random.cpp
M flang/runtime/tools.h
M flang/runtime/type-code.cpp
M flang/runtime/type-info.cpp
M flang/runtime/type-info.h
M flang/runtime/unit-map.cpp
M flang/runtime/unit.cpp
M flang/runtime/unit.h
M flang/runtime/utf.cpp
M flang/runtime/utf.h
Log Message:
-----------
[flang][runtime] Added Fortran::common::optional for use on device.
This is a simplified implementation of std::optional that can be used
in the offload builds for the device code. The methods are properly
marked with RT_API_ATTRS so that the device compilation succedes.
Reviewers: klausler, jeanPerier
Reviewed By: jeanPerier
Pull Request: https://github.com/llvm/llvm-project/pull/85177
Commit: d4a8e979e4bd6c282e2b3645353f84a189bb4a9a
https://github.com/llvm/llvm-project/commit/d4a8e979e4bd6c282e2b3645353f84a189bb4a9a
Author: Sterling Augustine <saugustine at google.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
R llvm/test/CodeGen/NVPTX/common-linkage.ll
M llvm/test/CodeGen/NVPTX/weak-global.ll
Log Message:
-----------
Revert "[NVPTX] Use .common linkage for common globals (#84416)"
This reverts commit 8f0012d3dc2ae6d40e9f812cae111ca7a6eb2a2d.
The common-linkage.ll test fails with ptxas enabled.
Commit: 6e1959d0e79afdc3a8ff803638616813ccee558e
https://github.com/llvm/llvm-project/commit/6e1959d0e79afdc3a8ff803638616813ccee558e
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn
Log Message:
-----------
[gn build] Port 0481f049c370
Commit: d8f97c067c9488f00bfaa17086c672d1fb7106d9
https://github.com/llvm/llvm-project/commit/d8f97c067c9488f00bfaa17086c672d1fb7106d9
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
A flang/include/flang/Common/reference-wrapper.h
M flang/runtime/io-stmt.h
Log Message:
-----------
[flang][runtime] Added Fortran::common::reference_wrapper for use on device.
This is a simplified implementation of std::reference_wrapper that can be used
in the offload builds for the device code. The methods are properly
marked with RT_API_ATTRS so that the device compilation succedes.
Reviewers: jeanPerier, klausler
Reviewed By: jeanPerier
Pull Request: https://github.com/llvm/llvm-project/pull/85178
Commit: 037a32a9a73286cf6e1bf439c61b03767658b564
https://github.com/llvm/llvm-project/commit/037a32a9a73286cf6e1bf439c61b03767658b564
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M flang/lib/Lower/OpenMP/Clauses.h
M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
M flang/lib/Lower/OpenMP/DataSharingProcessor.h
M flang/lib/Lower/OpenMP/OpenMP.cpp
Log Message:
-----------
[flang][OpenMP] Convert DataSharingProcessor to omp::Clause (#81629)
[Clause representation 6/6]
Commit: 8ebf4084f13d939eb33cd0a29d057158fa15a3a7
https://github.com/llvm/llvm-project/commit/8ebf4084f13d939eb33cd0a29d057158fa15a3a7
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M flang/include/flang/ISO_Fortran_binding.h
M flang/include/flang/Runtime/descriptor.h
M flang/runtime/derived-api.cpp
M flang/runtime/type-info.h
Log Message:
-----------
[NFC][flang] Reorder const and RT_API_ATTRS.
Clean-up to keep the type qualifier next to the type.
Reviewers: klausler
Reviewed By: klausler
Pull Request: https://github.com/llvm/llvm-project/pull/85180
Commit: d5a277d309e92b1d3e493da6036cffdf815105b1
https://github.com/llvm/llvm-project/commit/d5a277d309e92b1d3e493da6036cffdf815105b1
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M lldb/include/lldb/Core/Disassembler.h
M lldb/include/lldb/Symbol/LineEntry.h
M lldb/include/lldb/Utility/SupportFile.h
M lldb/source/API/SBLineEntry.cpp
M lldb/source/API/SBThread.cpp
M lldb/source/Breakpoint/BreakpointResolver.cpp
M lldb/source/Breakpoint/BreakpointResolverFileLine.cpp
M lldb/source/Commands/CommandObjectBreakpoint.cpp
M lldb/source/Commands/CommandObjectSource.cpp
M lldb/source/Commands/CommandObjectThread.cpp
M lldb/source/Core/Address.cpp
M lldb/source/Core/Disassembler.cpp
M lldb/source/Core/FormatEntity.cpp
M lldb/source/Core/IOHandlerCursesGUI.cpp
M lldb/source/Core/SourceManager.cpp
M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionSourceCode.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp
M lldb/source/Symbol/CompileUnit.cpp
M lldb/source/Symbol/Function.cpp
M lldb/source/Symbol/LineEntry.cpp
M lldb/source/Symbol/LineTable.cpp
M lldb/source/Symbol/SymbolContext.cpp
M lldb/source/Target/StackFrame.cpp
M lldb/source/Target/StackFrameList.cpp
M lldb/source/Target/Thread.cpp
M lldb/source/Target/TraceDumper.cpp
Log Message:
-----------
[lldb] Store SupportFile in FileEntry (NFC) (#85468)
This is another step towards supporting DWARF5 checksums and inline
source code in LLDB.
Commit: 047b2b241defcad79a6ac0fec9cda092bac0a922
https://github.com/llvm/llvm-project/commit/047b2b241defcad79a6ac0fec9cda092bac0a922
Author: Yichen Yan <oraluben at outlook.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Cuda.cpp
M clang/test/Driver/cuda-cross-compiling.c
Log Message:
-----------
[NVPTX] Add `-march=general` option to mirror default configuration (#85222)
This PR adds `-march=generic` support for the NVPTX backend. This
fulfills a TODO introduced in #79873.
With this PR, users can explicitly request the "default" CUDA
architecture, which makes sure that no specific architecture is
specified.
This PR does not address any compatibility issues between different CUDA
versions.
---------
Co-authored-by: Joseph Huber <huberjn at outlook.com>
Commit: 01fa550ff654d6724e6da54c877032baeddff14b
https://github.com/llvm/llvm-project/commit/01fa550ff654d6724e6da54c877032baeddff14b
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M compiler-rt/test/tsan/signal_reset.cpp
Log Message:
-----------
[tsan][test] Switch SIGPROF to SIGALRM
Followup to #85188.
Commit: 6818c7b8efef16ff373a1d8a6d7e35ecf14541be
https://github.com/llvm/llvm-project/commit/6818c7b8efef16ff373a1d8a6d7e35ecf14541be
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M libc/docs/gpu/building.rst
M libc/docs/gpu/testing.rst
M libc/docs/gpu/using.rst
Log Message:
-----------
[libc] Update GPU testing documentation (#85459)
Summary:
This documentation was lagging reality and didn't contain much. Update
it with some more information now that it's more mature.
Commit: ba97dc8c7a8fc26516fbdfe822343bc4d38fe3db
https://github.com/llvm/llvm-project/commit/ba97dc8c7a8fc26516fbdfe822343bc4d38fe3db
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M lldb/source/Host/common/Alarm.cpp
Log Message:
-----------
[lldb] Fix -Wctad-maybe-unsupported in Alarm.cpp (NFC)
llvm-project/lldb/source/Host/common/Alarm.cpp:37:5:
error: 'lock_guard' may not intend to support class template argument deduction [-Werror,-Wctad-maybe-unsupported]
std::lock_guard alarm_guard(m_alarm_mutex);
^
Commit: 8f2632c45f54d1e91248be81db5d4908d1036213
https://github.com/llvm/llvm-project/commit/8f2632c45f54d1e91248be81db5d4908d1036213
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M lldb/unittests/Host/AlarmTest.cpp
Log Message:
-----------
[lldb][test] Fix -Wctad-maybe-unsupported in AlarmTest.cpp (NFC)
llvm-project/lldb/unittests/Host/AlarmTest.cpp:49:7:
error: 'lock_guard' may not intend to support class template argument deduction [-Werror,-Wctad-maybe-unsupported]
std::lock_guard guard(m);
^
Commit: 4da2b542b142dac441722e044ee75da2475d9a20
https://github.com/llvm/llvm-project/commit/4da2b542b142dac441722e044ee75da2475d9a20
Author: Dave Lee <davelee.com at gmail.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M lldb/source/Commands/CommandObjectDWIMPrint.cpp
M lldb/test/API/commands/dwim-print/TestDWIMPrint.py
Log Message:
-----------
[lldb] Fix dwim-print to not delete non-result persistent variables (#85152)
`EvaluateExpression` does not always create a new persistent result. If the expression
is a bare persistent variable, then a new persistent result is not created. This means
the caller can't assume a new persistent result is created for each evaluation.
However, `dwim-print` was doing exactly that: assuming a new persistent result for each
evaluation. This resulted in a bug:
```
(lldb) p int $j = 23
(lldb) p $j
(lldb) p $j
```
The first `p $j` would not create a persistent result, and so `dwim-print` would
inadvertently delete `$j`. The second `p $j` would fail.
The fix is to try `expr` as a persistent variable, after trying `expr` as a frame
variable. For persistent variables, this avoids calling `EvaluateExpression`.
Resolves https://github.com/llvm/llvm-project/issues/84806
rdar://124688427
Commit: 8d7ee4691dadd3a9d831108f77d1f4e511191a44
https://github.com/llvm/llvm-project/commit/8d7ee4691dadd3a9d831108f77d1f4e511191a44
Author: Dave Lee <davelee.com at gmail.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/include/clang/Driver/Driver.h
M clang/lib/Driver/Driver.cpp
M clang/tools/driver/driver.cpp
Log Message:
-----------
[clang] Move CCC_OVERRIDE_OPTIONS implementation to Driver (#85425)
Move CCC_OVERRIDE_OPTIONS support to clangDriver so that it may be used outside of the
clang driver binary.
The override functionality will be used in LLDB, to apply adjustments to ClangImporter
flags. This will be useful as an escape hatch when there are issues that can be fixed
by adding or removing clang flags.
The only thing changed is the name, from `ApplyQAOverride` to `applyOverrideOptions`.
Commit: f128607b89b4818a2265f5ebd09313408277d975
https://github.com/llvm/llvm-project/commit/f128607b89b4818a2265f5ebd09313408277d975
Author: Tom Honermann <tom.honermann at intel.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/MicrosoftMangle.cpp
M clang/test/CodeGenCXX/mangle-ms-back-references.cpp
Log Message:
-----------
[clang][MSVC] Correct mangling of thread-safe static initialization variables. (#85300)
Static local variables with dynamic initializers depend on implicitly defined
guard variables to synchronize thread-safe initialization. These guard
variables may have external linkage and therefore require a stable name for
linkage purposes. The Microsoft ABI assigns these variables a local name of
'$TSS' followed by a discriminator and mangles them as a static local variable
of type 'int'. Previously, the '$TSS<discriminator>' portion of the name was
not registered as a back reference candidate and this resulted in incorrect
back references for enclosing class and/or namespace scopes that might be
referenced in the signature of the enclosing function. This change adds the
previously missing back reference registration. This matches the mangling
performed by MSVC and resolves incompatibilities when inline functions with
static local variables are inlined across DLL boundaries.
This is an ABI change and has the potential to cause backward compatibility
issues with previous Clang releases.
Fixes #83616
Commit: 83afcbf5f39b9766fd4e5c7d577e308d71f9edc1
https://github.com/llvm/llvm-project/commit/83afcbf5f39b9766fd4e5c7d577e308d71f9edc1
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M mlir/lib/Target/LLVMIR/DebugTranslation.cpp
Log Message:
-----------
[mlir] Fix -Wunused-variable in DebugTranslation.cpp (NFC)
llvm-project/mlir/lib/Target/LLVMIR/DebugTranslation.cpp:226:10:
error: unused variable '[iter, inserted]' [-Werror,-Wunused-variable]
auto [iter, inserted] =
^
1 error generated.
Commit: 43fc921795bd130a325c013d60f209b5c6128fc7
https://github.com/llvm/llvm-project/commit/43fc921795bd130a325c013d60f209b5c6128fc7
Author: Paul Kirth <paulkirth at google.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/cmake/caches/Fuchsia-stage2.cmake
M llvm/cmake/modules/AddLLVM.cmake
M llvm/cmake/modules/HandleLLVMOptions.cmake
Log Message:
-----------
[CMAKE] Enable FatLTO as a build option for LLVM (#80480)
Since LLVM supports `-ffat-lto-objects` we should enable this as an
option in the LLVM build. FatLTO should improve the time it takes to
build tests for LTO enabled builds of the compiler by not linking w/ the
bitcode portion of the object files, which should speed up build times
for LTO builds without disabling optimizations.
Commit: f3a8af07fa9e9dbc3bfa495b34846e3a5962cc27
https://github.com/llvm/llvm-project/commit/f3a8af07fa9e9dbc3bfa495b34846e3a5962cc27
Author: Aart Bik <ajcbik at google.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M mlir/lib/Dialect/Bufferization/IR/BufferizationOps.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/StageSparseOperations.cpp
M mlir/test/Dialect/Bufferization/invalid.mlir
M mlir/test/Dialect/SparseTensor/invalid.mlir
A mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_empty.mlir
Log Message:
-----------
[mlir][sparse] best effort finalization of escaping empty sparse tensors (#85482)
This change lifts the restriction that purely allocated empty sparse
tensors cannot escape the method. Instead it makes a best effort to add
a finalizing operation before the escape.
This assumes that
(1) we never build sparse tensors across method boundaries
(e.g. allocate in one, insert in other method)
(2) if we have other uses of the empty allocation in the
same method, we assume that either that op will fail
or will do the finalization for us.
This is best-effort, but fixes some very obvious missing cases.
Commit: 470040bd4d54f39f9ac0868a2197fa2ae3e6d4f5
https://github.com/llvm/llvm-project/commit/470040bd4d54f39f9ac0868a2197fa2ae3e6d4f5
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M openmp/libomptarget/plugins-nextgen/common/include/PluginInterface.h
M openmp/libomptarget/plugins-nextgen/common/src/PluginInterface.cpp
Log Message:
-----------
[Libomptarget][NFC] Remove warning on return value const
Commit: 0ead2bd91bd5df4f1d285038d8ebd2f6a5ec569d
https://github.com/llvm/llvm-project/commit/0ead2bd91bd5df4f1d285038d8ebd2f6a5ec569d
Author: Bixia Zheng <bixia at google.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M mlir/lib/Target/LLVMIR/DebugTranslation.cpp
Log Message:
-----------
[MLIR][LLVM] Suppress unused variable warning. (#85467)
Commit: 6c3049cd683bac91bd815288d82b25cf695690cc
https://github.com/llvm/llvm-project/commit/6c3049cd683bac91bd815288d82b25cf695690cc
Author: Paul Kirth <paulkirth at google.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M libc/config/baremetal/api.td
Log Message:
-----------
Revert "[libc] Match stdlib.h baremetal entrypoints with types" (#85490)
Reverts llvm/llvm-project#85030
This patch causes build failures when building runtimes for armv6m
```
FAILED: /b/s/w/ir/x/w/llvm_build/include/armv6m-unknown-eabi/stdlib.h
cd /b/s/w/ir/x/w/llvm-llvm-project/libc/include && /b/s/w/ir/x/w/llvm_build/bin/libc-hdrgen -o /b/s/w/ir/x/w/llvm_build/include/armv6m-unknown-eabi/stdlib.h --header stdlib.h --def /b/s/w/ir/x/w/llvm-llvm-project/libc/include/stdlib.h.def -I /b/s/w/ir/x/w/llvm-llvm-project/libc --e=__assert_fail --e=isalnum --e=isalpha --e=isascii --e=isblank --e=iscntrl --e=isdigit --e=isgraph --e=islower --e=isprint --e=ispunct --e=isspace --e=isupper --e=isxdigit --e=toascii --e=tolower --e=toupper --e=__stack_chk_fail --e=errno --e=bcmp --e=bcopy --e=bzero --e=index --e=memccpy --e=memchr --e=memcmp --e=memcpy --e=memmem --e=memmove --e=mempcpy --e=memrchr --e=memset --e=memset_explicit --e=rindex --e=stpcpy --e=stpncpy --e=strcasecmp --e=strcasestr --e=strcat --e=strchr --e=strchrnul --e=strcmp --e=strcoll --e=strcpy --e=strcspn --e=strerror --e=strerror_r --e=strlcat --e=strlcpy --e=strlen --e=strncasecmp --e=strncat --e=strncmp --e=strncpy --e=strnlen --e=strpbrk --e=strrchr --e=strsep --e=strspn --e=strstr --e=strtok --e=strtok_r --e=strxfrm --e=imaxabs --e=imaxdiv --e=strtoimax --e=strtoumax --e=sprintf --e=snprintf --e=vsprintf --e=vsnprintf --e=stdc_leading_zeros_uc --e=stdc_leading_zeros_us --e=stdc_leading_zeros_ui --e=stdc_leading_zeros_ul --e=stdc_leading_zeros_ull --e=stdc_leading_ones_uc --e=stdc_leading_ones_us --e=stdc_leading_ones_ui --e=stdc_leading_ones_ul --e=stdc_leading_ones_ull --e=stdc_trailing_zeros_uc --e=stdc_trailing_zeros_us --e=stdc_trailing_zeros_ui --e=stdc_trailing_zeros_ul --e=stdc_trailing_zeros_ull --e=stdc_trailing_ones_uc --e=stdc_trailing_ones_us --e=stdc_trailing_ones_ui --e=stdc_trailing_ones_ul --e=stdc_trailing_ones_ull --e=stdc_first_leading_zero_uc --e=stdc_first_leading_zero_us --e=stdc_first_leading_zero_ui --e=stdc_first_leading_zero_ul --e=stdc_first_leading_zero_ull --e=stdc_first_leading_one_uc --e=stdc_first_leading_one_us --e=stdc_first_leading_one_ui --e=stdc_first_leading_one_ul --e=stdc_first_leading_one_ull --e=stdc_first_trailing_zero_uc --e=stdc_first_trailing_zero_us --e=stdc_first_trailing_zero_ui --e=stdc_first_trailing_zero_ul --e=stdc_first_trailing_zero_ull --e=stdc_first_trailing_one_uc --e=stdc_first_trailing_one_us --e=stdc_first_trailing_one_ui --e=stdc_first_trailing_one_ul --e=stdc_first_trailing_one_ull --e=stdc_count_zeros_uc --e=stdc_count_zeros_us --e=stdc_count_zeros_ui --e=stdc_count_zeros_ul --e=stdc_count_zeros_ull --e=stdc_count_ones_uc --e=stdc_count_ones_us --e=stdc_count_ones_ui --e=stdc_count_ones_ul --e=stdc_count_ones_ull --e=stdc_has_single_bit_uc --e=stdc_has_single_bit_us --e=stdc_has_single_bit_ui --e=stdc_has_single_bit_ul --e=stdc_has_single_bit_ull --e=stdc_bit_width_uc --e=stdc_bit_width_us --e=stdc_bit_width_ui --e=stdc_bit_width_ul --e=stdc_bit_width_ull --e=stdc_bit_floor_uc --e=stdc_bit_floor_us --e=stdc_bit_floor_ui --e=stdc_bit_floor_ul --e=stdc_bit_floor_ull --e=stdc_bit_ceil_uc --e=stdc_bit_ceil_us --e=stdc_bit_ceil_ui --e=stdc_bit_ceil_ul --e=stdc_bit_ceil_ull --e=abort --e=abs --e=atoi --e=atof --e=atol --e=atoll --e=bsearch --e=div --e=labs --e=ldiv --e=llabs --e=lldiv --e=qsort --e=qsort_r --e=rand --e=srand --e=strtod --e=strtof --e=strtol --e=strtold --e=strtoll --e=strtoul --e=strtoull --e=feclearexcept --e=fedisableexcept --e=feenableexcept --e=fegetenv --e=fegetexcept --e=fegetexceptflag --e=fegetround --e=feholdexcept --e=fesetenv --e=fesetexceptflag --e=fesetround --e=feraiseexcept --e=fetestexcept --e=feupdateenv --e=acosf --e=acoshf --e=asinf --e=asinhf --e=atanf --e=atanhf --e=ceil --e=ceilf --e=ceill --e=copysign --e=copysignf --e=copysignl --e=cosf --e=coshf --e=erff --e=exp --e=exp10 --e=exp10f --e=exp2 --e=exp2f --e=expf --e=expm1 --e=expm1f --e=fabs --e=fabsf --e=fabsl --e=fdim --e=fdimf --e=fdiml --e=floor --e=floorf --e=floorl --e=fma --e=fmaf --e=fmax --e=fmaxf --e=fmaxl --e=fmin --e=fminf --e=fminl --e=fmod --e=fmodf --e=fmodl --e=frexp --e=frexpf --e=frexpl --e=hypot --e=hypotf --e=ilogb --e=ilogbf --e=ilogbl --e=ldexp --e=ldexpf --e=ldexpl --e=llogb --e=llogbf --e=llogbl --e=llrint --e=llrintf --e=llrintl --e=llround --e=llroundf --e=llroundl --e=log --e=log10 --e=log10f --e=log1p --e=log1pf --e=log2 --e=log2f --e=logb --e=logbf --e=logbl --e=logf --e=lrint --e=lrintf --e=lrintl --e=lround --e=lroundf --e=lroundl --e=modf --e=modff --e=modfl --e=nan --e=nanf --e=nanl --e=nearbyint --e=nearbyintf --e=nearbyintl --e=nextafter --e=nextafterf --e=nextafterl --e=nexttoward --e=nexttowardf --e=nexttowardl --e=powf --e=remainder --e=remainderf --e=remainderl --e=remquo --e=remquof --e=remquol --e=rint --e=rintf --e=rintl --e=round --e=roundf --e=roundl --e=scalbn --e=scalbnf --e=scalbnl --e=sincosf --e=sinf --e=sinhf --e=sqrt --e=sqrtf --e=sqrtl --e=tanf --e=tanhf --e=trunc --e=truncf --e=truncl --e=abshk --e=abshr --e=absk --e=absr --e=abslk --e=abslr --e=exphk --e=expk --e=roundhk --e=roundhr --e=roundk --e=roundr --e=roundlk --e=roundlr --e=rounduhk --e=rounduhr --e=rounduk --e=roundur --e=roundulk --e=roundulr --e=sqrtuhk --e=sqrtuhr --e=sqrtuk --e=sqrtur --e=sqrtulr --e=uhksqrtus --e=uksqrtui /b/s/w/ir/x/w/llvm-llvm-project/libc/config/baremetal/api.td
error: __qsortrcompare_t not found in any standard spec.
```
Original failure:
https://ci.chromium.org/ui/p/fuchsia/builders/toolchain.ci/clang-linux-x64/b8753376051397217137/overview
I've tested that reverting this commit would make the build green again.
https://ci.chromium.org/raw/build/logs.chromium.org/fuchsia/led/paulkirth_google.com/29c31064b1fb757cb90a304e79086d644406406dff130569c2e77b066021eee6/+/build.proto?server=chromium-swarm.appspot.com
Commit: 113214e15b5ce3f3ec313eb1fa91a7038ecd072f
https://github.com/llvm/llvm-project/commit/113214e15b5ce3f3ec313eb1fa91a7038ecd072f
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp
Log Message:
-----------
[lldb] Update SymbolFilePDBTests for LineEntry change (d5a277d309e9)
Commit: 8386a388bd4f144889401cc503b2c51bf4bb9275
https://github.com/llvm/llvm-project/commit/8386a388bd4f144889401cc503b2c51bf4bb9275
Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/include/clang/Basic/Builtins.td
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/Headers/hlsl/hlsl_intrinsics.h
M clang/lib/Sema/SemaChecking.cpp
A clang/test/CodeGenHLSL/builtins/clamp-builtin.hlsl
A clang/test/CodeGenHLSL/builtins/clamp.hlsl
A clang/test/SemaHLSL/BuiltIns/clamp-errors.hlsl
M clang/test/SemaHLSL/BuiltIns/mad-errors.hlsl
M llvm/include/llvm/IR/IntrinsicsDirectX.td
M llvm/lib/Target/DirectX/DXIL.td
M llvm/lib/Target/DirectX/DXILIntrinsicExpansion.cpp
A llvm/test/CodeGen/DirectX/clamp-vec.ll
A llvm/test/CodeGen/DirectX/clamp.ll
A llvm/test/CodeGen/DirectX/fmax.ll
A llvm/test/CodeGen/DirectX/fmin.ll
A llvm/test/CodeGen/DirectX/smax.ll
A llvm/test/CodeGen/DirectX/smin.ll
M llvm/test/CodeGen/DirectX/umax.ll
A llvm/test/CodeGen/DirectX/umin.ll
Log Message:
-----------
[HLSL] implement `clamp` intrinsic (#85424)
closes #70071
- `CGBuiltin.cpp` - Add the unsigned\generic clamp intrinsic emitter.
- `IntrinsicsDirectX.td` - add the `dx.clamp` & `dx.uclamp` intrinsics
- `DXILIntrinsicExpansion.cpp` - add the `clamp` instruction expansion
while maintaining vector form.
- `SemaChecking.cpp` - Add `clamp` builtin Sema Checks.
- `Builtins.td` - add a `clamp` builtin
- `hlsl_intrinsics.h` - add the `clamp` api
Why `clamp` as instruction expansion for DXIL?
1. SPIR-V has a GLSL `clamp` extension via:
-
[FClamp](https://registry.khronos.org/SPIR-V/specs/1.0/GLSL.std.450.html#FClamp)
-
[UClamp](https://registry.khronos.org/SPIR-V/specs/1.0/GLSL.std.450.html#UClamp)
-
[SClamp](https://registry.khronos.org/SPIR-V/specs/1.0/GLSL.std.450.html#SClamp)
2. Further Clamp lowers to `min(max( x, min_range ), max_range)` which
we have float, signed, & unsigned dixilOps.
Commit: 7c460c6205eedaa24f77d5de272dfd94dc3e9a38
https://github.com/llvm/llvm-project/commit/7c460c6205eedaa24f77d5de272dfd94dc3e9a38
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/lib/Format/TokenAnnotator.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
Log Message:
-----------
[clang-format] Fix a bug in annotating FunctionDeclarationName (#85361)
A name is not a FunctionDeclarationName if it's preceded by an
Objective-C keyword.
Fixes #84578.
Commit: fadc38efed815511c21032abab4b71e4320adc1c
https://github.com/llvm/llvm-project/commit/fadc38efed815511c21032abab4b71e4320adc1c
Author: Matthias Springer <me at m-sp.org>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M mlir/test/Integration/Dialect/Memref/reinterpret-cast-runtime-verification.mlir
M mlir/test/Integration/Dialect/Memref/subview-runtime-verification.mlir
Log Message:
-----------
[mlir][memref] Fix memory leaks in runtime verification tests (#85362)
Change `memref.alloc` to `memref.alloca`, which does not require manual
deallocation.
Commit: 513cdb82223a106f183b49a40d9acb1f7efbbe7e
https://github.com/llvm/llvm-project/commit/513cdb82223a106f183b49a40d9acb1f7efbbe7e
Author: Justin Fargnoli <justinfargnoli at gmail.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M mlir/lib/Dialect/Affine/IR/AffineOps.cpp
M mlir/lib/Dialect/Arith/IR/ArithDialect.cpp
M mlir/lib/Dialect/ControlFlow/IR/ControlFlowOps.cpp
M mlir/lib/Dialect/Func/IR/FuncOps.cpp
M mlir/lib/Dialect/GPU/IR/GPUDialect.cpp
M mlir/lib/Dialect/Linalg/IR/LinalgDialect.cpp
M mlir/lib/Dialect/MemRef/IR/MemRefDialect.cpp
M mlir/lib/Dialect/SCF/IR/SCF.cpp
M mlir/lib/Dialect/Shape/IR/Shape.cpp
M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
M mlir/lib/Dialect/Tensor/IR/TensorDialect.cpp
M mlir/lib/Dialect/Tosa/CMakeLists.txt
M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
Log Message:
-----------
[mlir] Declare promised interfaces for all dialects (#78368)
This PR adds promised interface declarations for all interfaces declared
in `InitAllDialects.h`.
Promised interfaces allow a dialect to declare that it will have an
implementation of a particular interface, crashing the program if one
isn't provided when the interface is used.
Commit: 53c44187538794a749746339595aa62ec08b3f4a
https://github.com/llvm/llvm-project/commit/53c44187538794a749746339595aa62ec08b3f4a
Author: Matthias Springer <me at m-sp.org>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
M mlir/test/Dialect/Vector/canonicalize.mlir
M mlir/test/Integration/Dialect/Linalg/CPU/mmt4d.mlir
M mlir/test/Integration/Dialect/Linalg/CPU/test-matmul-masked-vec.mlir
M mlir/test/Integration/Dialect/Tosa/CPU/test-fully-connected.mlir
Log Message:
-----------
[mlir][linalg, tosa] Fix memory leaks in integration tests (#85366)
Buffers are no longer deallocation by One-Shot Bufferize. This is now
done by a separate buffer deallocation pass.
Also fix a bug in the `vector.mask` folding, which was triggered by
`-buffer-deallocation-pipeline`, which runs the canonicalizer.
Commit: 426e6945897afbec01c042bec4771522a2aac176
https://github.com/llvm/llvm-project/commit/426e6945897afbec01c042bec4771522a2aac176
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/lib/Format/BreakableToken.h
M clang/lib/Format/ContinuationIndenter.h
M clang/lib/Format/Encoding.h
M clang/lib/Format/Format.cpp
M clang/lib/Format/FormatInternal.h
M clang/lib/Format/FormatToken.h
M clang/lib/Format/FormatTokenLexer.h
M clang/lib/Format/FormatTokenSource.h
M clang/lib/Format/Macros.h
M clang/lib/Format/SortJavaScriptImports.h
M clang/lib/Format/TokenAnalyzer.h
M clang/lib/Format/TokenAnnotator.h
M clang/lib/Format/UnwrappedLineFormatter.h
M clang/lib/Format/UnwrappedLineParser.h
M clang/lib/Format/WhitespaceManager.h
Log Message:
-----------
[clang-format][NFC] Delete redundant and extraneous #include lines
Commit: 5a3cc7ba24c564a19a7812efd79ecd224b8193f5
https://github.com/llvm/llvm-project/commit/5a3cc7ba24c564a19a7812efd79ecd224b8193f5
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M llvm/include/llvm/Passes/PassBuilder.h
M llvm/lib/Passes/PassBuilder.cpp
Log Message:
-----------
[PassBuilder] Expose parametrized passes related functions (#85357)
Some targets have passes with parameters, e.g. ARM, AMDGPU and MIPS.
For example, AMDGPU has a pass `AMDGPUAtomicOptimizerPass`
which need a `ScanOption`, this commit enables the syntax
like `-passes=amdgpu-atomic-optimizer<strategy=dpp>` for backend passes.
Commit: 3e69e5a15782a5776a3245170aeb5d97ef746fa5
https://github.com/llvm/llvm-project/commit/3e69e5a15782a5776a3245170aeb5d97ef746fa5
Author: Younan Zhang <zyn7109 at gmail.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaConcept.cpp
M clang/test/SemaTemplate/concepts.cpp
Log Message:
-----------
[Concepts] Add Decls from the outer scope of the current lambda for conversion function constraints (#83420)
This fixes the case shown by
https://github.com/llvm/llvm-project/issues/64808#issuecomment-1929131611.
Similar to
https://github.com/llvm/llvm-project/commit/f9caa12328b265b77221fe7a310d4504673d814a,
we have some calls to constraint checking for a lambda's conversion
function while determining the conversion sequence.
This patch addresses the problem where the requires-expression within
such a lambda references to a Decl outside of the lambda by adding these
Decls to the current instantiation scope.
I'm abusing the flag `ForOverloadResolution` of
CheckFunctionConstraints, which is actually meant to consider the Decls
from parent DeclContexts.
---------
Co-authored-by: cor3ntin <corentinjabot at gmail.com>
Commit: 426bf0c915aca9e9d78b6192898b95a44d9afcf4
https://github.com/llvm/llvm-project/commit/426bf0c915aca9e9d78b6192898b95a44d9afcf4
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M clang/test/AST/Interp/builtin-functions.cpp
Log Message:
-----------
[clang][Interp] Try to fix builtin-functions test on AIX
See
https://github.com/llvm/llvm-project/commit/0a739eb75fe68b1cec4e4aaad8b5395bb5da9a89#commitcomment-139850284
Commit: dbbdee2ea2156170062813fb3d7f2c023d65e02d
https://github.com/llvm/llvm-project/commit/dbbdee2ea2156170062813fb3d7f2c023d65e02d
Author: Stella Laurenzo <stellaraccident at gmail.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M mlir/lib/Dialect/MLProgram/IR/CMakeLists.txt
M mlir/lib/Dialect/MLProgram/IR/MLProgramDialect.cpp
A mlir/test/Dialect/MLProgram/inlining.mlir
Log Message:
-----------
[mlir] Make the ml_program dialect allow all of its operations to be inlined. (#85479)
Commit: fce046ca5b7edb4c0d37a6eb580154ccb7dda966
https://github.com/llvm/llvm-project/commit/fce046ca5b7edb4c0d37a6eb580154ccb7dda966
Author: Christian Sigg <chsigg at users.noreply.github.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
M utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
Log Message:
-----------
[mlir][bazel] Move InliningUtils into a separate target. (#85411)
Various (in-tree as well as downstream) targets currently depend on
`InliningUtils.h` to avoid circular dependencies. E.g. `TransformUtils`
depends on `ArithDialect`, so `ArithDialect` can't depend on
`TransformUtils` exporting `InliningUtils.h`. This change exposes that
header and it's implementation as a separate target. Having targets that
implement all the declared functions is the preferred approach for bazel
build graphs.
See also PR #84878, which moves the interface definitions to a separate
file in the `Interfaces` directory. This turned out to be controversial
and putting it in a different directory didn't seem to have any support
either. Instead, this PR only changes the bazel build without moving any
C++ code.
Commit: dec63221d56e8092557f29f1f2c127828d7521bb
https://github.com/llvm/llvm-project/commit/dec63221d56e8092557f29f1f2c127828d7521bb
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M .github/workflows/pr-code-format.yml
Log Message:
-----------
[GitHub][workflows] Use latest clang-format version 18.1.1 (#85502)
Commit: a02b79f3fc765af77ad565e907989c25b2427fe5
https://github.com/llvm/llvm-project/commit/a02b79f3fc765af77ad565e907989c25b2427fe5
Author: Brad Smith <brad at comstyle.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M llvm/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
Log Message:
-----------
[Mips][NFC] Garbage collect unused code (#85499)
Commit: 5ac784d1d00ce4733d07c3432ff946497a249e51
https://github.com/llvm/llvm-project/commit/5ac784d1d00ce4733d07c3432ff946497a249e51
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M clang/include/clang/Format/.clang-format
M clang/lib/Format/.clang-format
M clang/tools/clang-format/.clang-format
M clang/unittests/Format/.clang-format
Log Message:
-----------
Revert "[clang-format][NFC] Don't use clang-format style in config files"
This reverts commit c69ec700adec315b3daa55742f2ef655242fa297, which has been
obsolete since commit dec63221d56e because the clang-format style was added
in version 18.
Commit: f1ca0b6ce85ba43faf5064e333080092b31eb4c9
https://github.com/llvm/llvm-project/commit/f1ca0b6ce85ba43faf5064e333080092b31eb4c9
Author: Aiden Grossman <agrossman154 at yahoo.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M .github/workflows/pr-code-format.yml
Log Message:
-----------
Revert "[GitHub][workflows] Use latest clang-format version 18.1.1 (#85502)"
This reverts commit dec63221d56e8092557f29f1f2c127828d7521bb.
This probably needs more discussion before we can land it. The consensus
(from what I can gather) in https://discourse.llvm.org/t/rfc-clang-format-all-the-things/76614
is that we should be careful with version upgrades for consistency.
Commit: ddff198e1133b02271fbb002756ec91b54cf1a68
https://github.com/llvm/llvm-project/commit/ddff198e1133b02271fbb002756ec91b54cf1a68
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[bazel] Add missing dependency for b43965adacfafc4dc6b5ec17b4bea839372b7626
Commit: 6f39c1e2844c96f222a0c6e564c0d3e52c0c2feb
https://github.com/llvm/llvm-project/commit/6f39c1e2844c96f222a0c6e564c0d3e52c0c2feb
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M .github/workflows/pr-code-format.yml
Log Message:
-----------
[GitHub][workflows] Use latest clang-format version 18.1.1 (#85502)
Commit: 367f355fbfe30b1769368c93f30e04b2ecba613e
https://github.com/llvm/llvm-project/commit/367f355fbfe30b1769368c93f30e04b2ecba613e
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/DeclCXX.cpp
M clang/test/SemaCXX/lambda-expressions.cpp
Log Message:
-----------
Reapply "[clang] Fix crash when declaring invalid lambda member" (#85427)
This re-applies #74110 with the crashing code disabled in C++11. I'll
try to fix the new crash in it's own patch.
Commit: 8e69052b0e2f3b1bc7dbcf56a0c771e30d2edbf7
https://github.com/llvm/llvm-project/commit/8e69052b0e2f3b1bc7dbcf56a0c771e30d2edbf7
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.h
M clang/test/AST/Interp/literals.cpp
Log Message:
-----------
[clang][Interp] Handle ArrayTypeTraitExprs
Commit: 12978b3e23a2766732595391c193e5631f40a3db
https://github.com/llvm/llvm-project/commit/12978b3e23a2766732595391c193e5631f40a3db
Author: Jakub Mazurkiewicz <mazkuba3 at gmail.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M libcxx/docs/Status/Cxx23Papers.csv
M libcxx/include/__compare/partial_order.h
M libcxx/include/__compare/strong_order.h
M libcxx/include/__compare/weak_order.h
M libcxx/include/__iterator/iter_move.h
M libcxx/include/__ranges/access.h
M libcxx/include/__ranges/rbegin.h
M libcxx/include/__ranges/rend.h
M libcxx/include/__ranges/size.h
M libcxx/test/std/iterators/iterator.requirements/iterator.cust/iterator.cust.swap/iter_swap.pass.cpp
M libcxx/test/std/ranges/range.access/begin.pass.cpp
M libcxx/test/std/ranges/range.access/end.pass.cpp
M libcxx/test/std/ranges/range.access/rbegin.pass.cpp
M libcxx/test/std/ranges/range.access/rend.pass.cpp
M libcxx/test/std/ranges/range.access/size.pass.cpp
A libcxx/test/std/ranges/robust_against_poison_pills.compile.pass.cpp
Log Message:
-----------
[libc++] P2602R2 Poison Pills are Too Toxic (#74534)
Implements [P2602R2 Poison Pills are Too
Toxic](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p2602r2.html)
as a DR in C++20 mode.
Commit: 5bcb78141c628d9bd7a0b6e398858282c16038d3
https://github.com/llvm/llvm-project/commit/5bcb78141c628d9bd7a0b6e398858282c16038d3
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M libcxx/include/__format/format_context.h
M libcxx/include/__format/format_functions.h
M libcxx/include/__format/formatter_floating_point.h
M libcxx/include/format
M libcxx/test/libcxx/transitive_includes/cxx03.csv
M libcxx/test/libcxx/transitive_includes/cxx11.csv
M libcxx/test/libcxx/transitive_includes/cxx14.csv
M libcxx/test/libcxx/transitive_includes/cxx17.csv
M libcxx/test/libcxx/transitive_includes/cxx20.csv
M libcxx/test/libcxx/transitive_includes/cxx23.csv
M libcxx/test/libcxx/transitive_includes/cxx26.csv
Log Message:
-----------
[libc++] Remove <locale> includes from <format> (#85478)
This reduces the include time from 767ms to 691ms.
Commit: 6d3cec01a6c29fa4e51ba129fa13dbf55d2b928e
https://github.com/llvm/llvm-project/commit/6d3cec01a6c29fa4e51ba129fa13dbf55d2b928e
Author: David CARLIER <devnexen at gmail.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M openmp/runtime/src/kmp.h
Log Message:
-----------
Revert "[openmp] __kmp_x86_cpuid fix for i386/PIC builds." (#85526)
Reverts llvm/llvm-project#84626
Commit: 662010e5398e07287242688c144bd11faaf73861
https://github.com/llvm/llvm-project/commit/662010e5398e07287242688c144bd11faaf73861
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M libcxx/include/complex
Log Message:
-----------
[libc++][NFC] Use the tuple forward declaration header for tuple forward declarations
Commit: 9d5edfde5c3dbc4eb559d316e82e664f291fc2bf
https://github.com/llvm/llvm-project/commit/9d5edfde5c3dbc4eb559d316e82e664f291fc2bf
Author: alx32 <103613512+alx32 at users.noreply.github.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
A llvm/test/tools/llvm-objdump/MachO/AArch64/Inputs/rel-method-lists-arm64.dylib
A llvm/test/tools/llvm-objdump/MachO/AArch64/Inputs/rel-method-lists-arm64_32.dylib
A llvm/test/tools/llvm-objdump/MachO/AArch64/macho-relative-method-lists.test
M llvm/tools/llvm-objdump/MachODump.cpp
Log Message:
-----------
[llvm-objdump][macho] Add support for ObjC relative method lists (#85477)
For Mach-O, ld64 supports the -fobjc-relative-method-lists flag which
changes the format in which method lists are generated. The format uses
delta encoding vs the original direct-pointer encoding.
This change adds support to llvm-objdump and llvm-otool for
decoding/dumping of method lists in the delta format. Previously, if a
binary with this information format was passed to the tooling, it would
output invalid information, trying to parse the delta lists as pointer
lists.
After this change, the tooling will output correct information if a
binary in this format is encountered.
The output format is closest feasible match to XCode 15.1's otool
output. Tests are included for both 32bit and 64bit binaries.
The code style was matched as close as possible to existing
implementation of parsing non-delta method lists.
Diff between llvm-objdump and XCode 15.1 otool:
![image](https://github.com/llvm/llvm-project/assets/103613512/2277e3ff-d59c-4fff-b93a-e0587ee740a6)
Note: This is a retry of this PR:
https://github.com/llvm/llvm-project/pull/84250
On the original PR, the armv7+armv8 builds were failing due to absolute
offsets being different.
Co-authored-by: Alex B <alexborcan at meta.com>
Commit: 74d1a40915834cbf0629f8d34a7265734d4d9073
https://github.com/llvm/llvm-project/commit/74d1a40915834cbf0629f8d34a7265734d4d9073
Author: Sirraide <aeternalmail at gmail.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M clang/lib/AST/ExprConstant.cpp
M clang/test/SemaCXX/cxx23-assume.cpp
Log Message:
-----------
[Clang] Ignore assumptions with side effects at compile time (#85534)
Fixes #85519.
Commit: 618ce78603241cda3483da0532ef92254bd748cb
https://github.com/llvm/llvm-project/commit/618ce78603241cda3483da0532ef92254bd748cb
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M libcxx/include/mutex
Log Message:
-----------
[libc++][NFC] Simplify scoped_lock::__unlock_unpack a bit (#85517)
Commit: f694f632d9f600601c3dd7a7385e1ab6e2385cd9
https://github.com/llvm/llvm-project/commit/f694f632d9f600601c3dd7a7385e1ab6e2385cd9
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M libcxx/include/chrono
M libcxx/test/libcxx/transitive_includes/cxx20.csv
Log Message:
-----------
[libc++] Add <locale> include in <chrono> (#85521)
I accidentally removed this transitive include in #85478.
Commit: c51095f51b770f0663b65dd8a651601fca15701e
https://github.com/llvm/llvm-project/commit/c51095f51b770f0663b65dd8a651601fca15701e
Author: Cyndy Ishida <cyndy_ishida at apple.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M clang/include/clang/Basic/AllDiagnostics.h
M clang/include/clang/Basic/CMakeLists.txt
M clang/include/clang/Basic/Diagnostic.td
M clang/include/clang/Basic/DiagnosticIDs.h
A clang/include/clang/Basic/DiagnosticInstallAPI.h
A clang/include/clang/Basic/DiagnosticInstallAPIKinds.td
A clang/include/clang/InstallAPI/DylibVerifier.h
A clang/include/clang/InstallAPI/InstallAPIDiagnostic.h
M clang/lib/Basic/DiagnosticIDs.cpp
M clang/test/InstallAPI/driver-invalid-options.test
M clang/test/InstallAPI/functions.test
M clang/tools/clang-installapi/CMakeLists.txt
M clang/tools/clang-installapi/ClangInstallAPI.cpp
A clang/tools/clang-installapi/InstallAPIOpts.td
M clang/tools/clang-installapi/Options.cpp
M clang/tools/clang-installapi/Options.h
M llvm/lib/TextAPI/TextStub.cpp
Log Message:
-----------
[InstallAPI] Add installapi specific options & diagnostics (#85100)
* A lot of `tapi installapi` options are already shared with clang, but
not all. This patch handles installapi-specific options by filtering for
them in the initial argv input, then passing the rest to the clang
driver.
* Installapi not only generates a text file but also reports to library
developers when there are inconsistencies between an interface and its
implementation. To allow this, add support for reporting installapi
diagnostics. This will be leveraged in the verifier service.
Commit: f2794ccede6d32a6b5ef7a376ced420331e2be27
https://github.com/llvm/llvm-project/commit/f2794ccede6d32a6b5ef7a376ced420331e2be27
Author: Cyndy Ishida <cyndy_ishida at apple.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M clang/include/clang/AST/Availability.h
M clang/include/clang/InstallAPI/Context.h
M clang/include/clang/InstallAPI/DylibVerifier.h
M clang/include/clang/InstallAPI/Frontend.h
M clang/include/clang/InstallAPI/FrontendRecords.h
M clang/include/clang/InstallAPI/MachO.h
M clang/lib/InstallAPI/CMakeLists.txt
A clang/lib/InstallAPI/DylibVerifier.cpp
M clang/lib/InstallAPI/Frontend.cpp
M clang/lib/InstallAPI/Visitor.cpp
A clang/test/InstallAPI/asm.test
M clang/tools/clang-installapi/ClangInstallAPI.cpp
M clang/tools/clang-installapi/Options.cpp
M llvm/include/llvm/TextAPI/Record.h
Log Message:
-----------
[InstallAPI] Introduce Basic Verifier (#85106)
This adds basic support for calling the verifier on global declarations
that are expected to represent symbol exports. The driver now
exclusively uses this for knowing what symbols make up a TBD file.
Future patches will check against the dylib's symbol table.
Commit: c9325f8a2e7ec9bb9e0b28320aab4034bcb94a0d
https://github.com/llvm/llvm-project/commit/c9325f8a2e7ec9bb9e0b28320aab4034bcb94a0d
Author: Usman Nadeem <mnadeem at quicinc.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/DFAJumpThreading.cpp
M llvm/test/Transforms/DFAJumpThreading/dfa-unfold-select.ll
A llvm/test/Transforms/DFAJumpThreading/unpredictable-heuristic.ll
Log Message:
-----------
[DFAJumpThreading] Add an early exit heuristic for unpredictable values (#85015)
Right now the algorithm does not exit on unpredictable values. It
waits until all the paths have been enumerated to see if any of
those paths have that value. Waiting this late leads to a lot of
wasteful computation and higher compile time.
In this patch I have added a heuristic that checks if the value
comes from the same inner loops as the switch, if so, then it is
likely that the value will also be seen on a threadable path and
the code in `getStateDefMap()` return an empty map.
I tested this on the llvm test suite and the only change in the
number of threaded switches was in 7zip (before 23, after 18).
In all of those cases the current algorithm was partially threading
the loop because it was hitting a limit on the number of paths to
be explored. On increasing this limit even the current algorithm
finds paths where the unpredictable value is seen.
Compile time(with pass enabled by default and this patch):
https://llvm-compile-time-tracker.com/compare.php?from=8c5e9cf737138aba22a4a8f64ef2c5efc80dd7f9&to=42c75d888058b35c6d15901b34e36251d8f766b9&stat=instructions:u
Commit: 0847c903c8a04a2bdf53d5f1b93be5705d998801
https://github.com/llvm/llvm-project/commit/0847c903c8a04a2bdf53d5f1b93be5705d998801
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/generic_category.pass.cpp
M libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/system_category.pass.cpp
M libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long_double.pass.cpp
Log Message:
-----------
Revert "[libc++] Fix tests on musl (#85085)"
This reverts commit b61fb18456ecd798b2fc340367018ab3109ebfae.
This commit landed with build failures in the pre-commit CI
https://buildkite.com/llvm-project/libcxx-ci/builds/34153
Commit: e77378cc14ec712942452aca155addacbe904c8f
https://github.com/llvm/llvm-project/commit/e77378cc14ec712942452aca155addacbe904c8f
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
M llvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused-lifetime-ends.ll
Log Message:
-----------
[Matrix] Adjust lifetime.ends during multiply fusion. (#84914)
At the moment, loads introduced by multiply fusion may be placed after
an objects lifetime has been terminated by lifetime.end. This introduces
reads to dead objects.
To avoid this, first collect all lifetime.end calls in the function.
During fusion, we deal with any lifetime.end calls that may alias any of
the loads.
Such lifetime.end calls are either moved when possible (both the
lifetime.end and the store are in the same block) or deleted.
PR: https://github.com/llvm/llvm-project/pull/84914
Commit: 2867095917cef0d01a68b112bcb01e2f85de4308
https://github.com/llvm/llvm-project/commit/2867095917cef0d01a68b112bcb01e2f85de4308
Author: alirezamoshtaghi <124719818+alirezamoshtaghi at users.noreply.github.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M clang-tools-extra/clangd/unittests/tweaks/ExtractVariableTests.cpp
M clang/lib/AST/Expr.cpp
Log Message:
-----------
[clang] Skip implicit designators in DesignatedInitExpr::getBeginLoc (#83369)
Fixes https://github.com/llvm/llvm-project/issues/83185
Commit: 84b5178124e47f6019b56c04abcfb978a94b1c3c
https://github.com/llvm/llvm-project/commit/84b5178124e47f6019b56c04abcfb978a94b1c3c
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] Correctly parse C++11 attributes in enum specifiers (#85498)
Fixes #85476.
Commit: a2bad75879c33c0e6a2834bb0abcd3e1599d377d
https://github.com/llvm/llvm-project/commit/a2bad75879c33c0e6a2834bb0abcd3e1599d377d
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/math/index.rst
M libc/spec/stdc.td
M libc/src/__support/FPUtil/ManipulationFunctions.h
A libc/src/__support/FPUtil/x86_64/NextUpDownLongDouble.h
M libc/src/math/CMakeLists.txt
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/nextdownl.cpp
A libc/src/math/generic/nextupl.cpp
A libc/src/math/nextdownl.h
A libc/src/math/nextupl.h
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/nextdownl_test.cpp
A libc/test/src/math/smoke/nextupl_test.cpp
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[libc][math][c23] Add nextupl and nextdownl functions (#85484)
Fixes #85283.
cc @lntue
Commit: d33d5630b281debe6eabd67e323bcf767340fb6a
https://github.com/llvm/llvm-project/commit/d33d5630b281debe6eabd67e323bcf767340fb6a
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M clang/lib/Format/TokenAnnotator.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] Fix a bug in SpaceInEmptyBlock option (#85508)
Fixes #84695.
Commit: 8f878c501886e6dc8b0cf062320a803593972bed
https://github.com/llvm/llvm-project/commit/8f878c501886e6dc8b0cf062320a803593972bed
Author: Petr Hosek <phosek at google.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M libc/config/baremetal/api.td
M libc/config/baremetal/arm/entrypoints.txt
M libc/config/baremetal/arm/headers.txt
M libc/config/baremetal/riscv/entrypoints.txt
M libc/config/baremetal/riscv/headers.txt
Log Message:
-----------
[libc] Include time.h in baremetal targets (#85026)
These types and conversion functions are used in embedded development.
Note that we cannot yet include other entrypoints such as asctime
because `src/time/time_utils.h` unconditionally uses `EOVERFLOW`, which
is only defined in POSIX and not in C standard. This issue is tracked by
#85556.
Commit: 65058a8d732c3c41664a4dad1a1ae2a504d5c98e
https://github.com/llvm/llvm-project/commit/65058a8d732c3c41664a4dad1a1ae2a504d5c98e
Author: Takuya Shimizu <shimizu2486 at gmail.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/test/CodeGen/AArch64/fexplog.ll
M llvm/test/CodeGen/AArch64/fp-intrinsics.ll
M llvm/test/CodeGen/AArch64/fpow.ll
M llvm/test/CodeGen/AArch64/fsincos.ll
M llvm/test/CodeGen/AArch64/llvm.exp10.ll
Log Message:
-----------
[AArch64][SelectionDAG] Expand v1f64-typed sin,cos,pow,log,exp intrinsics (#83745)
This patch makes NEON-enabled AArch64 backend expand the `sin, cos, pow,
log, log2, log10, exp, exp2, exp10` intrinsics for `v1f64` data type,
all of which caused selection failure before this patch.
Fixes https://github.com/llvm/llvm-project/issues/83729
Commit: b92d6dd704d789240685a336ad8b25a9f381b4cc
https://github.com/llvm/llvm-project/commit/b92d6dd704d789240685a336ad8b25a9f381b4cc
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M clang/lib/Format/AffectedRangeManager.cpp
M clang/lib/Format/BreakableToken.cpp
M clang/lib/Format/ContinuationIndenter.cpp
M clang/lib/Format/DefinitionBlockSeparator.cpp
M clang/lib/Format/FormatToken.cpp
M clang/lib/Format/FormatTokenLexer.cpp
M clang/lib/Format/MacroCallReconstructor.cpp
M clang/lib/Format/MacroExpander.cpp
M clang/lib/Format/NamespaceEndCommentsFixer.cpp
M clang/lib/Format/ObjCPropertyAttributeOrderFixer.cpp
M clang/lib/Format/QualifierAlignmentFixer.cpp
M clang/lib/Format/SortJavaScriptImports.cpp
M clang/lib/Format/TokenAnalyzer.cpp
M clang/lib/Format/TokenAnnotator.cpp
M clang/lib/Format/UnwrappedLineFormatter.cpp
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/lib/Format/UsingDeclarationsSorter.cpp
M clang/lib/Format/WhitespaceManager.cpp
M clang/tools/clang-format/ClangFormat.cpp
Log Message:
-----------
[clang-format][NFC] Delete 100+ redundant #include lines in .cpp files
Commit: 6666b3fca848c2562ad2e7470827561894246a6e
https://github.com/llvm/llvm-project/commit/6666b3fca848c2562ad2e7470827561894246a6e
Author: Petr Hosek <phosek at google.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M libc/config/baremetal/api.td
M libc/config/baremetal/arm/entrypoints.txt
M libc/config/baremetal/riscv/entrypoints.txt
Log Message:
-----------
[libc] Match baremetal stdlib.h entrypoints with types
To match the entrypoints and types we need to exclude __atexithandler_t
and __qsortrcompare_t, as well as qsort_r, which is a GNU extension.
This is a reland of llvm/llvm-project#85030.
Commit: f84980570d3f85bdf5c9432647c05bae04a735a0
https://github.com/llvm/llvm-project/commit/f84980570d3f85bdf5c9432647c05bae04a735a0
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M llvm/tools/llvm-shlib/CMakeLists.txt
Log Message:
-----------
[llvm-shlib] Fix libLLVM-18 symlink on mingw (#85554)
The TARGET_SONAME_FILE_NAME generator expression is not available on dll
target platforms.
Commit: 252d01952c087cf0d141f7f281cf60efeb98be41
https://github.com/llvm/llvm-project/commit/252d01952c087cf0d141f7f281cf60efeb98be41
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/test/Transforms/InstCombine/intrinsic-select.ll
Log Message:
-----------
[InstCombine] Drop UB-implying attrs/metadata after speculating an instruction (#85542)
When speculating an instruction in `InstCombinerImpl::FoldOpIntoSelect`,
the call may result in undefined behavior. This patch drops all
UB-implying attrs/metadata to fix this.
Fixes #85536.
Commit: 5a75242bc898886b9833e328ad5f656246424a81
https://github.com/llvm/llvm-project/commit/5a75242bc898886b9833e328ad5f656246424a81
Author: Petr Hosek <phosek at google.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M libc/config/baremetal/arm/entrypoints.txt
M libc/config/baremetal/riscv/entrypoints.txt
A libc/src/stdio/baremetal/CMakeLists.txt
A libc/src/stdio/baremetal/remove.cpp
Log Message:
-----------
[libc] Include empty remove in baremetal stdio.h (#85336)
This is required to avoid compilation error in libc++.
See #85335 for more details.
Commit: f3c5278efa3b783ada9e7a34b751cf4c5b864535
https://github.com/llvm/llvm-project/commit/f3c5278efa3b783ada9e7a34b751cf4c5b864535
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M clang/include/clang/Format/Format.h
M clang/lib/Format/Format.cpp
M clang/lib/Format/FormatToken.cpp
M clang/lib/Format/FormatToken.h
Log Message:
-----------
[clang-format][NFC] Don't export IsCpp in Format.h
Commit: bfb868201f821047015465fb3f0afa6daa321b5f
https://github.com/llvm/llvm-project/commit/bfb868201f821047015465fb3f0afa6daa321b5f
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/FLATInstructions.td
Log Message:
-----------
[AMDGPU] Fix predicates on FLAT scratch ST/SVS mode Pseudos (#85442)
Definitions like this did not work as intended:
let is_flat_scratch = 1 in {
let SubtargetPredicate = HasFlatScratchSVSMode in
def _SVS : FLAT_Scratch_Load_Pseudo<opName, regClass, HasTiedOutput, 1,
1>,
FlatScratchInst<opName, "SVS">;
let SubtargetPredicate = HasFlatScratchSTMode in
def _ST : FLAT_Scratch_Load_Pseudo<opName, regClass, HasTiedOutput, 0,
0, 0>,
FlatScratchInst<opName, "ST">;
}
They tried to override SubtargetPredicate, but then it was overridden
again (back to its default value) by setting is_flat_scratch, which
caused SubtargetPredicate to be recalculated in the base class. (This
patch also removes some overrides of SubtargetPredicate that are
redundant due to being recalculated in the base class.)
Fix this by pushing overrides of is_flat_scratch and is_flat_global "in"
as far as possible. This has the added benefit that there is no need to
override them around groups of Pseudo definitions like this:
let is_flat_global = 1 in {
defm GLOBAL_ATOMIC_CMPSWAP : FLAT_Global_Atomic_Pseudo
<"global_atomic_cmpswap",
VGPR_32, i32, v2i32, VReg_64>;
...
}
which are plainly Global instructions anyway.
Verified by inspecting the output of TableGen. It seems to be NFC in
practice.
Commit: 7b766a6f505577bbb7d2cd2c553b6207306c0df9
https://github.com/llvm/llvm-project/commit/7b766a6f505577bbb7d2cd2c553b6207306c0df9
Author: XinWang10 <108658776+XinWang10 at users.noreply.github.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
M llvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h
M llvm/lib/Target/X86/MCTargetDesc/X86InstPrinterCommon.cpp
M llvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
M llvm/lib/Target/X86/X86FastISel.cpp
M llvm/lib/Target/X86/X86FlagsCopyLowering.cpp
M llvm/lib/Target/X86/X86InstrAsmAlias.td
M llvm/lib/Target/X86/X86InstrCMovSetCC.td
M llvm/lib/Target/X86/X86InstrFormats.td
M llvm/lib/Target/X86/X86InstrInfo.cpp
M llvm/lib/Target/X86/X86InstrInfo.h
M llvm/lib/Target/X86/X86InstrPredicates.td
M llvm/test/CodeGen/X86/apx/add.ll
A llvm/test/CodeGen/X86/apx/cfcmov.ll
M llvm/test/CodeGen/X86/apx/flags-copy-lowering.mir
M llvm/test/CodeGen/X86/apx/inc.ll
M llvm/test/CodeGen/X86/apx/shift-eflags.ll
M llvm/test/CodeGen/X86/apx/sub.ll
M llvm/test/CodeGen/X86/cmov.ll
M llvm/test/CodeGen/X86/cmp.ll
M llvm/test/CodeGen/X86/isel-select-cmov.ll
A llvm/test/MC/Disassembler/X86/apx/cfcmov.txt
A llvm/test/MC/Disassembler/X86/apx/cmov.txt
M llvm/test/MC/Disassembler/X86/apx/evex-format.txt
M llvm/test/MC/Disassembler/X86/apx/reverse-encoding.txt
A llvm/test/MC/X86/apx/cfcmov-att.s
A llvm/test/MC/X86/apx/cfcmov-intel.s
A llvm/test/MC/X86/apx/cmov-att.s
A llvm/test/MC/X86/apx/cmov-intel.s
M llvm/test/MC/X86/apx/evex-format-att.s
M llvm/test/MC/X86/apx/evex-format-intel.s
M llvm/test/TableGen/x86-fold-tables.inc
M llvm/utils/TableGen/X86ManualFoldTables.def
M llvm/utils/TableGen/X86RecognizableInstr.cpp
M llvm/utils/TableGen/X86RecognizableInstr.h
Log Message:
-----------
[X86] Support APX CMOV/CFCMOV instructions (#82592)
This patch support ND CMOV instructions and CFCMOV instructions.
RFC:
https://discourse.llvm.org/t/rfc-design-for-apx-feature-egpr-and-ndd-support/73031/4
Commit: daa350c1995015daac552548c34b87220f21156d
https://github.com/llvm/llvm-project/commit/daa350c1995015daac552548c34b87220f21156d
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M mlir/lib/Tools/mlir-opt/MlirOptMain.cpp
M mlir/lib/Tools/mlir-translate/MlirTranslateMain.cpp
M mlir/tools/mlir-pdll/mlir-pdll.cpp
Log Message:
-----------
[mlir] Work around MSVC bug
MSVC fails to parse this construct, leading to
MlirTranslateMain.cpp(70): error C2065: 'inputSplitMarker': undeclared identifier
Just switching to brace init works around the issue
Commit: 0269790c9894aaf882b939a6802aa3501d610b3c
https://github.com/llvm/llvm-project/commit/0269790c9894aaf882b939a6802aa3501d610b3c
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[bazel] Fix a missing comma from a2bad75879c33c0e6a2834bb0abcd3e1599d377d
Commit: 0e1e1fc8f0eae6ebdce40ef2154aa90e35e5bed7
https://github.com/llvm/llvm-project/commit/0e1e1fc8f0eae6ebdce40ef2154aa90e35e5bed7
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M clang/include/clang/Driver/Driver.h
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/Driver.cpp
A clang/test/Driver/modules-print-library-module-manifest-path.cpp
Log Message:
-----------
Reland Print library module manifest path again (#84881)
Following of https://github.com/llvm/llvm-project/pull/82160
The reason why the above PR fails is that the `--sysroot` has lower
priority than the libc++ built from the same source. On the one hand, it
matches the codes behavior. We will add the built libc++ project paths
in the ToolChain class. But we will only add the path related to sysroot
in Linux class, which is derived from the ToolChain classes. So the
paths of just built libc++ is in the front of the paths relative to
sysroot. On the other hand, the behavior should be good from the higher
level. Since the just built libc++ has the same version number with the
just built clang, so it makes sense that these 2 compilers just matches.
So for patch it self, I hacked it by using resource dir in the test
since the resource dir has the higher priority, which is not strongly
correct since we won't do that in practice.
@kaz7 would you like to test on your environment to avoid this get
reverted again?
On the libc++ side, it shows that it lacks a `modules.json` file for the
just built libc++ directory. If we don't have that, it will be
problematic to use std modules from the just built clang and libc++
pair. Then it is not good. And I feel it may be problematic for future
compiler/standard library developers. So I feel this is somewhat a
libc++ issue that need to be fixed.
Also if we don't like the hacked test in the current patch, we must wait
for libc++ to fix this to proceed. But I feel this is somewhat odd since
the test of clang shouldn't dependent on libc++.
CC: @mordante
---------
Co-authored-by: Mark de Wever <koraq at xs4all.nl>
Commit: 62361fe5dd035ab43a52e6aaa62960d320224fee
https://github.com/llvm/llvm-project/commit/62361fe5dd035ab43a52e6aaa62960d320224fee
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/clang/BUILD.bazel
Log Message:
-----------
[bazel] Port c51095f51b770f0663b65dd8a651601fca15701e
Commit: 56d45b09dcd6c880215481bcc3c6d6281a04d264
https://github.com/llvm/llvm-project/commit/56d45b09dcd6c880215481bcc3c6d6281a04d264
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M lldb/source/Plugins/Language/CPlusPlus/CMakeLists.txt
M lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxx.h
A lldb/source/Plugins/Language/CPlusPlus/LibCxxSliceArray.cpp
M lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/valarray/TestDataFormatterLibcxxValarray.py
M lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/valarray/main.cpp
Log Message:
-----------
[lldb][libc++] Adds slice_array data formatters. (#85544)
Co-authored-by: Michael Buch <michaelbuch12 at gmail.com>
Commit: c5818c3abcafbd4c473a584e98df2ede1437347b
https://github.com/llvm/llvm-project/commit/c5818c3abcafbd4c473a584e98df2ede1437347b
Author: yronglin <yronglin777 at gmail.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M libcxx/docs/Status/Cxx23Issues.csv
Log Message:
-----------
[libc++][NFC] Update LWG3477(Simplify constraints for `semiregular-box`) status (#85399)
Since we implemented `copyable-box` in
(https://reviews.llvm.org/D102135,
https://github.com/llvm/llvm-project/commit/6829db727e9e67dfdb70dd0846ffd4e48e00a98d),
this issue got addressed.
---------
Signed-off-by: yronglin <yronglin777 at gmail.com>
Commit: 0211389064a1d493e826512a54ae547cb9859223
https://github.com/llvm/llvm-project/commit/0211389064a1d493e826512a54ae547cb9859223
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/SemaCXX/datasizeof.cpp
Log Message:
-----------
[clang][Interp] Handle __datasizeof.
Commit: 2c6fb7ce99dfad615ccf64464c79e65b26c1bc93
https://github.com/llvm/llvm-project/commit/2c6fb7ce99dfad615ccf64464c79e65b26c1bc93
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/clang/BUILD.bazel
Log Message:
-----------
[bazel] Add a missing dependency for f2794ccede6d32a6b5ef7a376ced420331e2be27
Commit: d39ac3a8e010582c25e5d7e193ad3153402b1c4f
https://github.com/llvm/llvm-project/commit/d39ac3a8e010582c25e5d7e193ad3153402b1c4f
Author: srcarroll <50210727+srcarroll at users.noreply.github.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M mlir/lib/Dialect/Math/Transforms/ExpandPatterns.cpp
M mlir/test/Dialect/Math/expand-math.mlir
M mlir/test/mlir-cpu-runner/test-expand-math-approx.mlir
Log Message:
-----------
[mlir][math] Reland 58ef9bec071383744fb703ff08df9806f25e4095 (#85436)
The previous implementation decomposes tanh(x) into
`(exp(2x) - 1)/(exp(2x)+1), x < 0`
`(1 - exp(-2x))/(1 + exp(-2x)), x >= 0`
This is fine as it avoids overflow with the exponential, but the whole
decomposition is computed for both cases unconditionally, then the
result is chosen based off the sign of the input. This results in doing
two expensive exp computations.
The proposed change avoids doing the whole computation twice by
exploiting the reflection symmetry `tanh(-x) = -tanh(x)`. We can
"normalize" the input to be positive by setting `y = sign(x) * x`, where
the sign of `x` is computed as `sign(x) = (float)(x > 0) * (-2) + 1`.
Then compute `z = tanh(y) `with the decomposition above for `x >=0` and
"denormalize" the result `z * sign(x)` to retain the sign. The reason it
is done this way is that it is very amenable to vectorization.
This method trades the duplicate decomposition computations (which takes
5 instructions including an extra expensive exp and div) for 4 cheap
instructions to compute the signs value
`arith.cmpf `(which is a pre-existing instruction in the previous impl)
`arith.sitofp`
`arith.mulf`
`arith.addf`
and 1 more instruction to get the right sign in the result
5. `arith.mulf`.
Moreover, numerically, this implementation will yield the exact same
results as the previous implementation.
As part of the relanding, a casting issue from the original commit has
been fixed, i.e. casting bool to float with `uitofp`. Additionally a
correctness test with `mlir-cpu-runner` has been added.
Commit: 192be3c9c13363847d176f2c4bba2bd4be5e822f
https://github.com/llvm/llvm-project/commit/192be3c9c13363847d176f2c4bba2bd4be5e822f
Author: sethp <seth at codecopse.net>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/ExprConstant.cpp
M clang/test/SemaCXX/constexpr-builtin-bit-cast.cpp
Log Message:
-----------
fix: constexpr bit_cast with empty base classes (#82383)
Prior to this commit, clang would fail to produce a constant value for
`b` in:
```c++
struct base {
};
struct s : base {
int z;
};
constexpr auto b = std::bit_cast<s>(0x12);
```
e.g. https://godbolt.org/z/srrbTMPq4
Commit: a4b39f651536c5cd8835a93cdea61039db004252
https://github.com/llvm/llvm-project/commit/a4b39f651536c5cd8835a93cdea61039db004252
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/AST/Interp/records.cpp
Log Message:
-----------
[clang][Interp] Lazily visit const-qualified static data members in C++
Commit: dff3e28df9b92e4d3102a0f8012352cebfc9461d
https://github.com/llvm/llvm-project/commit/dff3e28df9b92e4d3102a0f8012352cebfc9461d
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/Disasm.cpp
Log Message:
-----------
[clang][Interp][NFC] Print qualified name of Descriptor sources
Commit: ca876711aee31e5ec7f4f6f0210de664c8ec7ce4
https://github.com/llvm/llvm-project/commit/ca876711aee31e5ec7f4f6f0210de664c8ec7ce4
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/InterpBuiltin.cpp
Log Message:
-----------
[clang][Interp][NFC] Make local pointer const
Commit: 5143a1241362616840af826d18c067025dae1111
https://github.com/llvm/llvm-project/commit/5143a1241362616840af826d18c067025dae1111
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/InterpBuiltin.cpp
M clang/lib/AST/Interp/InterpFrame.cpp
M clang/test/AST/Interp/builtins.cpp
M clang/test/SemaCXX/warn-constant-evaluated-constexpr.cpp
Log Message:
-----------
[clang][Interp] Add __builtin_is_constant_evaluated warnings
Add the same warnings the current interpreter emits.
Commit: 601e102bdb55e12a2f791e0d68fd6f81ffc21e21
https://github.com/llvm/llvm-project/commit/601e102bdb55e12a2f791e0d68fd6f81ffc21e21
Author: David Green <david.green at arm.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M llvm/include/llvm/Analysis/MemoryLocation.h
M llvm/include/llvm/CodeGen/GlobalISel/GIMatchTableExecutorImpl.h
M llvm/include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h
M llvm/include/llvm/CodeGen/MachineFunction.h
M llvm/include/llvm/CodeGen/MachineMemOperand.h
M llvm/include/llvm/CodeGen/SelectionDAG.h
M llvm/lib/CodeGen/DFAPacketizer.cpp
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
M llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
M llvm/lib/CodeGen/GlobalISel/LoadStoreOpt.cpp
M llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
M llvm/lib/CodeGen/MIRVRegNamerUtils.cpp
M llvm/lib/CodeGen/MachineFunction.cpp
M llvm/lib/CodeGen/MachineInstr.cpp
M llvm/lib/CodeGen/MachineOperand.cpp
M llvm/lib/CodeGen/MachinePipeliner.cpp
M llvm/lib/CodeGen/MachineStableHash.cpp
M llvm/lib/CodeGen/MachineVerifier.cpp
M llvm/lib/CodeGen/ModuloSchedule.cpp
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/CodeGen/TargetInstrInfo.cpp
M llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
M llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerCombiner.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
M llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
M llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
M llvm/lib/Target/ARM/ARMHazardRecognizer.cpp
M llvm/lib/Target/BPF/BPFISelDAGToDAG.cpp
M llvm/lib/Target/Hexagon/HexagonStoreWidening.cpp
M llvm/lib/Target/Mips/MipsInstructionSelector.cpp
M llvm/lib/Target/Mips/MipsLegalizerInfo.cpp
M llvm/lib/Target/Mips/MipsPreLegalizerCombiner.cpp
M llvm/lib/Target/Mips/MipsRegisterBankInfo.cpp
M llvm/lib/Target/PowerPC/GISel/PPCInstructionSelector.cpp
M llvm/lib/Target/PowerPC/PPCHazardRecognizers.cpp
M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
M llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
M llvm/lib/Target/X86/X86AvoidStoreForwardingBlocks.cpp
Log Message:
-----------
[CodeGen] Use LocationSize for MMO getSize (#84751)
This is part of #70452 that changes the type used for the external
interface of MMO to LocationSize as opposed to uint64_t. This means the
constructors take LocationSize, and convert ~UINT64_C(0) to
LocationSize::beforeOrAfter(). The getSize methods return a
LocationSize.
This allows us to be more precise with unknown sizes, not accidentally
treating them as unsigned values, and in the future should allow us to
add proper scalable vector support but none of that is included in this
patch. It should mostly be an NFC.
Global ISel is still expected to use the underlying LLT as it needs, and
are not expected to see unknown sizes for generic operations. Most of
the changes are hopefully fairly mechanical, adding a lot of getValue()
calls and protecting them with hasValue() where needed.
Commit: 07b18c5e1b7a8ac9347f945da5ffaecc4515f391
https://github.com/llvm/llvm-project/commit/07b18c5e1b7a8ac9347f945da5ffaecc4515f391
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M libcxx/benchmarks/CMakeLists.txt
A libcxx/benchmarks/algorithms/fill.bench.cpp
M libcxx/docs/ReleaseNotes/19.rst
M libcxx/include/__algorithm/fill_n.h
M libcxx/include/__bit_reference
M libcxx/test/libcxx/containers/sequences/vector/robust_against_adl.pass.cpp
M libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/fill.pass.cpp
M libcxx/test/std/algorithms/alg.nonmodifying/alg.count/count.pass.cpp
M libcxx/test/std/algorithms/alg.nonmodifying/alg.count/ranges.count.pass.cpp
Log Message:
-----------
[libc++] Optimize ranges::fill{,_n} for vector<bool>::iterator (#84642)
```
------------------------------------------------------
Benchmark old new
------------------------------------------------------
bm_ranges_fill_n/1 1.64 ns 3.06 ns
bm_ranges_fill_n/2 3.45 ns 3.06 ns
bm_ranges_fill_n/3 4.88 ns 3.06 ns
bm_ranges_fill_n/4 6.46 ns 3.06 ns
bm_ranges_fill_n/5 8.03 ns 3.06 ns
bm_ranges_fill_n/6 9.65 ns 3.07 ns
bm_ranges_fill_n/7 11.5 ns 3.06 ns
bm_ranges_fill_n/8 13.0 ns 3.06 ns
bm_ranges_fill_n/16 25.9 ns 3.06 ns
bm_ranges_fill_n/64 103 ns 4.62 ns
bm_ranges_fill_n/512 711 ns 4.40 ns
bm_ranges_fill_n/4096 5642 ns 9.86 ns
bm_ranges_fill_n/32768 45135 ns 33.6 ns
bm_ranges_fill_n/262144 360818 ns 243 ns
bm_ranges_fill_n/1048576 1442828 ns 982 ns
bm_ranges_fill/1 1.63 ns 3.17 ns
bm_ranges_fill/2 3.43 ns 3.28 ns
bm_ranges_fill/3 4.97 ns 3.31 ns
bm_ranges_fill/4 6.53 ns 3.27 ns
bm_ranges_fill/5 8.12 ns 3.33 ns
bm_ranges_fill/6 9.76 ns 3.32 ns
bm_ranges_fill/7 11.6 ns 3.29 ns
bm_ranges_fill/8 13.2 ns 3.26 ns
bm_ranges_fill/16 26.3 ns 3.26 ns
bm_ranges_fill/64 104 ns 4.92 ns
bm_ranges_fill/512 716 ns 4.47 ns
bm_ranges_fill/4096 5772 ns 8.21 ns
bm_ranges_fill/32768 45778 ns 33.1 ns
bm_ranges_fill/262144 351422 ns 241 ns
bm_ranges_fill/1048576 1404710 ns 965 ns
```
Commit: 8e5de66af3da8c2fc79b8fe2cbc26f94b677434d
https://github.com/llvm/llvm-project/commit/8e5de66af3da8c2fc79b8fe2cbc26f94b677434d
Author: scythris <118685935+scythris at users.noreply.github.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M clang/lib/Format/TokenAnnotator.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] Fix clang-format issue with 'new' and 'delete' keywords in C files (#85470)
This resolves an issue in clang-format where `new` and `delete` were
incorrectly formatted as keywords in C files. The fix modifies
`TokenAnnotator::spaceRequiredBetween` to handle `new` and `delete` when
used as identifiers for function pointers in structs in C code.
Commit: 31775e1894959a92425106de2442159b33e478a6
https://github.com/llvm/llvm-project/commit/31775e1894959a92425106de2442159b33e478a6
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
A llvm/test/Transforms/InstCombine/icmp-select-implies-common-op.ll
Log Message:
-----------
[ValueTracking] Add tests for implied cond with swapped operands; NFC
Commit: 01d8e1ca01223bdeda74096be2a1d869b2d52ea2
https://github.com/llvm/llvm-project/commit/01d8e1ca01223bdeda74096be2a1d869b2d52ea2
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/test/Transforms/InstCombine/assume.ll
M llvm/test/Transforms/InstCombine/icmp-select-implies-common-op.ll
M llvm/test/Transforms/InstCombine/select.ll
M llvm/test/Transforms/InstCombine/shift.ll
Log Message:
-----------
[ValueTracking] Handle non-canonical operand order in `isImpliedCondICmps`
We don't always have canonical order here, so do it manually.
Closes #85575
Commit: 4dc037019f3876c3cf3c63b2c89839a588dd3b2f
https://github.com/llvm/llvm-project/commit/4dc037019f3876c3cf3c63b2c89839a588dd3b2f
Author: Xiang Li <python3kgae at outlook.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M llvm/include/llvm/BinaryFormat/DXContainer.h
M llvm/include/llvm/BinaryFormat/DXContainerConstants.def
M llvm/include/llvm/ObjectYAML/DXContainerYAML.h
M llvm/lib/ObjectYAML/DXContainerYAML.cpp
M llvm/lib/Target/DirectX/DXContainerGlobals.cpp
M llvm/lib/Target/DirectX/DXILShaderFlags.cpp
M llvm/lib/Target/DirectX/DXILShaderFlags.h
M llvm/lib/Target/DirectX/DXILTranslateMetadata.cpp
M llvm/test/CodeGen/DirectX/ShaderFlags/double-extensions.ll
M llvm/test/CodeGen/DirectX/ShaderFlags/doubles.ll
M llvm/test/CodeGen/DirectX/lib_entry.ll
Log Message:
-----------
[DirectX] Add DXIL_MODULE_FLAG for ShaderFlags. (#83217)
Add DXIL module flag bit offset for SHADER_FEATURE_FLAG.
Added DXIL_MODULE_FLAG for DXIL module flag which does not have feature flag.
Use DXILModuleFlags for ComputedShaderFlags instead of
ShaderFeatureFlags.
ComputedShaderFlags::getFeatureFlags() was added to get FeatureFlags.
Rename DXContainerGlobals::getShaderFlags to DXContainerGlobals::getFeatureFlags.
Fixes #57925
Commit: 5a4bbaf8c07d3d4b5ccf654d496faace264ff795
https://github.com/llvm/llvm-project/commit/5a4bbaf8c07d3d4b5ccf654d496faace264ff795
Author: Petr Hosek <phosek at google.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M libc/src/stdio/baremetal/CMakeLists.txt
M libc/src/stdio/linux/CMakeLists.txt
Log Message:
-----------
[libc] remove.cpp dependency on libc.include.stdio
This addresses a build error introduced by
5a75242bc898886b9833e328ad5f656246424a81.
Commit: 75473cf07e1b62325412843d58212ad896cba677
https://github.com/llvm/llvm-project/commit/75473cf07e1b62325412843d58212ad896cba677
Author: Nico Weber <thakis at chromium.org>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M llvm/utils/gn/secondary/clang/include/clang/Basic/BUILD.gn
M llvm/utils/gn/secondary/clang/tools/clang-installapi/BUILD.gn
Log Message:
-----------
[gn] port c51095f51b77 (InstallAPI diag tablegen)
Commit: f98b556e0f4ecd2ec1dcb636d74d494f2284b630
https://github.com/llvm/llvm-project/commit/f98b556e0f4ecd2ec1dcb636d74d494f2284b630
Author: Nico Weber <thakis at chromium.org>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M llvm/utils/gn/secondary/clang/lib/InstallAPI/BUILD.gn
Log Message:
-----------
[gn] port f2794ccede6d
Commit: c0d03d28c58f3016eb25ce8d1160e11183d01735
https://github.com/llvm/llvm-project/commit/c0d03d28c58f3016eb25ce8d1160e11183d01735
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M llvm/utils/gn/secondary/lldb/source/Plugins/Language/CPlusPlus/BUILD.gn
Log Message:
-----------
[gn build] Port 56d45b09dcd6
Commit: 6cc8d54a75939b18b72cc631d457613de3bef3a4
https://github.com/llvm/llvm-project/commit/6cc8d54a75939b18b72cc631d457613de3bef3a4
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M libcxx/include/__functional/function.h
Log Message:
-----------
[libc++] Add missing hide-from-ABI annotations on virtual functions (#85439)
Commit: 843a978b6f387e807a44c8861e5c3728a380098b
https://github.com/llvm/llvm-project/commit/843a978b6f387e807a44c8861e5c3728a380098b
Author: Dhruv Chawla <dhruvc at nvidia.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
M llvm/test/CodeGen/AArch64/fcmp.ll
M llvm/test/CodeGen/AArch64/sext.ll
M llvm/test/CodeGen/AArch64/vecreduce-add.ll
M llvm/test/CodeGen/AArch64/zext.ll
Log Message:
-----------
[GlobalISel] Add support to moreElementsVector for G_SEXT, G_ZEXT and G_ANYEXT (#85038)
Commit: 208a9850e6a4b64ad6311361735d27a9c6cbd8ec
https://github.com/llvm/llvm-project/commit/208a9850e6a4b64ad6311361735d27a9c6cbd8ec
Author: Dhruv Chawla <dhruvc at nvidia.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/legalize-load-store.mir
M llvm/test/CodeGen/AArch64/vecreduce-add.ll
Log Message:
-----------
[AArch64][GlobalISel] Avoid splitting loads of large vector types into individual element loads (#85042)
This patch fixes an issue with the legalization of G_LOAD where the
presence of .lowerIfMemSizeNotByteSizePow2 before .clampMaxNumElements
was causing issues for vectors which matched that condition.
Such vectors would be lowered into per-element loads instead of being
split up into 128-bit chunks.
Commit: 55a02d10d9819b485f67546c6c1aee856a3cd62c
https://github.com/llvm/llvm-project/commit/55a02d10d9819b485f67546c6c1aee856a3cd62c
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format][NFC] Minor changes to a unit test in 8e5de66af3da
See https://github.com/llvm/llvm-project/pull/85470#discussion_r1527297517
Commit: ec34699f750efc5292db503c6700ddeede59ff03
https://github.com/llvm/llvm-project/commit/ec34699f750efc5292db503c6700ddeede59ff03
Author: Sameer Sahasrabuddhe <sameer.sahasrabuddhe at amd.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h
M llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h
M llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
M llvm/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp
M llvm/lib/CodeGen/MIRParser/MIParser.cpp
M llvm/lib/IR/ConvergenceVerifier.cpp
M llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
M llvm/test/CodeGen/AMDGPU/convergence-tokens.ll
R llvm/test/CodeGen/MIR/AArch64/parse-low-level-type-invalid4.mir
M llvm/test/CodeGen/MIR/AArch64/parse-low-level-type-invalid6.mir
Log Message:
-----------
[GlobalISel] convergence control tokens and intrinsics (#67006)
[GlobalISel] Implement convergence control tokens and intrinsics in GMIR
In the IR translator, convert the LLVM token type to LLT::token(), which is an
alias for the s0 type. These show up as implicit uses on convergent operations.
Differential Revision: https://reviews.llvm.org/D158147
Commit: c8da99959df412fdbf9c3d0d4c0c3e0689609c31
https://github.com/llvm/llvm-project/commit/c8da99959df412fdbf9c3d0d4c0c3e0689609c31
Author: Carlos Alberto Enciso <47597242+CarlosAlbertoEnciso at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/docs/CommandGuide/llvm-debuginfo-analyzer.rst
M llvm/tools/llvm-debuginfo-analyzer/README.txt
Log Message:
-----------
[llvm-debuginfo-analyzer][DOC] Change .wasm references to .o (#85566)
As part of the WebAssembly support work
https://github.com/llvm/llvm-project/pull/82588
As the object files used in the test cases are a single object (just
produced by clang without being processed by wasm-ld), it was determined
to use .o intead of .wasm.
Update the README.txt to reflect that the tool now supports WebAssembly.
Commit: c1ccf0781bf96f8609066bbed1389751926818c1
https://github.com/llvm/llvm-project/commit/c1ccf0781bf96f8609066bbed1389751926818c1
Author: Carlos Alberto Enciso <47597242+CarlosAlbertoEnciso at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
A llvm/include/llvm/DebugInfo/LogicalView/Readers/LVDWARFReader.h
R llvm/include/llvm/DebugInfo/LogicalView/Readers/LVELFReader.h
M llvm/lib/DebugInfo/LogicalView/CMakeLists.txt
M llvm/lib/DebugInfo/LogicalView/LVReaderHandler.cpp
A llvm/lib/DebugInfo/LogicalView/Readers/LVDWARFReader.cpp
R llvm/lib/DebugInfo/LogicalView/Readers/LVELFReader.cpp
M llvm/test/tools/llvm-debuginfo-analyzer/DWARF/dw-at-specification.test
M llvm/test/tools/llvm-debuginfo-analyzer/DWARF/pr-57040-ignored-DW_FORM_implicit_const.test
M llvm/tools/llvm-debuginfo-analyzer/README.txt
M llvm/unittests/DebugInfo/LogicalView/CMakeLists.txt
A llvm/unittests/DebugInfo/LogicalView/DWARFReaderTest.cpp
R llvm/unittests/DebugInfo/LogicalView/ELFReaderTest.cpp
M llvm/utils/gn/secondary/llvm/lib/DebugInfo/LogicalView/BUILD.gn
M llvm/utils/gn/secondary/llvm/unittests/DebugInfo/LogicalView/BUILD.gn
Log Message:
-----------
[llvm-debuginfo-analyzer][NFC] Rename LVElfReader.cpp[h] (#85530)
As part of the WebAssembly support work review
https://github.com/llvm/llvm-project/pull/82588
It was decided to rename:
Files: LVElfReader.cpp[h] -> LVDWARFReader.cpp[h]
ELFReaderTest.cpp -> DWARFReaderTest.cpp
Class: LVELFReader -> LVDWARFReader
The name LVDWARFReader would match the another reader LVCodeViewReader
as they will reflect the type of
debug information format that they are parsing.
Commit: 65ae09eeb6773b14189fc67051870c8fc4eb9ae3
https://github.com/llvm/llvm-project/commit/65ae09eeb6773b14189fc67051870c8fc4eb9ae3
Author: Qiu Chaofan <qiucofan at cn.ibm.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang/lib/Sema/SemaChecking.cpp
M clang/test/CodeGen/PowerPC/builtins-ppc-xlcompat-error.c
M clang/test/CodeGen/PowerPC/builtins-ppc-xlcompat-rotate.c
M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
M llvm/test/CodeGen/PowerPC/rldimi.ll
M llvm/test/CodeGen/PowerPC/rlwimi.ll
M llvm/test/CodeGen/PowerPC/rlwinm.ll
Log Message:
-----------
[PowerPC] Fix behavior of rldimi/rlwimi/rlwnm builtins (#85040)
rldimi is 64-bit instruction, so the corresponding builtin should not
be available in 32-bit mode. Rotate amount should be in range and
cases when mask is zero needs special handling.
This change also swaps the first and second operands of rldimi/rlwimi
to match previous behavior. For masks not ending at bit 63-SH,
rotation will be inserted before rldimi.
Commit: 580f60484e193b4f7f853ea34cc35f4a3240dfa7
https://github.com/llvm/llvm-project/commit/580f60484e193b4f7f853ea34cc35f4a3240dfa7
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M libcxx/include/CMakeLists.txt
M libcxx/include/__algorithm/copy_backward.h
M libcxx/include/__algorithm/copy_move_common.h
M libcxx/include/__algorithm/equal_range.h
M libcxx/include/__algorithm/lexicographical_compare_three_way.h
M libcxx/include/__algorithm/move.h
M libcxx/include/__algorithm/move_backward.h
M libcxx/include/__algorithm/partial_sort.h
M libcxx/include/__algorithm/pop_heap.h
M libcxx/include/__algorithm/push_heap.h
M libcxx/include/__algorithm/rotate.h
M libcxx/include/__algorithm/sort_heap.h
M libcxx/include/__algorithm/stable_sort.h
M libcxx/include/__algorithm/unwrap_iter.h
M libcxx/include/__algorithm/upper_bound.h
M libcxx/include/__atomic/atomic_base.h
M libcxx/include/__concepts/swappable.h
M libcxx/include/__exception/nested_exception.h
M libcxx/include/__expected/expected.h
M libcxx/include/__functional/bind_front.h
M libcxx/include/__functional/function.h
M libcxx/include/__functional/hash.h
M libcxx/include/__functional/not_fn.h
M libcxx/include/__hash_table
M libcxx/include/__iterator/cpp17_iterator_concepts.h
M libcxx/include/__iterator/reverse_iterator.h
M libcxx/include/__mdspan/mdspan.h
M libcxx/include/__memory/allocator_traits.h
M libcxx/include/__memory/compressed_pair.h
M libcxx/include/__memory/shared_ptr.h
M libcxx/include/__memory/uninitialized_algorithms.h
M libcxx/include/__memory/unique_ptr.h
M libcxx/include/__mutex/mutex.h
M libcxx/include/__ranges/iota_view.h
M libcxx/include/__ranges/movable_box.h
M libcxx/include/__ranges/zip_view.h
M libcxx/include/__split_buffer
M libcxx/include/__tree
M libcxx/include/__type_traits/is_assignable.h
M libcxx/include/__type_traits/is_constructible.h
R libcxx/include/__type_traits/is_copy_assignable.h
R libcxx/include/__type_traits/is_copy_constructible.h
R libcxx/include/__type_traits/is_default_constructible.h
M libcxx/include/__type_traits/is_implicitly_default_constructible.h
R libcxx/include/__type_traits/is_move_assignable.h
R libcxx/include/__type_traits/is_move_constructible.h
M libcxx/include/__type_traits/is_nothrow_assignable.h
M libcxx/include/__type_traits/is_nothrow_constructible.h
R libcxx/include/__type_traits/is_nothrow_copy_assignable.h
R libcxx/include/__type_traits/is_nothrow_copy_constructible.h
R libcxx/include/__type_traits/is_nothrow_default_constructible.h
R libcxx/include/__type_traits/is_nothrow_move_assignable.h
R libcxx/include/__type_traits/is_nothrow_move_constructible.h
M libcxx/include/__type_traits/is_swappable.h
M libcxx/include/__type_traits/is_trivially_assignable.h
M libcxx/include/__type_traits/is_trivially_constructible.h
R libcxx/include/__type_traits/is_trivially_copy_assignable.h
R libcxx/include/__type_traits/is_trivially_copy_constructible.h
R libcxx/include/__type_traits/is_trivially_default_constructible.h
R libcxx/include/__type_traits/is_trivially_move_assignable.h
R libcxx/include/__type_traits/is_trivially_move_constructible.h
M libcxx/include/__type_traits/noexcept_move_assign_container.h
M libcxx/include/__utility/exception_guard.h
M libcxx/include/__utility/exchange.h
M libcxx/include/__utility/move.h
M libcxx/include/__utility/pair.h
M libcxx/include/__utility/small_buffer.h
M libcxx/include/__utility/swap.h
M libcxx/include/any
M libcxx/include/array
M libcxx/include/forward_list
M libcxx/include/libcxx.imp
M libcxx/include/list
M libcxx/include/module.modulemap
M libcxx/include/optional
M libcxx/include/string
M libcxx/include/tuple
M libcxx/include/type_traits
M libcxx/include/variant
M libcxx/include/vector
Log Message:
-----------
[libc++][NFC] Merge is{,_nothrow,_trivially}{,_copy,_move,_default}{_assignable,_constructible} (#85308)
These headers have become very small by using compiler builtins, often
containing only two declarations. This merges these headers, since
there doesn't seem to be much of a benefit keeping them separate.
Specifically, `is_{,_nothrow,_trivially}{assignable,constructible}` are
kept and the `copy`, `move` and `default` versions of these type traits
are moved in to the respective headers.
Commit: a2fe4105812531f944f174f2ecfe0c67b8cffaed
https://github.com/llvm/llvm-project/commit/a2fe4105812531f944f174f2ecfe0c67b8cffaed
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M libcxx/include/__algorithm/equal.h
Log Message:
-----------
[libc++][NFC] Simplify the implementation of equal a bit (#84754)
We can simplify the implementation of the two range overload of `equal`
a bit since we can now use `if constexpr`.
Commit: 3e2992f0706db7089b42c54c4eb40c65afc98ec6
https://github.com/llvm/llvm-project/commit/3e2992f0706db7089b42c54c4eb40c65afc98ec6
Author: Christian Ulmann <christianulmann at gmail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M mlir/include/mlir/Transforms/Mem2Reg.h
M mlir/lib/Transforms/Mem2Reg.cpp
M mlir/test/Dialect/LLVMIR/mem2reg-intrinsics.mlir
Log Message:
-----------
[MLIR][Mem2Reg] Replace pattern based approach with a bulk one (#85426)
This commit changes MLIR's Mem2Reg implementation back from being
pattern based into a full pass. Using Mem2Reg as a pattern is
wasteful, as each application can invalidate the dominance info.
Applying changes in bulk allows for reuse of the same dominance info.
Unfortunately, this requires some test changes, due to the `IRBuilder`
not simplifying IR.
Commit: 63897a595a75e9dfc3313610432171f44287db11
https://github.com/llvm/llvm-project/commit/63897a595a75e9dfc3313610432171f44287db11
Author: Christian Ulmann <christianulmann at gmail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M mlir/include/mlir/Transforms/SROA.h
M mlir/lib/Transforms/SROA.cpp
M mlir/test/Dialect/LLVMIR/sroa-intrinsics.mlir
Log Message:
-----------
[MLIR][SROA] Replace pattern based approach with a one-shot one (#85437)
This commit changes MLIR's SROA implementation back from being pattern
based into a full pass. This is beneficial for upcoming changes that
rely more heavily on the datalayout.
Unfortunately, this change required substantial test changes, as the
IRBuilder no cleans up the IR.
Commit: b1e10d761817c548a96df711ec88bd89c7e4a9f9
https://github.com/llvm/llvm-project/commit/b1e10d761817c548a96df711ec88bd89c7e4a9f9
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/utils/gn/secondary/libcxx/include/BUILD.gn
Log Message:
-----------
[gn build] Port 580f60484e19
Commit: 99a8ffe6b1e78d16f5dc528048a7c34a236b62bb
https://github.com/llvm/llvm-project/commit/99a8ffe6b1e78d16f5dc528048a7c34a236b62bb
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M libcxx/include/__type_traits/is_scoped_enum.h
Log Message:
-----------
[libc++] Use __is_scoped_enum for the implementation of is_scoped_enum if it's available (#85580)
Commit: 9b98692eedb78aa106539c36ba02944f32cae1ff
https://github.com/llvm/llvm-project/commit/9b98692eedb78aa106539c36ba02944f32cae1ff
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
A llvm/test/CodeGen/AMDGPU/lto-lower-module-lds.ll
Log Message:
-----------
[AMDGPU] Run LowerLDS at the end of the fullLTO pipeline (#75333)
This change allows us to use `--lto-partitions` in some cases (not at
all guaranteed it works perfectly), as LDS is lowered before the module
is split for parallel codegen.
We must run LowerLDS before splitting modules as it needs to see all
callers of functions with LDS to properly lower them.
Commit: 5d45757ec1f507a52b9ee10e5cab6965feca064d
https://github.com/llvm/llvm-project/commit/5d45757ec1f507a52b9ee10e5cab6965feca064d
Author: Christian Sigg <chsigg at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir][bazel] Partial fix for 513cdb82223a106f183b49a40d9acb1f7efbbe7e. (#85604)
Adds a separate target for bufferization interfaces.
`//mlir:ArithDialect` would need to depend on
`//mlir:ValueBoundsOpInterface` as well, but that's creating a circular
dependency.
Commit: c07c1c47d31c437f3ac7b82ed65eb88bb57ba5e6
https://github.com/llvm/llvm-project/commit/c07c1c47d31c437f3ac7b82ed65eb88bb57ba5e6
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
Log Message:
-----------
[VPlan] Remove redundant cast (NFCI).
SinkCandidate is a VPSingleDefRecipe now, so no cast is needed to access
getUnderlyingInstr directly.
Commit: 5cc228148e800b75adfc778f8b5fbace04478dd3
https://github.com/llvm/llvm-project/commit/5cc228148e800b75adfc778f8b5fbace04478dd3
Author: Matthias Gehre <matthias.gehre at amd.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M mlir/lib/Target/Cpp/TranslateToCpp.cpp
M mlir/test/Target/Cpp/common-cpp.mlir
M mlir/test/Target/Cpp/const.mlir
M mlir/test/Target/Cpp/for.mlir
M mlir/test/Target/Cpp/stdops.mlir
Log Message:
-----------
TranslateToCpp: Emit floating point literals with suffix (#85392)
Emits `2.0e+00f` instead of `(float)2.0e+00`.
This helps consumers of the emitted code, especially when there are
large numbers of floating point literals, to have a simple AST.
Commit: 3128c202f193c39a23a192446899cb5832d8df5e
https://github.com/llvm/llvm-project/commit/3128c202f193c39a23a192446899cb5832d8df5e
Author: Alfie Richards <156316945+AlfieRichardsArm at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/utils/TableGen/AsmMatcherEmitter.cpp
Log Message:
-----------
[TableGen] Bug fix for tied optional operands resolution (#83588)
This fixes tied operand resolution in cases where there are optional operands before the tied operand.
Commit: 6854f6f1b102d1c767388e0ed3a58f0eeed69b62
https://github.com/llvm/llvm-project/commit/6854f6f1b102d1c767388e0ed3a58f0eeed69b62
Author: Alfie Richards <156316945+AlfieRichardsArm at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/include/llvm/Target/Target.td
M llvm/utils/TableGen/AsmMatcherEmitter.cpp
Log Message:
-----------
[TableGen] Add `PreferSmallerInstructions` for Targets. (#83587)
This option means that in assembly matching instructions with smaller
encodings will be preferred.
This will be used for the ARM instruction set where this is the correct
behavior after some other refactoring.
Commit: 68342ed1ac90a2a9a18762add1db69df194820bb
https://github.com/llvm/llvm-project/commit/68342ed1ac90a2a9a18762add1db69df194820bb
Author: Christian Sigg <chsigg at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir][bazel] Fix for 513cdb82223a106f183b49a40d9acb1f7efbbe7e. (#85617)
Follow-up from https://github.com/llvm/llvm-project/pull/85604, this
change also fixes the ArithDialect target.
Commit: 7fad304a0310836c88aefd2a01f825e70bb14aed
https://github.com/llvm/llvm-project/commit/7fad304a0310836c88aefd2a01f825e70bb14aed
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
M llvm/test/CodeGen/AArch64/sme-call-streaming-compatible-to-normal-fn-wihout-sme-attr.ll
Log Message:
-----------
[AArch64][SME] Make coalescer barrier available without +sme. (#85311)
For each call that changes the streaming-mode ISel inserts a
COALESCER_BARRIER node for the FP and (non-scalable) vector arguments to
the callee.
When calling a non-streaming function from a streaming-compatible
function, it's not required to have +sme (in case the SME code-path is
not actually executed at runtime). The patterns to match the
COALESCER_BARRIER however were still predicated with `HasSME`, which is
incorrect. This patch tries to fix that.
Commit: 87cee71b3738547465481740fcbde7d73283678f
https://github.com/llvm/llvm-project/commit/87cee71b3738547465481740fcbde7d73283678f
Author: Kareem Ergawy <kareem.ergawy at amd.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M flang/lib/Lower/Bridge.cpp
M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
A flang/test/Lower/OpenMP/delayed-privatization-allocatable-firstprivate.f90
A flang/test/Lower/OpenMP/delayed-privatization-allocatable-private.f90
A flang/test/Lower/OpenMP/delayed-privatization-pointer.f90
Log Message:
-----------
[flang][MLIR][OpenMP] Extend delayed privatization for scalar allocatables and pointers (#84740)
One more step in extending support for delayed privatization. This diff
adds support for scalar allocatables and pointers.
Commit: 0d313ee3938758b3f2026fdb28497567d1023d9d
https://github.com/llvm/llvm-project/commit/0d313ee3938758b3f2026fdb28497567d1023d9d
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[bazel] Port dbbdee2ea2156170062813fb3d7f2c023d65e02d
Commit: 3ab1481f9aea30fd994d887c9e0801db6a219a31
https://github.com/llvm/llvm-project/commit/3ab1481f9aea30fd994d887c9e0801db6a219a31
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
Log Message:
-----------
[RemoveDIs] Use getFirstNonPHIIt to fix crash #85472 (#85618)
Commit: 40d29537fcea7db91f39c0d7bc7feeb499b8e627
https://github.com/llvm/llvm-project/commit/40d29537fcea7db91f39c0d7bc7feeb499b8e627
Author: Christian Sigg <csigg at google.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir][bazel] Fix BUILD after dbbdee2ea2156170062813fb3d7f2c023d65e02d.
Commit: 6f60ad7e9a3508f19d54c827cf11f7930a0685ee
https://github.com/llvm/llvm-project/commit/6f60ad7e9a3508f19d54c827cf11f7930a0685ee
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang/lib/CodeGen/CGBlocks.cpp
M clang/lib/CodeGen/CGStmtOpenMP.cpp
M clang/test/CodeGenObjC/debug-info-blocks.m
Log Message:
-----------
[RemoveDIs] Update Clang front end to handle DbgRecords (#84756)
This patch fixes problems that pop up when clang emits DbgRecords
instead of debug intrinsics.
Note: this doesn't mean clang is emitting DbgRecords yet, because the
modules it creates are still always in the old debug mode. That will
come in a future patch.
Depends on #84739
Commit: b097b3dc2ba2517621a5e3da3237a77ed0e7586f
https://github.com/llvm/llvm-project/commit/b097b3dc2ba2517621a5e3da3237a77ed0e7586f
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang/lib/CodeGen/CGBlocks.cpp
Log Message:
-----------
Fix formatting in #84756
Commit: 3e4170a587adb789b77ede799d09139b50ebe5bc
https://github.com/llvm/llvm-project/commit/3e4170a587adb789b77ede799d09139b50ebe5bc
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang/lib/CodeGen/CGBlocks.cpp
Log Message:
-----------
Revert "Fix formatting in #84756"
This reverts commit b097b3dc2ba2517621a5e3da3237a77ed0e7586f.
Buildbots: https://lab.llvm.org/buildbot/#/builders/196/builds/47206
Commit: 92122b0b4b514ea6c081e428f47ef1bf9d4f0f17
https://github.com/llvm/llvm-project/commit/92122b0b4b514ea6c081e428f47ef1bf9d4f0f17
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang/lib/CodeGen/CGBlocks.cpp
M clang/lib/CodeGen/CGStmtOpenMP.cpp
M clang/test/CodeGenObjC/debug-info-blocks.m
Log Message:
-----------
Revert "[RemoveDIs] Update Clang front end to handle DbgRecords (#84756)"
This reverts commit 6f60ad7e9a3508f19d54c827cf11f7930a0685ee.
Buildbots: https://lab.llvm.org/buildbot/#/builders/196/builds/47206
Commit: 3493438605079c001b554327c02a4432204aab69
https://github.com/llvm/llvm-project/commit/3493438605079c001b554327c02a4432204aab69
Author: pvanhout <pierre.vanhoutryve at amd.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
R llvm/test/CodeGen/AMDGPU/lto-lower-module-lds.ll
Log Message:
-----------
Revert "[AMDGPU] Run LowerLDS at the end of the fullLTO pipeline (#75333)"
This reverts commit 9b98692eedb78aa106539c36ba02944f32cae1ff.
Commit: f362e12aab9ce07b836a2622fc987cda8b6ab6f8
https://github.com/llvm/llvm-project/commit/f362e12aab9ce07b836a2622fc987cda8b6ab6f8
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang/lib/Format/FormatInternal.h
Log Message:
-----------
[clang-format] Make header self-contained
These includes were removed in 426e6945897afbec01c042bec4771522a2aac176
Commit: 38a44bdc93db5b00310230f6542df39017b9a41b
https://github.com/llvm/llvm-project/commit/38a44bdc93db5b00310230f6542df39017b9a41b
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/test/CodeGen/AArch64/isinf.ll
M llvm/test/CodeGen/AMDGPU/fp-classify.ll
M llvm/test/CodeGen/AMDGPU/fract-match.ll
M llvm/test/CodeGen/PowerPC/fp-classify.ll
A llvm/test/Transforms/CodeGenPrepare/AArch64/fpclass-test.ll
A llvm/test/Transforms/CodeGenPrepare/RISCV/fpclass-test.ll
A llvm/test/Transforms/CodeGenPrepare/X86/fpclass-test.ll
Log Message:
-----------
[CodeGenPrepare] Reverse the canonicalization of isInf/isNanOrInf (#81572)
In commit
https://github.com/llvm/llvm-project/commit/2b582440c16c72b6b021ea5c212ceda3bdfb2b9b,
we canonicalize the isInf/isNanOrInf idiom into fabs+fcmp for better
analysis/codegen (See also the discussion in
https://github.com/llvm/llvm-project/pull/76338).
This patch reverses the fabs+fcmp to `is.fpclass`. If the `is.fpclass`
is not supported by the target, it will be expanded by TLI.
Fixes the regression introduced by
https://github.com/llvm/llvm-project/commit/2b582440c16c72b6b021ea5c212ceda3bdfb2b9b
and
https://github.com/llvm/llvm-project/pull/80414#issuecomment-1936374206.
Commit: 59f34e8c2b5463dcf39fbafffeb30a84ef7b6887
https://github.com/llvm/llvm-project/commit/59f34e8c2b5463dcf39fbafffeb30a84ef7b6887
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/include/llvm/IR/IntrinsicsSPIRV.td
M llvm/lib/MC/SPIRVObjectWriter.cpp
M llvm/lib/Target/SPIRV/SPIRVAsmPrinter.cpp
M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.cpp
M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.h
M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
M llvm/lib/Target/SPIRV/SPIRVMCInstLower.cpp
M llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
M llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.h
M llvm/lib/Target/SPIRV/SPIRVPrepareFunctions.cpp
M llvm/lib/Target/SPIRV/SPIRVSubtarget.h
M llvm/test/CodeGen/SPIRV/ComparePointers.ll
A llvm/test/CodeGen/SPIRV/llvm-intrinsics/lifetime.ll
M llvm/test/CodeGen/SPIRV/transcoding/AtomicCompareExchangeExplicit_cl20.ll
M llvm/test/CodeGen/SPIRV/transcoding/builtin_vars.ll
M llvm/test/CodeGen/SPIRV/transcoding/builtin_vars_arithmetics.ll
M llvm/test/CodeGen/SPIRV/transcoding/builtin_vars_opt.ll
Log Message:
-----------
[SPIRV] Add Lifetime intrinsics/instructions (#85391)
This PR:
* adds Lifetime intrinsics/instructions
* fixes how the binary header is emitted (correct version and better
approximation of Bound)
* add validation into more test cases
Commit: 3e6db602918435b6a5ac476f63f8b259e7e73af4
https://github.com/llvm/llvm-project/commit/3e6db602918435b6a5ac476f63f8b259e7e73af4
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang/lib/CodeGen/CGBlocks.cpp
M clang/lib/CodeGen/CGStmtOpenMP.cpp
M clang/test/CodeGenObjC/debug-info-blocks.m
Log Message:
-----------
[RemoveDIs] Update Clang front end to handle DbgRecords (#84756)
This patch fixes problems that pop up when clang emits DbgRecords
instead of debug intrinsics.
Note: this doesn't mean clang is emitting DbgRecords yet, because the
modules it creates are still always in the old debug mode. That will
come in a future patch.
Depends on #84739
Commit: 295cdd5c3dbd14406bf9cce01e3dfd787fb1ddda
https://github.com/llvm/llvm-project/commit/295cdd5c3dbd14406bf9cce01e3dfd787fb1ddda
Author: Alfie Richards <156316945+AlfieRichardsArm at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/include/llvm/Target/Target.td
M llvm/lib/Target/ARM/ARM.td
M llvm/lib/Target/ARM/ARMInstrFormats.td
M llvm/lib/Target/ARM/ARMInstrThumb.td
M llvm/lib/Target/ARM/ARMInstrThumb2.td
M llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
M llvm/test/MC/ARM/arm-branch-errors.s
M llvm/test/MC/ARM/arm11-hint-instr.s
M llvm/test/MC/ARM/cde-fp-vec.s
M llvm/test/MC/ARM/cde-vec-pred.s
M llvm/test/MC/ARM/cps.s
M llvm/test/MC/ARM/diagnostics.s
M llvm/test/MC/ARM/directive-arch_extension-crypto.s
M llvm/test/MC/ARM/invalid-fp-armv8.s
M llvm/test/MC/ARM/lsl-zero-errors.s
M llvm/test/MC/ARM/mve-load-store.s
M llvm/test/MC/ARM/mve-misc.s
M llvm/test/MC/ARM/neon-complex.s
M llvm/test/MC/ARM/no-mve.s
M llvm/test/MC/ARM/not-armv4.s
M llvm/test/MC/ARM/register-token-source-loc.s
M llvm/test/MC/ARM/tMOVSr.s
M llvm/test/MC/ARM/thumb-diagnostics.s
M llvm/test/MC/ARM/thumb-mov.s
M llvm/test/MC/ARM/thumb2-diagnostics.s
M llvm/test/MC/ARM/vfp4.s
M llvm/test/tools/llvm-mca/ARM/cortex-a57-basic-instructions.s
M llvm/utils/TableGen/AsmMatcherEmitter.cpp
Log Message:
-----------
[ARM][TableGen][MC] Change the ARM mnemonic operands to be optional for ASM parsing (#83436)
This changs the way the assembly matcher works for Aarch32 parsing.
Previously there was a pile of hacks which dictated whether the CC,
CCOut, and VCC operands should be present which de-facto chose if the
wide/narrow (or thumb1/thumb2/arm) instruction version were chosen.
This meant much of the TableGen machinery present for the assembly
matching was effectively being bypassed and worked around.
This patch makes the CC and CCOut operands optional which allows the ASM
matcher operate as it was designed and means we can avoid doing some of
the hacks done previously. This also adds the option for the target to
allow the prioritizing the smaller instruction encodings as is required
for Aarch32.
Commit: a60deaa2046b2aafc4ba2542d6ad42b80af054b0
https://github.com/llvm/llvm-project/commit/a60deaa2046b2aafc4ba2542d6ad42b80af054b0
Author: Paul Walker <paul.walker at arm.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/ConstantHoisting.cpp
M llvm/test/Transforms/ConstantHoisting/AArch64/large-immediate.ll
Log Message:
-----------
[ConstantHoisting] Don't attempt to hoist ConstantInt vectors. (#85416)
The pass uses the TTI hook getIntImmCostIntrin that only supports scalar
integer types. Whilst hoisting expensive vector constant is likely
worthwhile, this is new behaviour and so I've followed the path taken by
the GEP variant of collectConstantCandidates and simply bail for vector
types.
Commit: f0dbcfe3526e2d8e1c4863828877ac21e08023a0
https://github.com/llvm/llvm-project/commit/f0dbcfe3526e2d8e1c4863828877ac21e08023a0
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/docs/RemoveDIsDebugInfo.md
M llvm/include/llvm-c/Core.h
M llvm/include/llvm-c/DebugInfo.h
M llvm/include/llvm-c/Types.h
M llvm/include/llvm/IR/DebugProgramInstruction.h
M llvm/lib/IR/Core.cpp
M llvm/lib/IR/DebugInfo.cpp
M llvm/tools/llvm-c-test/debuginfo.c
M llvm/tools/llvm-c-test/llvm-c-test.h
M llvm/tools/llvm-c-test/main.c
Log Message:
-----------
[RemoveDIs] Update DIBuilder C API with DbgRecord functions [1/2] (#84915)
Follow on from #84739, which updates the DIBuilder class.
All the functions that have been added are temporary and will be
deprecated in the future. The intention is that they'll help downstream
projects adapt during the transition period.
```
New functions (all to be deprecated)
------------------------------------
LLVMIsNewDbgInfoFormat # Returns true if the module is in the new non-instruction mode.
LLVMSetIsNewDbgInfoFormat # Convert to the requested debug info format.
LLVMDIBuilderInsertDeclareIntrinsicBefore # Insert a debug intrinsic (old debug info format).
LLVMDIBuilderInsertDeclareIntrinsicAtEnd # Same as above.
LLVMDIBuilderInsertDbgValueIntrinsicBefore # Same as above.
LLVMDIBuilderInsertDbgValueIntrinsicAtEnd # Same as above.
LLVMDIBuilderInsertDeclareRecordBefore # Insert a debug record (new debug info format).
LLVMDIBuilderInsertDeclareRecordAtEnd # Same as above.
LLVMDIBuilderInsertDbgValueRecordBefore # Same as above.
LLVMDIBuilderInsertDbgValueRecordAtEnd # Same as above.
```
The existing `LLVMDIBuilderInsert...` functions call through to the
intrinsic versions (old debug info format) currently.
In the next patch, I'll swap them to call the debug records versions
(new debug info format). Downstream users of this API can query and
change the current format using the first two functions above, or can
instead opt to temporarily use intrinsics or records explicitly.
Commit: c18fc4fcf3adeb9b7084bf6b873500404d39bf96
https://github.com/llvm/llvm-project/commit/c18fc4fcf3adeb9b7084bf6b873500404d39bf96
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/utils/TableGen/AsmMatcherEmitter.cpp
Log Message:
-----------
Remove unused include. NFC
Commit: 4c5bc7667728d5383c41eb8a20dd5e49257904d2
https://github.com/llvm/llvm-project/commit/4c5bc7667728d5383c41eb8a20dd5e49257904d2
Author: Rodrigo Salazar <4rodrigosalazar at gmail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/copy.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/copy_assign.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/move.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/move_assign.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/path.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/assign.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/refresh.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/replace_filename.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_size.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_type_obs.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/hard_link_count.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/last_write_time.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/status.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/symlink_status.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/copy.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/copy_assign.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/ctor.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/increment.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/move.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/move_assign.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.nonmembers/begin_end.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/copy.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/copy_assign.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/ctor.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/depth.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/disable_recursion_pending.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/increment.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/move.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/move_assign.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/pop.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/recursion_pending.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.nonmembers/begin_end.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.canonical/canonical.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy/copy.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_symlink/copy_symlink.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directories/create_directories.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/create_directory.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/create_directory_with_attributes.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory_symlink/create_directory_symlink.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_hard_link/create_hard_link.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_symlink/create_symlink.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.current_path/current_path.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.equivalent/equivalent.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.exists/exists.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.file_size/file_size.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.hard_lk_ct/hard_link_count.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_block_file/is_block_file.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_char_file/is_character_file.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_directory/is_directory.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_empty/is_empty.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_fifo/is_fifo.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_other/is_other.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_regular_file/is_regular_file.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_socket/is_socket.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_symlink/is_symlink.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.last_write_time/last_write_time.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.permissions/permissions.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.read_symlink/read_symlink.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.relative/relative.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.remove/remove.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.remove_all/remove_all.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.rename/rename.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.resize_file/resize_file.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.space/space.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.status/status.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.symlink_status/symlink_status.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.weakly_canonical/weakly_canonical.pass.cpp
M libcxx/utils/libcxx/test/features.py
Log Message:
-----------
[libcxx][test] Create feature host-can-create-symlinks (#82204)
On Windows you can not create symlinks without elevated privileges
unless you have Windows developer mode enabled. There's ~67 libcxx tests
that run into failures on windows if your environment is not set up
correctly (Go to windows settings and enable "developer mode").
This change:
- Adds a feature check for whether the host can create symlinks. (see
libcxx/utils/libcxx/test/features.py)
- Mark the feature as required for the 67 tests that hit failures on
windows due to this. This will allow lit to correctly mark these tests
as unsupported instead of unexpectedly failed (this is helpful since
then you know you didn't break something with your change, it's just
that it's not supported with your environment).
Commit: 6825081162b69b84c0f4af6f5f71db1bab34e143
https://github.com/llvm/llvm-project/commit/6825081162b69b84c0f4af6f5f71db1bab34e143
Author: Paul Walker <paul.walker at arm.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
M llvm/lib/Target/AArch64/SVEInstrFormats.td
Log Message:
-----------
[NFC][LLVM][SVE][ISel] Remove redundant type information from Pat targets. (#85409)
Commit: 6598f631bdaf6885de867a1d253203d92dd6b76c
https://github.com/llvm/llvm-project/commit/6598f631bdaf6885de867a1d253203d92dd6b76c
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
Log Message:
-----------
Remove another layering violation by unused include. NFC
Commit: c2f75c7159518e238e0185c0f4e615fedcd8a167
https://github.com/llvm/llvm-project/commit/c2f75c7159518e238e0185c0f4e615fedcd8a167
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/AST/Interp/records.cpp
Log Message:
-----------
[clang][Interp] Handle CXXDefaultInitExpr of composite type
Commit: a9f78a3c67790f16b60765be6091840bc1e5f8de
https://github.com/llvm/llvm-project/commit/a9f78a3c67790f16b60765be6091840bc1e5f8de
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/include/llvm/IR/DebugProgramInstruction.h
Log Message:
-----------
Fix Werror buildbots after #84915
e.g. https://lab.llvm.org/buildbot/#/builders/77/builds/35540
Commit: daebe5c4f27ba140ac8d13abf41e3fe4db72b91a
https://github.com/llvm/llvm-project/commit/daebe5c4f27ba140ac8d13abf41e3fe4db72b91a
Author: Chao Chen <116223022+chencha3 at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M mlir/include/mlir/Dialect/XeGPU/IR/XeGPU.h
M mlir/include/mlir/Dialect/XeGPU/IR/XeGPUAttrs.td
M mlir/include/mlir/Dialect/XeGPU/IR/XeGPUDialect.td
M mlir/include/mlir/Dialect/XeGPU/IR/XeGPUOps.td
M mlir/include/mlir/Dialect/XeGPU/IR/XeGPUTypes.td
M mlir/lib/Dialect/XeGPU/IR/XeGPUDialect.cpp
M mlir/lib/Dialect/XeGPU/IR/XeGPUOps.cpp
A mlir/test/Dialect/XeGPU/XeGPUOps.mlir
Log Message:
-----------
[MLIR][XeGPU] Adding XeGPU 2d block operators (#84692)
Hi @joker-eph, This PR adds XeGPU 2D block operators. It contains:
1. `TensorDescType` and `TensorDescAttr` definitions
2. `MemoryScopeAttr` and `CacheHintAttr` definitions which are used by
`TensorDescAttr`.
3. `CreateNdDescOp`, `PrefetchNdOp`, `LoadNdOp`, and `StoreNdOp`
definitions, and their corresponding testcases for illustration.
---------
Co-authored-by: Mehdi Amini <joker.eph at gmail.com>
Commit: ab28c1de23f3880d7d2becf936fe560abe68e020
https://github.com/llvm/llvm-project/commit/ab28c1de23f3880d7d2becf936fe560abe68e020
Author: Bhuminjay Soni <Soni5Happy at gmail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaChecking.cpp
M clang/test/Sema/warn-bitwise-and-bool.c
M clang/test/Sema/warn-bitwise-or-bool.c
Log Message:
-----------
fix unnecessary warning when using bitand with boolean operators (#81976)
This pull request fixes #77601 where using the `bitand` operator with
boolean operands should not trigger the warning, as it would indicate an
intentional use of bitwise AND rather than a typo or error.
Fixes #77601
Commit: 24692088181dd18e491a413d98d9c2ae30464454
https://github.com/llvm/llvm-project/commit/24692088181dd18e491a413d98d9c2ae30464454
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[bazel] Add missing dependencies for daebe5c4f27ba140ac8d13abf41e3fe4db72b91a
Commit: 27d504998ec7ec596bc9ff5d16333aea7a1bac18
https://github.com/llvm/llvm-project/commit/27d504998ec7ec596bc9ff5d16333aea7a1bac18
Author: martinboehme <mboehme at google.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp
M clang/lib/Analysis/FlowSensitive/Transfer.cpp
M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
Log Message:
-----------
[clang][dataflow] Fix `getResultObjectLocation()` on `CXXDefaultArgExpr`. (#85072)
This patch includes a test that causes an assertion failure without the
other
changes in this patch.
Commit: a10aa4485e833d7805dab8eaed4a7ffea1a08f72
https://github.com/llvm/llvm-project/commit/a10aa4485e833d7805dab8eaed4a7ffea1a08f72
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M libcxx/include/__type_traits/remove_reference.h
M libcxx/include/cwchar
M libcxx/include/execution
M libcxx/test/libcxx/transitive_includes/cxx23.csv
M libcxx/test/libcxx/transitive_includes/cxx26.csv
Log Message:
-----------
[libc++] Simplify the implementation of remove_reference (#85207)
GCC 13 introduced the type trait `__remove_reference`. We can simplify
the implementation of `remove_reference` a bit by using it.
Commit: bc70f60418f5edad1aaee91fef832a6e2301c62f
https://github.com/llvm/llvm-project/commit/bc70f60418f5edad1aaee91fef832a6e2301c62f
Author: zicwangupa <87221359+ZiCong-Wang at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SDPatternMatch.h
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/unittests/CodeGen/SelectionDAGPatternMatchTest.cpp
Log Message:
-----------
[SelectionDAG] Add m_Neg and m_Not pattern matcher and update DAGCombiner (#85365)
Resolves #85065
---------
Co-authored-by: Matt Arsenault <arsenm2 at gmail.com>
Commit: 4ea850b52ffbb6ca6a40242558ee005a2a894daf
https://github.com/llvm/llvm-project/commit/4ea850b52ffbb6ca6a40242558ee005a2a894daf
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M libcxx/include/__algorithm/inplace_merge.h
M libcxx/include/__iterator/reverse_iterator.h
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cmp/equal.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cmp/greater-equal.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cmp/greater.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cmp/less-equal.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cmp/less.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cmp/not-equal.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cons/assign.LWG3435.verify.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cons/ctor.default.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cons/ctor.iter.explicit.verify.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cons/ctor.iter.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cons/ctor.reverse_iterator.LWG3435.verify.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.conv/base.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.elem/arrow.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.elem/bracket.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.elem/dereference.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.nav/decrement-assign.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.nav/increment-assign.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.nav/minus.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.nav/plus.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.nav/postdecrement.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.nav/postincrement.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.nav/predecrement.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.nav/preincrement.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.nonmember/minus.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/types.compile.pass.cpp
Log Message:
-----------
[libc++] Remove __unconstrained_reverse_iterator (#85582)
`__unconstrained_reverse_iterator` has outlived its usefullness, since
the standard and subsequently the compilers have been fixed.
Commit: 4109b18ee5de1346c2b89a5c89b86bae5c8631d3
https://github.com/llvm/llvm-project/commit/4109b18ee5de1346c2b89a5c89b86bae5c8631d3
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M libcxx/CMakeLists.txt
M libcxx/docs/ReleaseNotes/19.rst
M libcxx/test/tools/CMakeLists.txt
M libcxx/test/tools/clang_tidy_checks/CMakeLists.txt
M libcxx/utils/ci/buildkite-pipeline.yml
M libcxx/utils/ci/run-buildbot
Log Message:
-----------
[libc++][CMake] Removes LIBCXX_ENABLE_CLANG_TIDY. (#85262)
The clang-tidy selection in CMake was refactored in
https://github.com/llvm/llvm-project/pull/81362. During review it was
suggested to remove this CMake option.
Commit: 1d9fb2ee612f0ccf588d40dc4b5445cffd36e8af
https://github.com/llvm/llvm-project/commit/1d9fb2ee612f0ccf588d40dc4b5445cffd36e8af
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang/test/AST/Interp/builtin-functions.cpp
Log Message:
-----------
[clang][Interp] Disable CFStringMakeConstantString test on AIX
It's not only the fist CFSTR call that's broken on AIX.
See https://github.com/llvm/llvm-project/commit/0a739eb75fe68b1cec4e4aaad8b5395bb5da9a89#commitcomment-139910542
Commit: 4294841ebcbb22076a24267cdf5164c7aeed9941
https://github.com/llvm/llvm-project/commit/4294841ebcbb22076a24267cdf5164c7aeed9941
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang/lib/AST/ExprConstant.cpp
M clang/test/AST/Interp/c.c
M clang/test/Sema/const-eval.c
A clang/test/Sema/constexpr-void-cast.c
Log Message:
-----------
[clang][ExprConst] Can't be past an invalid LValue designator (#84293)
For the test case in C, both `LV.getLValueOffset()` and
`Ctx.getTypeSizeInChars(Ty)` are zero, so we return `true` from
`isOnePastTheEndOfCompleteObject()` and ultimately diagnose this as
being one past the end, but the diagnostic doesn't make sense.
Commit: a8bda0b4a6eb454cb437105efc98c807bd5c4f6d
https://github.com/llvm/llvm-project/commit/a8bda0b4a6eb454cb437105efc98c807bd5c4f6d
Author: Benji Smith <6193112+Benjins at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/docs/ReleaseNotes.rst
M llvm/include/llvm-c/Core.h
M llvm/lib/IR/Core.cpp
M llvm/test/Bindings/llvm-c/echo.ll
M llvm/tools/llvm-c-test/echo.cpp
Log Message:
-----------
[C API] Add accessors for function prefix and prologue data (#82193)
A test is added to echo.ll, and the echo.cpp part of llvm-c-test is
updated to clone a function's prefix and prologue.
Commit: 276847a65af67bdc4eb79989f196d1968cb50ae6
https://github.com/llvm/llvm-project/commit/276847a65af67bdc4eb79989f196d1968cb50ae6
Author: Miguel Raz Guzmán Macedo <miguelraz at ciencias.unam.mx>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/docs/LangRef.rst
M llvm/include/llvm/IR/Intrinsics.td
M llvm/lib/IR/Verifier.cpp
A llvm/test/Verifier/intrinsic-cmp.ll
Log Message:
-----------
[LangRef][IR] Add 3-way compare intrinsics llvm.scmp/llvm.ucmp (#83227)
This PR adds the `[us]cmp` intrinsics to the LangRef, `Intrinsics.td`
and some tests to the IRVerifier.
RFC: https://discourse.llvm.org/t/rfc-add-3-way-comparison-intrinsics/76685
Commit: eb264d825beb048c6e673ddaf5aca069511fcfb3
https://github.com/llvm/llvm-project/commit/eb264d825beb048c6e673ddaf5aca069511fcfb3
Author: ykiko <ykikoykikoykiko at gmail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang/bindings/python/clang/cindex.py
M clang/docs/ReleaseNotes.rst
M clang/include/clang-c/Index.h
Log Message:
-----------
Add some missing Kinds to libclang python bindings (#85571)
Add some Kinds existing in Index.h but missing in cindex.py.
Commit: bfd1d95de270fe38a287b5f48928df56a39ff8ad
https://github.com/llvm/llvm-project/commit/bfd1d95de270fe38a287b5f48928df56a39ff8ad
Author: Adrian Kuegel <akuegel at google.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M mlir/lib/Dialect/XeGPU/IR/XeGPUOps.cpp
Log Message:
-----------
[mlir] Fix unused variable error in builds with asserts enabled.
Commit: fd93a5e3c06a90e931c645948aa73ee9894699d7
https://github.com/llvm/llvm-project/commit/fd93a5e3c06a90e931c645948aa73ee9894699d7
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/lib/Transforms/Vectorize/VPlanPatternMatch.h
M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
Log Message:
-----------
[VPlan] Support match unary and binary recipes in pattern matcher (NFC).
Generalize pattern matchers to take recipe types to match as template
arguments and use it to provide matchers for unary and binary recipes
with specific opcodes and a list of recipe types (VPWidenRecipe,
VPReplicateRecipe, VPWidenCastRecipe, VPInstruction)
The new matchers are used to simplify and generalize the code in
simplifyRecipes.
Commit: cb84f130b724f64f88f780c1731a4c6e9cba99cd
https://github.com/llvm/llvm-project/commit/cb84f130b724f64f88f780c1731a4c6e9cba99cd
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/FLATInstructions.td
Log Message:
-----------
[AMDGPU] Remove unneeded addr mode predicates on FLAT Real instructions (#85641)
These predicates should be copied from the corresponding Pseudo
instruction. Previously that did not work because of a problem with
setting the right predicates on the Pseudos, but #85442 fixed that.
Commit: e5b20c83e5ba25e6e0650df30352ce54c2f6ea2f
https://github.com/llvm/llvm-project/commit/e5b20c83e5ba25e6e0650df30352ce54c2f6ea2f
Author: Qiu Chaofan <qiucofan at cn.ibm.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
M llvm/test/CodeGen/PowerPC/scalar-double-ldst.ll
M llvm/test/CodeGen/PowerPC/scalar-float-ldst.ll
Log Message:
-----------
[PowerPC] Update chain uses when emitting lxsizx (#84892)
Commit: 9cea288bf789c74146cb211a2b5a84895e6866ac
https://github.com/llvm/llvm-project/commit/9cea288bf789c74146cb211a2b5a84895e6866ac
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/utils/release/export.sh
Log Message:
-----------
[release] Fix version extraction in export.sh (#85328)
The LLVM_VERSION_* variables were moved to a new file in
81e20472a0c5a4a8edc5ec38dc345d580681af81.
Commit: e2e3624fae669f85de1445bf7037ff29feb30905
https://github.com/llvm/llvm-project/commit/e2e3624fae669f85de1445bf7037ff29feb30905
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang/test/Sema/constexpr-void-cast.c
Log Message:
-----------
[clang][test] Try to fix constexpr-void-cast test
The test currenlty fails:
https://lab.llvm.org/buildbot/#/builders/139/builds/61628
because it emits a C11 warning when compiling as C. Try to fix that
be defining the C standard to use.
Commit: 9253950ec1690e786ba1cdaaf3234fb30b633eab
https://github.com/llvm/llvm-project/commit/9253950ec1690e786ba1cdaaf3234fb30b633eab
Author: Fraser Cormack <fraser at codeplay.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M libclc/CMakeLists.txt
M libclc/check_external_calls.sh
M libclc/cmake/CMakeLLAsmInformation.cmake
Log Message:
-----------
[libclc] Convert tabs to spaces in CMake (#85634)
Having a mix of tabs and spaces makes the diff of any changes to the
build system noisier than necessary. This commit unifies them to two
spaces.
This includes some minor cosmetic changes such as with joining things on
one line where appropriate.
There are other files in libclc which have tabs but those haven't been
touched at this time. Those could come at another time if desired,
though they might be more contentious as the project isn't
clang-formatted at all and so that might invite larger discussions
around formatting.
Commit: 09bc6abba6e226ad5e9d18d4365690d6f04de21a
https://github.com/llvm/llvm-project/commit/09bc6abba6e226ad5e9d18d4365690d6f04de21a
Author: Jonas Paulsson <paulson1 at linux.ibm.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/include/llvm/CodeGen/MachineFrameInfo.h
M llvm/include/llvm/CodeGen/TargetInstrInfo.h
M llvm/lib/CodeGen/FinalizeISel.cpp
M llvm/lib/CodeGen/MachineFrameInfo.cpp
M llvm/lib/CodeGen/PrologEpilogInserter.cpp
M llvm/lib/Target/PowerPC/PPCTLSDynamicCall.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/AArch64/avoid-zero-copy.mir
M llvm/test/CodeGen/AArch64/stack-probing-no-scratch-reg.mir
M llvm/test/CodeGen/AArch64/stack-probing-shrink-wrap.mir
M llvm/test/CodeGen/AArch64/wrong-callee-save-size-after-livedebugvariables.mir
M llvm/test/CodeGen/AMDGPU/av_spill_cross_bb_usage.mir
M llvm/test/CodeGen/Hexagon/livephysregs-regmask-clobber.mir
M llvm/test/CodeGen/MIR/AMDGPU/stack-id-assert.mir
M llvm/test/CodeGen/Mips/avoid-zero-copy.mir
M llvm/test/CodeGen/Mips/msa/emergency-spill.mir
M llvm/test/CodeGen/RISCV/live-sp.mir
M llvm/test/CodeGen/RISCV/rvv/addi-rvv-stack-object.mir
M llvm/test/CodeGen/RISCV/rvv/rvv-stack-align.mir
M llvm/test/CodeGen/RISCV/rvv/wrong-stack-offset-for-rvv-object.mir
M llvm/test/CodeGen/RISCV/stack-inst-compress.mir
M llvm/test/CodeGen/SystemZ/cond-move-04.mir
M llvm/test/CodeGen/SystemZ/cond-move-08.mir
M llvm/test/CodeGen/SystemZ/cond-move-regalloc-hints-02.mir
M llvm/test/CodeGen/SystemZ/cond-move-regalloc-hints.mir
M llvm/test/CodeGen/SystemZ/frame-28.mir
M llvm/test/CodeGen/X86/fast-regalloc-live-out-debug-values.mir
M llvm/test/CodeGen/X86/heap-alloc-markers.mir
M llvm/test/CodeGen/X86/instr-symbols.mir
M llvm/test/CodeGen/X86/statepoint-fixup-undef.mir
M llvm/test/CodeGen/X86/statepoint-vreg.mir
M llvm/test/DebugInfo/MIR/X86/debug-loc-0.mir
M llvm/test/DebugInfo/MIR/X86/prolog-epilog-indirection.mir
M llvm/test/DebugInfo/X86/live-debug-vars-dse.mir
M llvm/test/DebugInfo/X86/prolog-params.mir
Log Message:
-----------
[MachineFrameInfo] Refactoring around computeMaxcallFrameSize() (NFC) (#78001)
- Use computeMaxCallFrameSize() in PEI::calculateCallFrameInfo() instead of duplicating the code.
- Set AdjustsStack in FinalizeISel instead of in computeMaxCallFrameSize().
Commit: c5177f149b43dcc5a39c2c1aefaf1bba8518fd2e
https://github.com/llvm/llvm-project/commit/c5177f149b43dcc5a39c2c1aefaf1bba8518fd2e
Author: Martin Wehking <martin.wehking at codeplay.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
Log Message:
-----------
Silence potential overflow warning (#83272)
Cast Offset variable to int64_t type directly inside a multiplication
and function call to utilize 64-bit arithmetic.
Ensure that the multiplication will not overflow.
A static analyzer warned about this since the function expects a 64-bit
argument, but the multiplication is evaluated inside a 32-bit context.
Commit: 487f356b20860a3eeb29b836483c639735f9393c
https://github.com/llvm/llvm-project/commit/487f356b20860a3eeb29b836483c639735f9393c
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/IR/AsmWriter.cpp
M llvm/test/DebugInfo/print-non-instruction-debug-info.ll
Log Message:
-----------
[RemoveDIs][AsmWriter] Add empty-metadata operands to the SlotTracker (#85636)
Commit: 0c21377aeafc523bd4a8c40bd27e33498f3199f7
https://github.com/llvm/llvm-project/commit/0c21377aeafc523bd4a8c40bd27e33498f3199f7
Author: Kelvin Li <kkwli at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M flang/include/flang/Semantics/tools.h
M flang/lib/Semantics/check-do-forall.cpp
M flang/lib/Semantics/tools.cpp
M flang/test/Semantics/doconcurrent08.f90
Log Message:
-----------
[flang] Diagnose the impure procedure reference in finalization according to the rank of the entity (#85475)
Use the rank of the array section to determine which final procedure
would be called in diagnosing whether that procedure is impure or not.
Commit: d56110fa025b58e57602a254c841e6e41ea46a42
https://github.com/llvm/llvm-project/commit/d56110fa025b58e57602a254c841e6e41ea46a42
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/AST/Interp/complex.cpp
Log Message:
-----------
[clang][Interp] Fix _Complex comma operators
Handle them before shelling out to visitComplexBinOp().
Commit: 73381a8df80674bd5198a89e8e879c64c48121b8
https://github.com/llvm/llvm-project/commit/73381a8df80674bd5198a89e8e879c64c48121b8
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/PrologEpilogInserter.cpp
Log Message:
-----------
[CodeGen] Fix -Wunused-variable in PrologEpilogInserter.cpp (NFC)
llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:369:12:
error: unused variable 'MaxCFSIn' [-Werror,-Wunused-variable]
uint32_t MaxCFSIn =
^
1 error generated.
Commit: 0c423af59c971ddf1aa12d94529edf8293608157
https://github.com/llvm/llvm-project/commit/0c423af59c971ddf1aa12d94529edf8293608157
Author: Hirofumi Nakamura <k.nakamura.hirofumi at gmail.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M clang/docs/ClangFormatStyleOptions.rst
M clang/include/clang/Format/Format.h
M clang/lib/Format/ContinuationIndenter.cpp
M clang/lib/Format/Format.cpp
M clang/lib/Format/FormatToken.h
M clang/lib/Format/TokenAnnotator.cpp
M clang/unittests/Format/FormatTestTableGen.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
Log Message:
-----------
[clang-format] Add Options to break inside the TableGen DAGArg. (#83149)
Add two options to control the line break inside TableGen DAGArg.
- TableGenBreakInsideDAGArg
- TableGenBreakingDAGArgOperators
Commit: f6f42af06f6fe6a78f044686a36e4995d4f42ac5
https://github.com/llvm/llvm-project/commit/f6f42af06f6fe6a78f044686a36e4995d4f42ac5
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/api.td
M libc/config/linux/riscv/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/dev/undefined_behavior.rst
M libc/spec/posix.td
M libc/src/__support/CPP/string_view.h
M libc/src/sys/mman/CMakeLists.txt
M libc/src/sys/mman/linux/CMakeLists.txt
A libc/src/sys/mman/linux/shm_common.h
A libc/src/sys/mman/linux/shm_open.cpp
A libc/src/sys/mman/linux/shm_unlink.cpp
A libc/src/sys/mman/shm_open.h
A libc/src/sys/mman/shm_unlink.h
M libc/test/src/__support/CPP/stringview_test.cpp
M libc/test/src/sys/mman/linux/CMakeLists.txt
A libc/test/src/sys/mman/linux/shm_test.cpp
Log Message:
-----------
[libc] Add `shm_open/shm_unlink` (#84974)
Commit: 57914f647e2551ea19758038345bb8bc2c4762c1
https://github.com/llvm/llvm-project/commit/57914f647e2551ea19758038345bb8bc2c4762c1
Author: Mike Rice <michael.p.rice at intel.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang-tools-extra/clang-tidy/readability/ImplicitBoolConversionCheck.cpp
Log Message:
-----------
[clang-tidy][NFC] Remove unnecessary nullptr check on cast subexpr (#85473)
The value of SubExpr is not null since getSubExpr would assert in that
case. Remove the nullptr check. This avoids confusion since SubExpr is
used without check later in the function.
Commit: 12b802ac0bc6ddf0742aa3fe8caecd8204d70ca5
https://github.com/llvm/llvm-project/commit/12b802ac0bc6ddf0742aa3fe8caecd8204d70ca5
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang-tools-extra/clang-tidy/bugprone/UnusedReturnValueCheck.cpp
M clang-tools-extra/test/clang-tidy/checkers/bugprone/unused-return-value-avoid-assignment.cpp
Log Message:
-----------
[clang-tidy]bugprone-unused-return-value ignore `++` and `--` operator overloading (#84922)
Fixes: #84705
Further fix for #84489
Commit: 39c739eec9148a2f4e04c7fa9ca11f23db79bb15
https://github.com/llvm/llvm-project/commit/39c739eec9148a2f4e04c7fa9ca11f23db79bb15
Author: Andrei Golubev <andrey.golubev at intel.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M mlir/tools/mlir-tblgen/OpInterfacesGen.cpp
Log Message:
-----------
[mlir][OpInterfacesGen][NFC] Add newline after traits declaration (#85633)
Slightly improve the readability of the tablegen-generated code.
Co-authored-by: Orest Chura <orest.chura at intel.com>
Commit: f8042171552ca16e77a5e9367188e7f218474380
https://github.com/llvm/llvm-project/commit/f8042171552ca16e77a5e9367188e7f218474380
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M libcxx/CMakeLists.txt
M libcxx/docs/ReleaseNotes/19.rst
M libcxx/test/tools/CMakeLists.txt
M libcxx/test/tools/clang_tidy_checks/CMakeLists.txt
M libcxx/utils/ci/buildkite-pipeline.yml
M libcxx/utils/ci/run-buildbot
Log Message:
-----------
Revert "[libc++][CMake] Removes LIBCXX_ENABLE_CLANG_TIDY. (#85262)"
This reverts commit 4109b18ee5de1346c2b89a5c89b86bae5c8631d3.
It looks like the automatic detection has false positives. This broke
the following build https://github.com/llvm/llvm-project/pull/85262
Commit: ca04b56a8b26cbe9327eaab113e1e4af096d902a
https://github.com/llvm/llvm-project/commit/ca04b56a8b26cbe9327eaab113e1e4af096d902a
Author: Shourya Goel <shouryagoel10000 at gmail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M libc/config/linux/x86_64/entrypoints.txt
M libc/src/stdio/CMakeLists.txt
A libc/src/stdio/fileno.h
M libc/src/stdio/generic/CMakeLists.txt
A libc/src/stdio/generic/fileno.cpp
M libc/test/src/stdio/fileop_test.cpp
Log Message:
-----------
[libc] Implement fileno (#85628)
fixes: #85150
Commit: 8d142043e8c4c1144cd94f39f3cc7c88da5cec3f
https://github.com/llvm/llvm-project/commit/8d142043e8c4c1144cd94f39f3cc7c88da5cec3f
Author: Balaji V. Iyer <43187390+bviyer at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M mlir/include/mlir/Dialect/XeGPU/IR/XeGPU.h
M mlir/include/mlir/Dialect/XeGPU/IR/XeGPUAttrs.td
M mlir/include/mlir/Dialect/XeGPU/IR/XeGPUDialect.td
M mlir/include/mlir/Dialect/XeGPU/IR/XeGPUOps.td
M mlir/include/mlir/Dialect/XeGPU/IR/XeGPUTypes.td
M mlir/lib/Dialect/XeGPU/IR/XeGPUDialect.cpp
M mlir/lib/Dialect/XeGPU/IR/XeGPUOps.cpp
R mlir/test/Dialect/XeGPU/XeGPUOps.mlir
Log Message:
-----------
Revert "[MLIR][XeGPU] Adding XeGPU 2d block operators (#84692)" (#85653)
This reverts commit daebe5c4f27ba140ac8d13abf41e3fe4db72b91a.
This commit causes the following asan issue:
```
<snip>/llvm-project/build/bin/mlir-opt <snip>/llvm-project/mlir/test/Dialect/XeGPU/XeGPUOps.mlir | <snip>/llvm-project/build/bin/FileCheck <snip>/llvm-project/mlir/test/Dialect/XeGPU/XeGPUOps.mlir
# executed command: <snip>/llvm-project/build/bin/mlir-opt <snip>/llvm-project/mlir/test/Dialect/XeGPU/XeGPUOps.mlir
# .---command stderr------------
# | =================================================================
# | ==2772558==ERROR: AddressSanitizer: stack-use-after-return on address 0x7fd2c2c42b90 at pc 0x55e406d54614 bp 0x7ffc810e4070 sp 0x7ffc810e4068
# | READ of size 8 at 0x7fd2c2c42b90 thread T0
# | #0 0x55e406d54613 in operator()<long int const*> /usr/include/c++/13/bits/predefined_ops.h:318
# | #1 0x55e406d54613 in __count_if<long int const*, __gnu_cxx::__ops::_Iter_pred<mlir::verifyListOfOperandsOrIntegers(Operation*, llvm::StringRef, unsigned int, llvm::ArrayRef<long int>, ValueRange)::<lambda(int64_t)> > > /usr/include/c++/13/bits/stl_algobase.h:2125
# | #2 0x55e406d54613 in count_if<long int const*, mlir::verifyListOfOperandsOrIntegers(Operation*,
...
```
Commit: bd9a2afa8015a3f0bcc214a053816f4275f8d891
https://github.com/llvm/llvm-project/commit/bd9a2afa8015a3f0bcc214a053816f4275f8d891
Author: zhongyunde 00443407 <zhongyunde at huawei.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/select.ll
Log Message:
-----------
[InstCombine] Add tests for selects with same conditions (NFC)
Commit: 705788c84623b4f1dab72a108e039a0de2d53cf6
https://github.com/llvm/llvm-project/commit/705788c84623b4f1dab72a108e039a0de2d53cf6
Author: Endre Fülöp <endre.fulop at sigmatechnology.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/BlockInCriticalSectionChecker.cpp
M clang/test/Analysis/block-in-critical-section.cpp
Log Message:
-----------
[clang][analyzer] Improve BlockInCriticalSectionsChecker (#80029)
* Add support for multiple, potentially overlapping critical sections:
The checker can now simultaneously handle several mutex's critical
sections without confusing them.
* Implement the handling of recursive mutexes:
By identifying the lock events, recursive mutexes are now supported.
A lock event is a pair of a lock expression, and the SVal of the mutex
that it locks, so even multiple locks of the same mutex (and even by
the same expression) is now supported.
* Refine the note tags generated by the checker:
The note tags now correctly show just for mutexes that are
active at the point of error, and multiple acquisitions of the same mutex
are also noted.
Commit: 9a784303a3666e9d9b93088a1519e1dc2ba4d015
https://github.com/llvm/llvm-project/commit/9a784303a3666e9d9b93088a1519e1dc2ba4d015
Author: David Green <david.green at arm.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/legalize-load-store.mir
M llvm/test/CodeGen/AArch64/GlobalISel/legalize-xtn.mir
M llvm/test/CodeGen/AArch64/bitcast.ll
M llvm/test/CodeGen/AArch64/itofp.ll
Log Message:
-----------
[AArch64][GlobalISel] Legalize small G_TRUNC (#85625)
This is an alternative to #85610, that moreElement's small G_TRUNC
vectors to widen the vectors. It needs to disable one of the existing
Unmerge(Trunc(..)) combines, and some of the code is not as optimal as
it could be. I believe with some extra optimizations it could look
better (I was thinking combining trunc(buildvector) -> buildvector and
possibly improving buildvector lowering by generating
insert_vector_element earlier).
Commit: ece2903ce730392e5236d27f1f387fa8067fcb1b
https://github.com/llvm/llvm-project/commit/ece2903ce730392e5236d27f1f387fa8067fcb1b
Author: alx32 <103613512+alx32 at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M lld/MachO/Driver.cpp
M lld/MachO/InputSection.h
M lld/MachO/ObjC.cpp
M lld/MachO/ObjC.h
M lld/MachO/Options.td
A lld/test/MachO/objc-category-merging-complete-test.s
A lld/test/MachO/objc-category-merging-extern-class-minimal.s
Log Message:
-----------
[lld-macho] Implement ObjC category merging (-objc_category_merging) (#82928)
This change adds a flag to lld to enable category merging for MachoO +
ObjC.
It adds the '-objc_category_merging' flag for enabling this option and
uses the existing '-no_objc_category_merging' flag for disabling it.
In ld64, this optimization is enabled by default, but in lld, for now,
we require explicitly passing the '-objc_category_merging' flag in order
to enable it.
Behavior: if in the same link unit, multiple categories are extending
the same class, then they get merged into a single category.
Ex: `Cat1(method1+method2,protocol1) + Cat2(method3+method4,protocol2,
property1) = Cat1_2(method1+method2+method3+method4,
protocol1+protocol2, property1)`
Notes on implementation decisions made in this diff:
1. There is a possibility to further improve the current implementation
by directly merging the category data into the base class (if the base
class is present in the link unit) - this improvement may be done as a
follow-up. This improved functionality is already present in ld64.
2. We do the merging on the raw inputSections - after dead-stripping
(categories can't be dead stripped anyway).
3. The changes are mostly self-contained to ObjC.cpp, except for adding
a new flag (linkerOptimizeReason) to ConcatInputSection and StringPiece
to mark that this data has been optimized away. Another way to do it
would have been to just mark the pieces as not 'live' but this would
cause the old symbols to show up in the linker map as being
dead-stripped - even if dead-stripping is disabled. This flag allows us
to match the ld64 behavior.
---------
Co-authored-by: Alex B <alexborcan at meta.com>
Commit: 280c7a9526a9ae7f959117c9cec94f8c8887f15c
https://github.com/llvm/llvm-project/commit/280c7a9526a9ae7f959117c9cec94f8c8887f15c
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang/lib/Driver/Driver.cpp
Log Message:
-----------
[Clang] Fix preprocessing device only in HIP mode
Summary:
A recent change made the HIP compilation bundle by default. However we
don't want to do this for `-E`, which silently broke some handling.
Commit: 0db2e1e91a9124c276fd00f674b71f038a53ddec
https://github.com/llvm/llvm-project/commit/0db2e1e91a9124c276fd00f674b71f038a53ddec
Author: Alex Richardson <alexrichardson at google.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cpp
M compiler-rt/test/sanitizer_common/TestCases/corelimit.cpp
Log Message:
-----------
Reland "[compiler-rt] Avoid generating coredumps when piped to a tool"
Updated the corelimit.cpp test to handle buildbots with RLIMIT_CORE
rlim_max already set to zero.
Original commit message:
I was trying to debug why `ninja check-compiler-rt` was taking so long
to run on my system and after some debugging it turned out that most of
the time was being spent generating core dumps.
On many current Linux systems, coredumps are no longer dumped in the CWD
but instead piped to a utility such as systemd-coredumpd that stores
them in a deterministic location. This can be done by setting the
kernel.core_pattern sysctl to start with a '|'. However, when using such
a setup the kernel ignores a coredump limit of 0 (since there is no file
being written) and we can end up piping many gigabytes of data to
systemd-coredumpd which causes the test suite to freeze for a long time.
While most piped coredump handlers do respect the crashing processes'
RLIMIT_CORE, this is notable not the case for Debian's systemd-coredump
due to a local patch that changes sysctl.d/50-coredump.conf to ignore
the specified limit and instead use RLIM_INFINITY
(https://salsa.debian.org/systemd-team/systemd/-/commit/64599ffe44f0d).
Fortunately there is a workaround: the kernel recognizes the magic value
of 1 for RLIMIT_CORE to disable coredumps when piping. One byte is also
too small to generate any coredump, so it effectively behaves as if we
had set the value to zero.
The alternative to using RLIMIT_CORE=1 would be to use prctl() with the
PR_SET_DUMPABLE flag, however that also prevents ptrace(), so makes it
impossible to attach a debugger.
Fixes: https://github.com/llvm/llvm-project/issues/45797
This reverts commit 0b9f19a9880eb786871194af116f223d2ad30c52.
Commit: 67c5a98caea419a9720712d3977d487ab95f6356
https://github.com/llvm/llvm-project/commit/67c5a98caea419a9720712d3977d487ab95f6356
Author: Fraser Cormack <fraser at codeplay.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/IR/AutoUpgrade.cpp
Log Message:
-----------
[IR][NFC] Suppress warnings in ternary operators
Just doing this the same way as in AMDGPUPromoteAlloca.cpp
Commit: 44c579f5b56e89c44ad508805f742601ce3db2b1
https://github.com/llvm/llvm-project/commit/44c579f5b56e89c44ad508805f742601ce3db2b1
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
A llvm/test/Transforms/SLPVectorizer/X86/minbitwidth-user-not-min.ll
Log Message:
-----------
[SLP][NFC]Add a test with minbitwidth operand, but not a user.
Commit: 27d7bb861613a09e852b7d9979a1b6fdfe517a84
https://github.com/llvm/llvm-project/commit/27d7bb861613a09e852b7d9979a1b6fdfe517a84
Author: Nick Desaulniers <nickdesaulniers at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M libc/config/gpu/entrypoints.txt
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/riscv/entrypoints.txt
M libc/test/src/stdio/CMakeLists.txt
M libc/test/src/stdio/fileop_test.cpp
Log Message:
-----------
[libc] fix up fileno tests (#85660)
Fixes #85628
Commit: c48d8182f172ac24244d5fb038b7ab983f67def4
https://github.com/llvm/llvm-project/commit/c48d8182f172ac24244d5fb038b7ab983f67def4
Author: Michael Maitland <michaeltmaitland at gmail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCV.td
M llvm/lib/Target/RISCV/RISCVProcessors.td
A llvm/lib/Target/RISCV/RISCVSchedSiFiveP600.td
Log Message:
-----------
[RISCV] Add SiFiveP600Model SchedModel that is used by sifive-p670 (#84962)
This PR includes an initial scheduler model shows improvement on
multiple workloads over NoSchedModel and SiFive7Model for sifive-p670.
We plan on making significant changes to this model in the future so
that it is more accurate. This patch would close
https://github.com/llvm/llvm-project/pull/80612.
Commit: e5f2ed37e58d5d3e8d8ab8a688ed9fadcd665083
https://github.com/llvm/llvm-project/commit/e5f2ed37e58d5d3e8d8ab8a688ed9fadcd665083
Author: Michael Maitland <michaeltmaitland at gmail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVSchedSiFiveP600.td
Log Message:
-----------
[RISCV] Add IMinMax sched resources to P600SchedModel
CI checks were passing in #84962 (c48d8182f172ac24244d5fb038b7ab983f67def4) but
that commit caused failures once merged due to ships passing since the
PR was not rebased on #85131. This commit fixes this problem by adding
sched resources for integer min max instructions from Zbb in P600 model.
Commit: 85d7fef6c1ea08c944c8e0eda6ea520d49e595b4
https://github.com/llvm/llvm-project/commit/85d7fef6c1ea08c944c8e0eda6ea520d49e595b4
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
Log Message:
-----------
[flang][NFC] Fix include style (#85655)
Commit: 457f762651e331341872abccbb7d7724c89cbf50
https://github.com/llvm/llvm-project/commit/457f762651e331341872abccbb7d7724c89cbf50
Author: Paul Kirth <paulkirth at google.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang/cmake/caches/Fuchsia-stage2.cmake
Log Message:
-----------
[cmake] Disable FatLTO in clang build for Fuchsia (#85677)
We're seeing an issue on Macs, which shouldn't be using this config, so
we will temporarily disable this while we investigate.
Commit: 1261c02be4829984f025f258f3717277d04a8332
https://github.com/llvm/llvm-project/commit/1261c02be4829984f025f258f3717277d04a8332
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/LICM.cpp
M llvm/test/Transforms/LICM/expr-reassociate-int.ll
Log Message:
-----------
[LICM] Drop nsw/nuw flags on affected instructions in hoistMulAddAssociation. (#85486)
Since we are introducing new multiplies earlier in the arithmetic, the
nsw/nuw flags on later instructions are no longer accurate.
Fixes #85457.
Commit: 7d55b916a5e5091ff21d6fea4aaa54efe73535a7
https://github.com/llvm/llvm-project/commit/7d55b916a5e5091ff21d6fea4aaa54efe73535a7
Author: Guray Ozen <guray.ozen at gmail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M mlir/lib/ExecutionEngine/CudaRuntimeWrappers.cpp
A mlir/test/Integration/GPU/CUDA/sm90/tma_load_128x128_stride_noswizzle.mlir
Log Message:
-----------
[mlir][nvgpu] Support strided memref when creating TMA descriptor (#85652)
Commit: 6800f422c22ffd672b1e31f0d0a3fa29d19b7a13
https://github.com/llvm/llvm-project/commit/6800f422c22ffd672b1e31f0d0a3fa29d19b7a13
Author: Kazu Hirata <kazu at google.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M lld/MachO/ObjC.cpp
Log Message:
-----------
[lld] Fix warnings
This patch fixes:
lld/MachO/ObjC.cpp:633:12: error: unused variable 'expectedListSize'
[-Werror,-Wunused-variable]
lld/MachO/ObjC.cpp:1034:12: error: unused variable 'newCatDef'
[-Werror,-Wunused-variable]
Commit: 20f5bcfb1a3b58c430a5df6dd837b30c22a2b788
https://github.com/llvm/llvm-project/commit/20f5bcfb1a3b58c430a5df6dd837b30c22a2b788
Author: nicebert <110385235+nicebert at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M openmp/libomptarget/include/OpenMP/Mapping.h
M openmp/libomptarget/include/Shared/Debug.h
M openmp/libomptarget/include/omptarget.h
M openmp/libomptarget/src/OpenMP/API.cpp
M openmp/libomptarget/src/OpenMP/Mapping.cpp
M openmp/libomptarget/src/exports
A openmp/libomptarget/test/api/ompx_dump_mapping_tables.cpp
M openmp/runtime/src/include/omp.h.var
Log Message:
-----------
[OpenMP] Add OpenMP extension API to dump mapping tables (#85381)
This adds an API call ompx_dump_mapping_tables.
This allows users to debug the mapping tables and can be especially
useful for unified shared memory applications to check if the code
behaves in the way it should. The implementation reuses code already
present to dump mapping tables (in a debug setting).
---------
Co-authored-by: Joseph Huber <huberjn at outlook.com>
Commit: 8578b6e9120cb2fc8a7fc102587d617144c35532
https://github.com/llvm/llvm-project/commit/8578b6e9120cb2fc8a7fc102587d617144c35532
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPRecipeBuilder.h
Log Message:
-----------
[VPlan] Store VPlan directly in VPRecipeBuilder (NFCI).
Instead of passing VPlan in a number of places, just store it directly
in VPRecipeBuilder. A single instance is only used for a single VPlan.
This simplifies the code and was suggested by @nikolaypanchenko in
https://github.com/llvm/llvm-project/pull/84464.
Commit: 9a5c0d6af93ee1abbdfd47a37927ecc5d5ab6d02
https://github.com/llvm/llvm-project/commit/9a5c0d6af93ee1abbdfd47a37927ecc5d5ab6d02
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/IR/BasicBlock.cpp
Log Message:
-----------
Revert "[RemoveDIs] Enable direct-to-bitcode writing by default"
This reverts commit e419084da7a00b269368aeb95698e0d36b24e8ec.
Likely cause of buildbot failure:
https://lab.llvm.org/buildbot/#/builders/179/builds/9629
Commit: cf835b96b13bec3b5df1962bae609934edda6d55
https://github.com/llvm/llvm-project/commit/cf835b96b13bec3b5df1962bae609934edda6d55
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M libc/config/gpu/entrypoints.txt
Log Message:
-----------
[libc] Remove fileno from GPU entrypoints
Commit: 9936ac308332796bf16024ce30a4aa1fba2cce66
https://github.com/llvm/llvm-project/commit/9936ac308332796bf16024ce30a4aa1fba2cce66
Author: Fangrui Song <i at maskray.me>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang/www/get_started.html
M openmp/docs/SupportAndFAQ.rst
Log Message:
-----------
[docs] Prefer --gcc-install-dir= to deprecated GCC_INSTALL_PREFIX (#85458)
Setting GCC_INSTALL_PREFIX leads to a warning (#77537).
Link:
https://discourse.llvm.org/t/add-gcc-install-dir-deprecate-gcc-toolchain-and-remove-gcc-install-prefix/65091
Link:
https://discourse.llvm.org/t/correct-cmake-parameters-for-building-clang-and-lld-for-riscv/72833
Commit: ff63d628c46459437df21e09f70993685eba4bc3
https://github.com/llvm/llvm-project/commit/ff63d628c46459437df21e09f70993685eba4bc3
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Utils/CodeExtractor.cpp
M llvm/test/Transforms/HotColdSplit/outline-disjoint-diamonds.ll
M llvm/test/Transforms/IROutliner/outlining-no-return-functions.ll
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/generated_funcs.ll.generated.expected
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/generated_funcs.ll.generated.globals.expected
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/generated_funcs.ll.nogenerated.expected
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/generated_funcs.ll.nogenerated.globals.expected
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/generated_funcs_prefix_reuse.ll.generated.expected
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/generated_funcs_prefix_reuse.ll.generated.globals.expected
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/generated_funcs_prefix_reuse.ll.nogenerated.expected
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/generated_funcs_prefix_reuse.ll.nogenerated.globals.expected
Log Message:
-----------
[CodeExtractor] Terminate callsite blocks to new `noreturn` functions with `unreachable`
Since some of the users of `CodeExtractor` like `HotColdSplitting` run
late in the pipeline, returns are not cleaned to `unreachable`. So,
just emit `unreachable` directly if the function is `noreturn`.
Closes #84682
Commit: 6984ba7b94e13694caeea6a8dada9f79b2cc644a
https://github.com/llvm/llvm-project/commit/6984ba7b94e13694caeea6a8dada9f79b2cc644a
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/test/Transforms/InstSimplify/floating-point-arithmetic.ll
Log Message:
-----------
[InstSimply] Add tests for simplify `(fmul -x, +/-0)`; NFC
Commit: 5265be11b1bbf5d744cf564dce91e789e2ab4c9e
https://github.com/llvm/llvm-project/commit/5265be11b1bbf5d744cf564dce91e789e2ab4c9e
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/test/Transforms/InstSimplify/floating-point-arithmetic.ll
Log Message:
-----------
[InstSimply] Simplify `(fmul -x, +/-0)` -> `-/+0`
We already handle the `+x` case, and noticed it was missing in the bug
affecting #82555
Proofs: https://alive2.llvm.org/ce/z/WUSvmV
Closes #85345
Commit: 18da51b2b227bcaee0efd13c4bc9ba408ea6b6e6
https://github.com/llvm/llvm-project/commit/18da51b2b227bcaee0efd13c4bc9ba408ea6b6e6
Author: David Green <david.green at arm.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/include/llvm/Analysis/MemoryLocation.h
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Log Message:
-----------
[CodeGen] More uses of LocationSize::beforeOrAfterPointer().
As an extension to #84751, this adds some extra uses of beforeOrAfterPointer()
instead of UnknownSize.
Commit: ea72c082bc29fdceca33f37477b7588f31630a5f
https://github.com/llvm/llvm-project/commit/ea72c082bc29fdceca33f37477b7588f31630a5f
Author: Fangrui Song <i at maskray.me>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M lld/ELF/InputSection.cpp
M lld/ELF/OutputSections.cpp
M lld/ELF/SyntheticSections.cpp
M lld/ELF/SyntheticSections.h
Log Message:
-----------
[ELF] Change getSymbolIndex to use const reference. NFC
Commit: 0007d7eac9367d184df173a0b7450dfdaaf8a551
https://github.com/llvm/llvm-project/commit/0007d7eac9367d184df173a0b7450dfdaaf8a551
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M flang/include/flang/Common/visit.h
Log Message:
-----------
[flang] Reduce recursion in common::visit (#85483)
This patch yields small speed-ups in compiler build and execution times,
but more importantly, reduces the stack depth needed in a build
environment where tail call optimization does not appear to occur.
Commit: 606a997a3cb83437e1aeef9fee55144863b0ad76
https://github.com/llvm/llvm-project/commit/606a997a3cb83437e1aeef9fee55144863b0ad76
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M flang/include/flang/Evaluate/real.h
M flang/test/Evaluate/fold-scale.f90
Log Message:
-----------
[flang] Fix SCALE() folding with big scale factors (#85576)
The folding of the SCALE() intrinsic function is implemented via
multiplication by a power of two; this simplifies handling of
exceptional cases. But sometimes scaling by a power of two requires an
exponent larger or smaller than a floating-point format can represent,
and two multiplications are required.
Commit: 7eb5d4fc129a9b99b4dfe8f84507a08a72b55ecf
https://github.com/llvm/llvm-project/commit/7eb5d4fc129a9b99b4dfe8f84507a08a72b55ecf
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M flang/runtime/edit-input.cpp
M flang/unittests/Runtime/NumericalFormatTest.cpp
Log Message:
-----------
[flang][runtime] Round hex REAL input correctly with excess digits (#85587)
Excess hexadecimal digits were too significant for rounding purposes,
leading to inappropriate rounding away from zero for some modes.
Commit: 53e8d501e2653f416bea9ddf2687bb0aff0c9e46
https://github.com/llvm/llvm-project/commit/53e8d501e2653f416bea9ddf2687bb0aff0c9e46
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M flang/lib/Semantics/check-declarations.cpp
M flang/test/Semantics/declarations02.f90
Log Message:
-----------
[flang] Catch inappropriate attributes for PARAMETERs (#85588)
There's several symbol attributes that cannot be applied to named
constants, but that weren't being checked.
Commit: d0d9839b146692160aa3e0efed86faefde949f49
https://github.com/llvm/llvm-project/commit/d0d9839b146692160aa3e0efed86faefde949f49
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M flang/lib/Semantics/data-to-inits.cpp
Log Message:
-----------
[flang] Fix crash on erroneous program (#85615) (#85659)
Replace a pointer that should never be null with a reference argument so
that it's always defined.
Fixes https://github.com/llvm/llvm-project/issues/85615.
Commit: 5d56b34807e0f6e7a6684e57bec7c1751778862c
https://github.com/llvm/llvm-project/commit/5d56b34807e0f6e7a6684e57bec7c1751778862c
Author: Michael Jones <michaelrj at google.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M libc/fuzzing/CMakeLists.txt
M libc/fuzzing/math/RemQuoDiff.h
M libc/fuzzing/math/SingleInputSingleOutputDiff.h
M libc/fuzzing/math/TwoInputSingleOutputDiff.h
M libc/fuzzing/stdlib/strtofloat_fuzz.cpp
M libc/src/__support/FPUtil/FEnvImpl.h
M libc/src/__support/FPUtil/ManipulationFunctions.h
M libc/src/__support/FPUtil/NearestIntegerOperations.h
M libc/src/math/generic/math_utils.h
M libc/test/UnitTest/FPMatcher.h
M libc/test/src/__support/uint_test.cpp
M libc/test/src/math/CMakeLists.txt
M libc/test/src/math/CeilTest.h
M libc/test/src/math/CopySignTest.h
M libc/test/src/math/FAbsTest.h
M libc/test/src/math/FDimTest.h
M libc/test/src/math/FMaxTest.h
M libc/test/src/math/FMinTest.h
M libc/test/src/math/FModTest.h
M libc/test/src/math/FloorTest.h
M libc/test/src/math/FrexpTest.h
M libc/test/src/math/HypotTest.h
M libc/test/src/math/ILogbTest.h
M libc/test/src/math/LdExpTest.h
M libc/test/src/math/LogbTest.h
M libc/test/src/math/ModfTest.h
M libc/test/src/math/NextAfterTest.h
M libc/test/src/math/RIntTest.h
M libc/test/src/math/RemQuoTest.h
M libc/test/src/math/RoundTest.h
M libc/test/src/math/RoundToIntegerTest.h
M libc/test/src/math/SqrtTest.h
M libc/test/src/math/TruncTest.h
M libc/test/src/math/acosf_test.cpp
M libc/test/src/math/acoshf_test.cpp
M libc/test/src/math/asinf_test.cpp
M libc/test/src/math/asinhf_test.cpp
M libc/test/src/math/atanf_test.cpp
M libc/test/src/math/atanhf_test.cpp
M libc/test/src/math/cos_test.cpp
M libc/test/src/math/cosf_test.cpp
M libc/test/src/math/coshf_test.cpp
M libc/test/src/math/erff_test.cpp
M libc/test/src/math/exhaustive/CMakeLists.txt
M libc/test/src/math/exhaustive/fmod_generic_impl_test.cpp
M libc/test/src/math/exp10_test.cpp
M libc/test/src/math/exp10f_test.cpp
M libc/test/src/math/exp2_test.cpp
M libc/test/src/math/exp2f_test.cpp
M libc/test/src/math/exp_test.cpp
M libc/test/src/math/expf_test.cpp
M libc/test/src/math/explogxf_test.cpp
M libc/test/src/math/expm1_test.cpp
M libc/test/src/math/expm1f_test.cpp
M libc/test/src/math/fdim_test.cpp
M libc/test/src/math/fdimf_test.cpp
M libc/test/src/math/fdiml_test.cpp
M libc/test/src/math/ilogb_test.cpp
M libc/test/src/math/ilogbf_test.cpp
M libc/test/src/math/ilogbl_test.cpp
M libc/test/src/math/inv_trigf_utils_test.cpp
M libc/test/src/math/log10_test.cpp
M libc/test/src/math/log10f_test.cpp
M libc/test/src/math/log1p_test.cpp
M libc/test/src/math/log1pf_test.cpp
M libc/test/src/math/log2_test.cpp
M libc/test/src/math/log2f_test.cpp
M libc/test/src/math/log_test.cpp
M libc/test/src/math/logf_test.cpp
M libc/test/src/math/powf_test.cpp
M libc/test/src/math/sin_test.cpp
M libc/test/src/math/sincosf_test.cpp
M libc/test/src/math/sinf_test.cpp
M libc/test/src/math/sinhf_test.cpp
M libc/test/src/math/smoke/CeilTest.h
M libc/test/src/math/smoke/CopySignTest.h
M libc/test/src/math/smoke/FAbsTest.h
M libc/test/src/math/smoke/FModTest.h
M libc/test/src/math/smoke/FloorTest.h
M libc/test/src/math/smoke/HypotTest.h
M libc/test/src/math/smoke/ModfTest.h
M libc/test/src/math/smoke/NextAfterTest.h
M libc/test/src/math/smoke/NextTowardTest.h
M libc/test/src/math/smoke/RIntTest.h
M libc/test/src/math/smoke/RemQuoTest.h
M libc/test/src/math/smoke/RoundTest.h
M libc/test/src/math/smoke/RoundToIntegerTest.h
M libc/test/src/math/smoke/SqrtTest.h
M libc/test/src/math/smoke/TruncTest.h
M libc/test/src/math/smoke/acosf_test.cpp
M libc/test/src/math/smoke/acoshf_test.cpp
M libc/test/src/math/smoke/asinf_test.cpp
M libc/test/src/math/smoke/asinhf_test.cpp
M libc/test/src/math/smoke/atanf_test.cpp
M libc/test/src/math/smoke/atanhf_test.cpp
M libc/test/src/math/smoke/cosf_test.cpp
M libc/test/src/math/smoke/coshf_test.cpp
M libc/test/src/math/smoke/erff_test.cpp
M libc/test/src/math/smoke/exp10_test.cpp
M libc/test/src/math/smoke/exp10f_test.cpp
M libc/test/src/math/smoke/exp2_test.cpp
M libc/test/src/math/smoke/exp2f_test.cpp
M libc/test/src/math/smoke/exp_test.cpp
M libc/test/src/math/smoke/expf_test.cpp
M libc/test/src/math/smoke/expm1_test.cpp
M libc/test/src/math/smoke/expm1f_test.cpp
M libc/test/src/math/smoke/log10_test.cpp
M libc/test/src/math/smoke/log10f_test.cpp
M libc/test/src/math/smoke/log1p_test.cpp
M libc/test/src/math/smoke/log1pf_test.cpp
M libc/test/src/math/smoke/log2_test.cpp
M libc/test/src/math/smoke/log2f_test.cpp
M libc/test/src/math/smoke/log_test.cpp
M libc/test/src/math/smoke/logf_test.cpp
M libc/test/src/math/smoke/powf_test.cpp
M libc/test/src/math/smoke/sincosf_test.cpp
M libc/test/src/math/smoke/sinf_test.cpp
M libc/test/src/math/smoke/sinhf_test.cpp
M libc/test/src/math/smoke/tanf_test.cpp
M libc/test/src/math/smoke/tanhf_test.cpp
M libc/test/src/math/tan_test.cpp
M libc/test/src/math/tanf_test.cpp
M libc/test/src/math/tanhf_test.cpp
M libc/test/utils/FPUtil/x86_long_double_test.cpp
M libc/utils/MPFRWrapper/MPFRUtils.cpp
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/test/src/__support/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/test/src/math/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/test/src/math/libc_math_test_rules.bzl
Log Message:
-----------
[libc] Remove direct math.h includes (#85324)
Reland of #84991
A downstream overlay mode user ran into issues with the isnan macro not
working in our sources with a specific libc configuration. This patch
replaces the last direct includes of math.h with our internal
math_macros.h, along with the necessary build system changes.
Commit: 8b8e1adbdecd5f37ebcaa8d4fdf333962f7a0eb7
https://github.com/llvm/llvm-project/commit/8b8e1adbdecd5f37ebcaa8d4fdf333962f7a0eb7
Author: Jonas Paulsson <paulson1 at linux.ibm.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SelectionDAGNodes.h
M llvm/include/llvm/Target/TargetSelectionDAG.td
M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
M llvm/lib/Target/PowerPC/PPCInstrInfo.td
M llvm/lib/Target/PowerPC/PPCInstrP10.td
M llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
M llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
M llvm/lib/Target/SystemZ/SystemZISelLowering.h
M llvm/lib/Target/SystemZ/SystemZInstrFP.td
M llvm/lib/Target/SystemZ/SystemZInstrFormats.td
M llvm/lib/Target/SystemZ/SystemZInstrHFP.td
M llvm/lib/Target/SystemZ/SystemZInstrInfo.td
M llvm/lib/Target/SystemZ/SystemZInstrVector.td
M llvm/lib/Target/SystemZ/SystemZOperators.td
M llvm/lib/Target/SystemZ/SystemZPatterns.td
M llvm/lib/Target/VE/VEInstrInfo.td
M llvm/test/CodeGen/SystemZ/atomic-load-06.ll
A llvm/test/CodeGen/SystemZ/atomic-memops-fp128.ll
A llvm/test/CodeGen/SystemZ/atomic-memops.ll
M llvm/test/CodeGen/SystemZ/atomic-store-06.ll
Log Message:
-----------
[SystemZ] Don't lower ATOMIC_LOAD/STORE to LOAD/STORE (#75879)
- Instead of lowering float/double ISD::ATOMIC_LOAD / ISD::ATOMIC_STORE
nodes to regular LOAD/STORE nodes, make them legal and select those nodes
properly instead. This avoids exposing them to the DAGCombiner.
- AtomicExpand pass no longer casts float/double atomic load/stores to integer
(FP128 is still casted).
Commit: 65d444b9edb895443754c13d9c008af180eb5c71
https://github.com/llvm/llvm-project/commit/65d444b9edb895443754c13d9c008af180eb5c71
Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M lldb/source/Commands/CommandObjectDWIMPrint.cpp
Log Message:
-----------
[lldb][nfc] Factor out repeated code in DWIM Print (#85669)
The code that prints ValueObjects is duplicated across two different
cases of the dwim-print command, and a subsequent commit will add a
third case. As such, this commit factors out the common code into a
lambda. A free function was considered, but there is too much
function-local context required in that.
We also reword some of the comments so that they stop counting cases,
making it easier to add other cases later.
Commit: 7459f7247312f7035281062be9fc3d2bcde4bfc0
https://github.com/llvm/llvm-project/commit/7459f7247312f7035281062be9fc3d2bcde4bfc0
Author: Adrian Prantl <aprantl at apple.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/include/llvm/ExecutionEngine/Orc/Shared/VTuneSharedStructs.h
Log Message:
-----------
Add missing includes (to fix the modules build)
Commit: 228757f6c3cd9271eb25b8869445aab5216fe0b6
https://github.com/llvm/llvm-project/commit/228757f6c3cd9271eb25b8869445aab5216fe0b6
Author: Fangrui Song <i at maskray.me>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M lld/test/ELF/pack-dyn-relocs-arm2.s
M lld/test/ELF/pack-dyn-relocs.s
Log Message:
-----------
[ELF] Improve --pack-dyn-relocs tests for Android and RELR
Commit: e0b19e957e0ef9b4d88e09c44d6499d931328ecc
https://github.com/llvm/llvm-project/commit/e0b19e957e0ef9b4d88e09c44d6499d931328ecc
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M mlir/lib/Interfaces/ViewLikeInterface.cpp
Log Message:
-----------
[MLIR] Remove unused implicit capture in the lambda (NFC)
This lambda does not capture anything, the `&` is just misleading.
Commit: 4841858862df4b8ac4ac68922086f03c8bbd3dc2
https://github.com/llvm/llvm-project/commit/4841858862df4b8ac4ac68922086f03c8bbd3dc2
Author: Alexander Yermolovich <43973793+ayermolo at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M bolt/lib/Core/DebugNames.cpp
A bolt/test/X86/dwarf5-debug-names-dw-at-specification.s
M bolt/test/X86/dwarf5-debug-names-generate-debug-names.test
M bolt/test/X86/dwarf5-debug-names.test
M bolt/test/X86/dwarf5-one-cu-debug-names.test
Log Message:
-----------
[BOLT][DWARF] Add support to debug_names for DW_AT_abstract_origin/DW_AT_specification (#85485)
According to the DWARF spec a DIE that has DW_AT_specification or
DW_AT_abstract_origin can be part of .debug_name if a DIE those
attribute points to has DW_AT_name or DW_AT_linkage_name.
Commit: 7ef1a59ed1ca176cf3c38672fe1d3f49c1758e49
https://github.com/llvm/llvm-project/commit/7ef1a59ed1ca176cf3c38672fe1d3f49c1758e49
Author: Florian Mayer <fmayer at google.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M compiler-rt/lib/hwasan/hwasan_checks.h
Log Message:
-----------
remove incorrect DCHECK
this DCHECK was not valid for hwasan_load1, and was not necessary for
the. the function is written without any assumptions of alignment of the
pointer.
Commit: 715a931864eff4021463d40b73ef4b1b63959f3f
https://github.com/llvm/llvm-project/commit/715a931864eff4021463d40b73ef4b1b63959f3f
Author: Shourya Goel <shouryagoel10000 at gmail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M libc/spec/posix.td
Log Message:
-----------
[libc] Added tablegen definition for fileno (#85682)
This was missed in the previous PR. Updating tablegen definition with this PR.
Commit: f4e90e3f3c02a94a17bd8fe6ad18dbb46f92d027
https://github.com/llvm/llvm-project/commit/f4e90e3f3c02a94a17bd8fe6ad18dbb46f92d027
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M flang/runtime/freestanding-tools.h
M flang/runtime/numeric-templates.h
M flang/runtime/tools.cpp
M flang/runtime/tools.h
Log Message:
-----------
[flang][runtime] Get rid of warnings in F18 runtime CUDA build. (#85488)
Commit: ba2dc2953cdaaad63968296e3cbb1f06c1784114
https://github.com/llvm/llvm-project/commit/ba2dc2953cdaaad63968296e3cbb1f06c1784114
Author: Alexander Richardson <alexrichardson at google.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M compiler-rt/cmake/Modules/CompilerRTCompile.cmake
M compiler-rt/lib/msan/tests/CMakeLists.txt
M compiler-rt/test/asan_abi/CMakeLists.txt
M compiler-rt/test/fuzzer/CMakeLists.txt
M compiler-rt/test/memprof/CMakeLists.txt
M compiler-rt/test/msan/CMakeLists.txt
M compiler-rt/test/ubsan/CMakeLists.txt
M compiler-rt/test/xray/CMakeLists.txt
Log Message:
-----------
[compiler-rt] Don't check COMPILER_RT_STANDALONE_BUILD for test deps
With https://github.com/llvm/llvm-project/pull/83088, we now need the
runtimes to be built before running test if
COMPILER_RT_TEST_STANDALONE_BUILD_LIBS is true, since otherwise we
get failures running `ninja check-all` such as the following:
```
/usr/bin/ld: cannot find .../compiler-rt/cmake-build-all-sanitizers/lib/linux/libclang_rt.fuzzer-x86_64.a: No such file or directory
/usr/bin/ld: cannot find .../compiler-rt/cmake-build-all-sanitizers/lib/linux/libclang_rt.xray-x86_64.a: No such file or directory
/usr/bin/ld: cannot find .../compiler-rt/cmake-build-all-sanitizers/lib/linux/libclang_rt.xray-basic-x86_64.a: No such file or directory
/usr/bin/ld: cannot find .../compiler-rt/cmake-build-all-sanitizers/lib/linux/libclang_rt.xray-fdr-x86_64.a: No such file or directory
```
This is a follow-up to 058e9b03 which started removing these checks
and it should make it easier to stop forcing COMPILER_RT_STANDALONE_BUILD
for runtimes builds in the future.
Reviewed By: vitalybuka
Pull Request: https://github.com/llvm/llvm-project/pull/83651
Commit: 2e6b18b3f3924d150c8837175938e76c3402f83f
https://github.com/llvm/llvm-project/commit/2e6b18b3f3924d150c8837175938e76c3402f83f
Author: Aart Bik <ajcbik at google.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
M mlir/test/Dialect/SparseTensor/roundtrip.mlir
Log Message:
-----------
[mlir][sparse] add example to new operation doc, and roundtrip test (#85711)
Commit: 42c38b1cc5c1b216f4bd18c39b82fcd64ca20b90
https://github.com/llvm/llvm-project/commit/42c38b1cc5c1b216f4bd18c39b82fcd64ca20b90
Author: Aart Bik <ajcbik at google.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M mlir/lib/Dialect/SparseTensor/Transforms/SparseReinterpretMap.cpp
Log Message:
-----------
[mlir][sparse] deallocate temporary transposed tensor (#85720)
Last resort resolution of cycles introduced a sparse conversion without
explicit sparse deallocation (which is not inserted by any automatic
means). This fixes 2 out of 5 remaining asan detected leaks in sparse
integration tests.
Commit: 8a6a0f1954937341abd501529f3d7454937110a5
https://github.com/llvm/llvm-project/commit/8a6a0f1954937341abd501529f3d7454937110a5
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M flang/include/flang/Evaluate/tools.h
M flang/lib/Lower/Bridge.cpp
M flang/test/Lower/CUDA/cuda-module-use.cuf
Log Message:
-----------
[flang][cuda] Add proper TODO for cuda fortran assignment (#85705)
Data transfer between host and device can be done with assignment
statements in CUDA Fortran. This is currently not lowered so adding a
proper TODO.
https://docs.nvidia.com/hpc-sdk/archive/24.3/compilers/cuda-fortran-prog-guide/index.html#cfref-data-trans-assgn-statemts
Commit: 6ae77eca6ceb17033eb58440038e620eba1c6f51
https://github.com/llvm/llvm-project/commit/6ae77eca6ceb17033eb58440038e620eba1c6f51
Author: Kyungwoo Lee <kyulee at fb.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M lld/MachO/ObjC.cpp
Log Message:
-----------
Revert "[lld] Fix warnings"
This reverts commit 6800f422c22ffd672b1e31f0d0a3fa29d19b7a13 as the part of revert https://github.com/llvm/llvm-project/pull/82928.
buildbot failures: https://lab.llvm.org/buildbot/#/builders/168/builds/19302/steps/10/logs/stdio
Commit: 5373daad9492e157c0c1ad496334f5dfd78d7da0
https://github.com/llvm/llvm-project/commit/5373daad9492e157c0c1ad496334f5dfd78d7da0
Author: Kyungwoo Lee <kyulee at fb.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M lld/MachO/Driver.cpp
M lld/MachO/InputSection.h
M lld/MachO/ObjC.cpp
M lld/MachO/ObjC.h
M lld/MachO/Options.td
R lld/test/MachO/objc-category-merging-complete-test.s
R lld/test/MachO/objc-category-merging-extern-class-minimal.s
Log Message:
-----------
Revert "[lld-macho] Implement ObjC category merging (-objc_category_merging) (#82928)"
This reverts commit ece2903ce730392e5236d27f1f387fa8067fcb1b, https://github.com/llvm/llvm-project/pull/82928.
https://github.com/llvm/llvm-project/pull/82928
Commit: d66121d74a458e098511b9de920d815440acaa1b
https://github.com/llvm/llvm-project/commit/d66121d74a458e098511b9de920d815440acaa1b
Author: Alex Crichton <alex at alexcrichton.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang/lib/Driver/ToolChains/WebAssembly.cpp
M clang/lib/Driver/ToolChains/WebAssembly.h
M clang/test/Driver/wasm-toolchain.c
Log Message:
-----------
[WebAssembly] Change the default linker for `wasm32-wasip2` (#84569)
This commit changes the default linker in the WebAssembly toolchain for
the `wasm32-wasip2` target. This target is being added to the
WebAssembly/wasi-sdk and WebAssembly/wasi-libc projects to target the
Component Model by default, in contrast with the preexisting
`wasm32-wasi` target (in the process of being renamed to
`wasm32-wasip1`) which outputs a core WebAssembly module by default.
The `wasm-component-ld` project currently lives in my GitHub account at
https://github.com/alexcrichton/wasm-component-ld and isn't necessarily
"official" yet, but it's expected to continue to evolve as the
`wasm32-wasip2` target continues to shape up and evolve.
Commit: a629621454838207ca49bcfd773d5aa0671659f1
https://github.com/llvm/llvm-project/commit/a629621454838207ca49bcfd773d5aa0671659f1
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M libc/src/math/generic/CMakeLists.txt
M libc/src/math/generic/atanf.cpp
M libc/src/math/generic/inv_trigf_utils.cpp
M libc/src/math/generic/inv_trigf_utils.h
M libc/test/src/math/CMakeLists.txt
M libc/test/src/math/atanf_test.cpp
M libc/test/src/math/exhaustive/atanf_test.cpp
R libc/test/src/math/inv_trigf_utils_test.cpp
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[libc][math] Improve atanf performance. (#85463)
Simplify the range reduction logic and computations. Performance test
using `perf.sh` from CORE-MATH project on Ryzen 5900X:
Before:
```
$ ./perf.sh atanf --rdtsc --path1
LIBC-location: /home/lnt/experiment/llvm-project/build/projects/libc/lib/libllvmlibc.a
GNU libc version: 2.35
GNU libc release: stable
-- CORE-MATH reciprocal throughput --
[####################] 100 %
Ntrial = 20 ; Min = 14.369 + 0.556 clc/call; Median-Min = 0.613 clc/call; Max = 15.061 clc/call;
-- System LIBC reciprocal throughput --
[####################] 100 %
Ntrial = 20 ; Min = 26.180 + 0.015 clc/call; Median-Min = 0.014 clc/call; Max = 26.260 clc/call;
-- LIBC reciprocal throughput --
[####################] 100 %
Ntrial = 20 ; Min = 21.237 + 0.022 clc/call; Median-Min = 0.020 clc/call; Max = 21.272 clc/call;
$ ./perf.sh atanf --rdtsc --path1 --latency
LIBC-location: /home/lnt/experiment/llvm-project/build/projects/libc/lib/libllvmlibc.a
GNU libc version: 2.35
GNU libc release: stable
-- CORE-MATH latency --
[####################] 100 %
Ntrial = 20 ; Min = 50.505 + 0.045 clc/call; Median-Min = 0.037 clc/call; Max = 50.579 clc/call;
-- System LIBC latency --
[####################] 100 %
Ntrial = 20 ; Min = 62.438 + 0.836 clc/call; Median-Min = 0.049 clc/call; Max = 64.498 clc/call;
-- LIBC latency --
[####################] 100 %
Ntrial = 20 ; Min = 67.781 + 0.546 clc/call; Median-Min = 0.028 clc/call; Max = 68.844 clc/call;
```
After:
```
$ ./perf.sh atanf --rdtsc --path2
LIBC-location: /home/lnt/experiment/llvm/llvm-project/build/projects/libc/lib/libllvmlibc.a
GNU libc version: 2.35
GNU libc release: stable
-- CORE-MATH reciprocal throughput --
[####################] 100 %
Ntrial = 20 ; Min = 14.400 + 0.353 clc/call; Median-Min = 0.404 clc/call; Max = 14.863 clc/call;
-- System LIBC reciprocal throughput --
[####################] 100 %
Ntrial = 20 ; Min = 25.247 + 0.783 clc/call; Median-Min = 0.714 clc/call; Max = 26.238 clc/call;
-- LIBC reciprocal throughput --
[####################] 100 %
Ntrial = 20 ; Min = 13.751 + 0.158 clc/call; Median-Min = 0.140 clc/call; Max = 14.006 clc/call;
$ ./perf.sh atanf --rdtsc --path2 --latency
LIBC-location: /home/lnt/experiment/llvm/llvm-project/build/projects/libc/lib/libllvmlibc.a
GNU libc version: 2.35
GNU libc release: stable
-- CORE-MATH latency --
[####################] 100 %
Ntrial = 20 ; Min = 51.837 + 0.073 clc/call; Median-Min = 0.058 clc/call; Max = 52.000 clc/call;
-- System LIBC latency --
[####################] 100 %
Ntrial = 20 ; Min = 62.487 + 1.878 clc/call; Median-Min = 1.965 clc/call; Max = 64.569 clc/call;
OK
-- LIBC latency --
[####################] 100 %
Ntrial = 20 ; Min = 55.414 + 1.312 clc/call; Median-Min = 0.345 clc/call; Max = 58.362 clc/call;
```
Commit: a5f576e5961ecc099bd7ccf8565da090edc84b0d
https://github.com/llvm/llvm-project/commit/a5f576e5961ecc099bd7ccf8565da090edc84b0d
Author: Kelvin Li <kkwli at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M flang/lib/Semantics/check-do-forall.cpp
A flang/test/Semantics/forall02.f90
Log Message:
-----------
[flang] Diagnose calling impure final procedure due to finalization in FORALL (#85685)
This patch checks the LHS of an assignment in a FORALL loop and
diagnoses if any impure final procedure is called.
Commit: aec50cd840418097e8eeb4bd5d0672c95c08d1ec
https://github.com/llvm/llvm-project/commit/aec50cd840418097e8eeb4bd5d0672c95c08d1ec
Author: Jake Egan <Jake.egan at ibm.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/test/tools/llvm-objdump/MachO/AArch64/macho-relative-method-lists.test
Log Message:
-----------
[NFC] Disable llvm-objdump test on AIX
After commit 9d5edfde5c3dbc4eb559d316e82e664f291fc2bf the test is failing on the AIX bot. XFAIL for now to unblock the bot and give time to investigate.
Commit: f6a2a55ba1fe1a4b720b8760704785d12137b35e
https://github.com/llvm/llvm-project/commit/f6a2a55ba1fe1a4b720b8760704785d12137b35e
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/lib/Lower/Bridge.cpp
M flang/test/Lower/CUDA/cuda-kernel-loop-directive.cuf
Log Message:
-----------
[flang][cuda] Handle lowering of stars in cuf kernel launch parameters (#85695)
Parsing of the cuf kernel loop directive has been updated to handle
variants with the * syntax. This patch updates the lowering to make use
of them.
- If the grid or block syntax uses only stars then the operation
variadic operand remains empty.
- If there is values and stars, then stars are represented as a zero
constant value.
Commit: a2527e06d77766d00e83ecb7988844aae7088bb1
https://github.com/llvm/llvm-project/commit/a2527e06d77766d00e83ecb7988844aae7088bb1
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] Put erroneously removed braces back into a unit test
See https://github.com/llvm/llvm-project/pull/85470#discussion_r1528904789
Commit: bda05140fb758156ae35f3919e6283d94bfa3905
https://github.com/llvm/llvm-project/commit/bda05140fb758156ae35f3919e6283d94bfa3905
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M libc/src/math/generic/inv_trigf_utils.h
Log Message:
-----------
[libc] Remove constexpr from atan_eval and asin_eval. (#85725)
Fix aarch64 and gcc full build bots:
https://lab.llvm.org/buildbot/#/builders/223/builds/38235/steps/4/logs/stdio
Commit: e04dd68a3a26d3ebdc2db07cf2f8807a02d30ce2
https://github.com/llvm/llvm-project/commit/e04dd68a3a26d3ebdc2db07cf2f8807a02d30ce2
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/GlobalMerge.cpp
Log Message:
-----------
[GlobalMerge] Use vector::assign in place of fill+resize. NFC (#85723)
Noticed while reviewing the code.
If the resize causes a new allocation, this will fill the new allocation
with zeroes directly. Previously, we would fill the old allocation with
zeroes, then copy them to the new allocation before filling the
additional space with zeros.
Commit: 924a1dceb59944fa9051acbbb7d2daac129ee0ef
https://github.com/llvm/llvm-project/commit/924a1dceb59944fa9051acbbb7d2daac129ee0ef
Author: Daniil Kovalev <dkovalev at accesssoftek.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/include/llvm/IR/DIBuilder.h
M llvm/include/llvm/IR/DebugInfoMetadata.h
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/Bitcode/Reader/MetadataLoader.cpp
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
M llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
M llvm/lib/IR/AsmWriter.cpp
M llvm/lib/IR/DIBuilder.cpp
M llvm/lib/IR/DebugInfo.cpp
M llvm/lib/IR/DebugInfoMetadata.cpp
M llvm/lib/IR/LLVMContextImpl.h
M llvm/lib/IR/Verifier.cpp
M llvm/test/Assembler/debug-info.ll
A llvm/test/DebugInfo/AArch64/ptrauth.ll
M llvm/unittests/IR/MetadataTest.cpp
M mlir/lib/Target/LLVMIR/DebugTranslation.cpp
Log Message:
-----------
[Dwarf] Support `__ptrauth` qualifier in metadata nodes (#83862)
Reland #82363 after fixing build failure
https://lab.llvm.org/buildbot/#/builders/5/builds/41428.
Memory sanitizer detects usage of `RawData` union member which is not
filled directly. Instead, the code relies on filling `Data` union
member, which is a struct consisting of signing schema parameters.
According to https://en.cppreference.com/w/cpp/language/union, this is
UB:
"It is undefined behavior to read from the member of the union that
wasn't most recently written".
Instead of relying on compiler allowing us to do dirty things, do not
use union and only store `RawData`. Particular ptrauth parameters are
obtained on demand via bit operations.
Original PR description below.
Emit `__ptrauth`-qualified types as `DIDerivedType` metadata nodes in IR
with tag `DW_TAG_LLVM_ptrauth_type`, baseType referring to the type
which has the qualifier applied, and the following parameters
representing the signing schema:
- `ptrAuthKey` (integer)
- `ptrAuthIsAddressDiscriminated` (boolean)
- `ptrAuthExtraDiscriminator` (integer)
- `ptrAuthIsaPointer` (boolean)
- `ptrAuthAuthenticatesNullValues` (boolean)
Co-authored-by: Ahmed Bougacha <ahmed at bougacha.org>
Commit: ff60a84f04b4d8af63d581d4f9dd7ab0196a200e
https://github.com/llvm/llvm-project/commit/ff60a84f04b4d8af63d581d4f9dd7ab0196a200e
Author: Malay Sanghi <malay.sanghi at intel.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/include/llvm/CodeGen/MachinePassManager.h
Log Message:
-----------
Convert copy to r-value reference. (#85606)
That seems to be the intention based on calling code.
Commit: b1752ddf0a97969cdd931e6431c953cfd4079e50
https://github.com/llvm/llvm-project/commit/b1752ddf0a97969cdd931e6431c953cfd4079e50
Author: Matthias Springer <me at m-sp.org>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M mlir/test/Integration/Dialect/SparseTensor/CPU/reshape_dot.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_block_matmul.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_pack.mlir
Log Message:
-----------
[mlir][sparse] Fix memory leaks (part 4) (#85729)
This commit fixes memory leaks in sparse tensor integration tests by
adding `bufferization.dealloc_tensor` ops.
Note: Buffer deallocation will be automated in the future with the
ownership-based buffer deallocation pass, making `dealloc_tensor`
obsolete (only codegen path, not when using the runtime library).
This commit fixes the remaining memory leaks in the MLIR test suite.
`check-mlir` now passes when built with ASAN.
Commit: cb2ca23345d3d9bde027a18d301949e8bdf606a6
https://github.com/llvm/llvm-project/commit/cb2ca23345d3d9bde027a18d301949e8bdf606a6
Author: Martin Storsjö <martin at martin.st>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/tools/llvm-shlib/CMakeLists.txt
Log Message:
-----------
[llvm-shlib] Fix the version naming style of libLLVM for Windows (#85710)
This reverts the changes from 91a384621e5b762d9c173ffd247cfeadd5f436a2
for Windows targets. The changes in that commit don't work as expected
for Windows targets (those parts of llvm_add_library don't quite behave
the same for Windows), while the previous status quo (producing a
library named "libLLVM-<major>.dll") is the defacto standard way of
doing versioned library names there, contrary to on Unix.
After that commit, the library always ended up named "libLLVM.dll",
executables linking against it would reference "libLLVM.dll", and
"libLLVM-<major>.dll" was provided as a symlink.
Thus revert this bit back to as it were, so that executables actually
link against a versioned libLLVM, and no separate symlink is needed.
The only thing that might be improved compared to the status quo as it
was before these changes, is that the import library is named
"lib/libLLVM-<major>.dll.a", while the common style would be to name it
plainly "lib/libLLVM.dll.a" (even while it produces references to
"libLLVM-<major>.dll", but none of these had that effect for Windows
targets.
(As a side note, the llvm-shlib library can be built for MinGW, but not
currently in MSVC configurations.)
Commit: f0a5e5055029e9ab1c49a8580f09fa4c0e172ee1
https://github.com/llvm/llvm-project/commit/f0a5e5055029e9ab1c49a8580f09fa4c0e172ee1
Author: Adrian Kuegel <akuegel at google.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/test/CodeGen/NVPTX/dynamic_stackalloc.ll
Log Message:
-----------
[llvm][NVPTX] Add missing feature guard.
Commit: 110f630105aed0670d82427fea55afbabc4a94c4
https://github.com/llvm/llvm-project/commit/110f630105aed0670d82427fea55afbabc4a94c4
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/unittests/Support/KnownBitsTest.cpp
Log Message:
-----------
[KnownBits] Remove useless lambdas from unit test
Commit: eb5623d10147d1069885ccaa57d81fae3260b926
https://github.com/llvm/llvm-project/commit/eb5623d10147d1069885ccaa57d81fae3260b926
Author: Wang Pengcheng <wangpengcheng.pp at bytedance.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/test/TableGen/MacroFusion.td
Log Message:
-----------
[MacroFusion] Complete tests and fix indents
Commit: 59ff3adcc1310e22ab31163767e49b4edb20c6b4
https://github.com/llvm/llvm-project/commit/59ff3adcc1310e22ab31163767e49b4edb20c6b4
Author: martinboehme <mboehme at google.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M clang/docs/tools/clang-formatted-files.txt
A clang/include/clang/Analysis/FlowSensitive/AdornedCFG.h
M clang/include/clang/Analysis/FlowSensitive/ControlFlowContext.h
M clang/include/clang/Analysis/FlowSensitive/DataflowAnalysis.h
M clang/include/clang/Analysis/FlowSensitive/DataflowAnalysisContext.h
M clang/include/clang/Analysis/FlowSensitive/Logger.h
M clang/include/clang/Analysis/FlowSensitive/Transfer.h
M clang/include/clang/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.h
A clang/lib/Analysis/FlowSensitive/AdornedCFG.cpp
M clang/lib/Analysis/FlowSensitive/CMakeLists.txt
R clang/lib/Analysis/FlowSensitive/ControlFlowContext.cpp
M clang/lib/Analysis/FlowSensitive/DataflowAnalysisContext.cpp
M clang/lib/Analysis/FlowSensitive/HTMLLogger.cpp
M clang/lib/Analysis/FlowSensitive/Logger.cpp
M clang/lib/Analysis/FlowSensitive/Transfer.cpp
M clang/lib/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.cpp
M clang/unittests/Analysis/FlowSensitive/DeterminismTest.cpp
M clang/unittests/Analysis/FlowSensitive/LoggerTest.cpp
M clang/unittests/Analysis/FlowSensitive/TestingSupport.h
M clang/unittests/Analysis/FlowSensitive/TypeErasedDataflowAnalysisTest.cpp
Log Message:
-----------
[clang][dataflow][NFC] Rename `ControlFlowContext` to `AdornedCFG`. (#85640)
This expresses better what the class actually does, and it reduces the
number of
`Context`s that we have in the codebase.
A deprecated alias `ControlFlowContext` is available from the old
header.
Commit: eac68447adac3852524c66acac7ab64d90205f47
https://github.com/llvm/llvm-project/commit/eac68447adac3852524c66acac7ab64d90205f47
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/utils/gn/secondary/clang/lib/Analysis/FlowSensitive/BUILD.gn
Log Message:
-----------
[gn build] Port 59ff3adcc131
Commit: b788e4655c4e06f6821bc220e5745d6a4f9d4d09
https://github.com/llvm/llvm-project/commit/b788e4655c4e06f6821bc220e5745d6a4f9d4d09
Author: martinboehme <mboehme at google.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M clang/include/clang/Analysis/FlowSensitive/RecordOps.h
M clang/lib/Analysis/FlowSensitive/RecordOps.cpp
M clang/lib/Analysis/FlowSensitive/Transfer.cpp
M clang/unittests/Analysis/FlowSensitive/RecordOpsTest.cpp
M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
Log Message:
-----------
[clang][dataflow] Model assignment to derived class from base. (#85064)
This is a relatively rare case, but
- It's still nice to get this right,
- We can remove the special case for this in
`VisitCXXOperatorCallExpr()` (that
simply bails out), and
- With this in place, I can avoid having to add a similar special case
in an
upcoming patch.
Commit: 5e486d17d4793e5114245b9a04a566ef45ffb21b
https://github.com/llvm/llvm-project/commit/5e486d17d4793e5114245b9a04a566ef45ffb21b
Author: Wang Pengcheng <wangpengcheng.pp at bytedance.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/include/llvm/Target/Target.td
A llvm/include/llvm/Target/TargetMacroFusion.td
M llvm/include/llvm/Target/TargetSchedule.td
Log Message:
-----------
[TableGen][NFC] Move MacroFusion classes to TargetMacroFusion.td
To make structure clear.
Reviewers: dtcxzyw, arsenm
Reviewed By: arsenm
Pull Request: https://github.com/llvm/llvm-project/pull/85748
Commit: 703920d4138d02bde4f4bf70ba809b63bef25c37
https://github.com/llvm/llvm-project/commit/703920d4138d02bde4f4bf70ba809b63bef25c37
Author: Shourya Goel <shouryagoel10000 at gmail.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/AArch64/hadd-combine.ll
Log Message:
-----------
[DAG] Matched FixedWidth pattern for ISD::AVGFLOORU (#84903)
Fixes: #84749
Commit: 6aaf9c83099b80e73ef2208ae9f7f300c7808659
https://github.com/llvm/llvm-project/commit/6aaf9c83099b80e73ef2208ae9f7f300c7808659
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
Log Message:
-----------
[clang][Interp][NFC] Sanitize collectBaseOffset parameters
Commit: a747e86caacf0ba3d5272474da8c10eb0b67dbc2
https://github.com/llvm/llvm-project/commit/a747e86caacf0ba3d5272474da8c10eb0b67dbc2
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
M llvm/test/Transforms/InstCombine/fpcast.ll
Log Message:
-----------
[InstCombine] Fold `fpto{s|u}i non-norm` to zero (#85569)
This patch enables more optimization after canonicalizing `fmul X, 0.0`
into a copysign.
I decide to implement this fold in InstCombine because
`computeKnownFPClass` may be expensive.
Alive2: https://alive2.llvm.org/ce/z/ASM8tQ
Commit: 1a6953a75d3120a4f9196911e6a6b79fcc315553
https://github.com/llvm/llvm-project/commit/1a6953a75d3120a4f9196911e6a6b79fcc315553
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/test/Transforms/Attributor/nofpclass-implied-by-fcmp.ll
Log Message:
-----------
ValueTracking: Fix bug with fcmp false to nan constant
If we had a comparison to a literal nan with a false predicate,
we were incorrectly treating it as an unordered compare. This was
correct for fcmp true, but not fcmp false. I noticed this in the
review for e44d3b3e503fa12fdaead2936b28844aa36237c1 but misdiagnosed
the reason. Also change the test for the fcmp true case to be more
useful, but it wasn't wrong previously.
Commit: 0d40de754a8fc34e606d0a83902f950606f42385
https://github.com/llvm/llvm-project/commit/0d40de754a8fc34e606d0a83902f950606f42385
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/Disasm.cpp
M clang/lib/AST/Interp/InterpFrame.h
Log Message:
-----------
[clang][Interp][NFC] Add InterpFrame::dump()
Commit: 29849d589c1969f6a07a69ef0d7a19896d358bc5
https://github.com/llvm/llvm-project/commit/29849d589c1969f6a07a69ef0d7a19896d358bc5
Author: nicebert <110385235+nicebert at users.noreply.github.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M openmp/libomptarget/test/api/ompx_dump_mapping_tables.cpp
Log Message:
-----------
[OpenMP] Fix ompx_dump_mapping_tables lit test (#85754)
Fixes ompx_dump_mapping_tables test by only using one device after
breaking built bots
Commit: db6049112790f6bee51883b6aa99d0660f17e3a5
https://github.com/llvm/llvm-project/commit/db6049112790f6bee51883b6aa99d0660f17e3a5
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M mlir/lib/Dialect/Bufferization/IR/BufferizableOpInterface.cpp
M mlir/lib/Dialect/Bufferization/Transforms/Bufferize.cpp
Log Message:
-----------
[mlir][bufferization] Check OpFilter before casting to BufferizableOpInterface (#85690)
This doesn't change functionality, but lets us avoid attaching all the
interfaces after 513cdb82223a106f183b49a40d9acb1f7efbbe7e turned casting
without loading into an error.
Commit: 5e379b63fcd942017593d278c8c2313744413904
https://github.com/llvm/llvm-project/commit/5e379b63fcd942017593d278c8c2313744413904
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
Log Message:
-----------
[AMDGPU][PromoteAlloca] Drop bitcast handling (#85747)
This is no longer needed with opaque pointers.
Commit: a4b23638d23d603001c19285a7c7535a8ce81317
https://github.com/llvm/llvm-project/commit/a4b23638d23d603001c19285a7c7535a8ce81317
Author: Felix Schneider <fx.schn at gmail.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M mlir/lib/IR/AffineExpr.cpp
A mlir/unittests/IR/AffineExprTest.cpp
M mlir/unittests/IR/CMakeLists.txt
Log Message:
-----------
[mlir] Don't assert when simplifying certain `AffineExpr`s (#78855)
Currently, `simplifyMul()` asserts that either `lhs` or `rhs` is
symbolic or constant. This method is called by the overloaded `*`
operator for `AffineExpr`s which leads to a crash when building a
multiplication expression where neither operand is symbolic or constant.
This patch returns a `nullptr` from `simplifyMul()` to signal that the
expression could not be simplified instead.
Fix https://github.com/llvm/llvm-project/issues/75770
Commit: e85bfa65651eb45aefc8a9233e160f27af55f894
https://github.com/llvm/llvm-project/commit/e85bfa65651eb45aefc8a9233e160f27af55f894
Author: Jonathan Thackray <jonathan.thackray at arm.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/test/Driver/aarch64-mcpu.c
M clang/test/Misc/target-invalid-cpu-note.c
M llvm/docs/ReleaseNotes.rst
M llvm/include/llvm/TargetParser/AArch64TargetParser.h
M llvm/lib/Target/AArch64/AArch64.td
M llvm/lib/TargetParser/Host.cpp
M llvm/unittests/TargetParser/TargetParserTest.cpp
Log Message:
-----------
[AArch64] Add support for Cortex-A520AE and Cortex-A720AE CPUs (#85401)
[AArch64] Add support for Cortex-A520AE and Cortex-A720AE CPUs
Cortex-A520AE and Cortex-A720AE are Armv9.2 AArch64 CPUs.
Technical Reference Manual for Cortex-A520AE:
https://developer.arm.com/documentation/107726/latest/
Technical Reference Manual for Cortex-A720AE:
https://developer.arm.com/documentation/102828/latest/
Commit: 29cde04c3972a54efeb6d09b1580b275f39c315a
https://github.com/llvm/llvm-project/commit/29cde04c3972a54efeb6d09b1580b275f39c315a
Author: Hirofumi Nakamura <k.nakamura.hirofumi at gmail.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M clang/docs/ClangFormatStyleOptions.rst
M clang/include/clang/Format/Format.h
Log Message:
-----------
[clang-format] Fixed the warning in building document for TableGenBreakingDAGArgOperators. (#85760)
Intend to fix the `Test documentation build `, degraded here
https://github.com/llvm/llvm-project/pull/83149 .
Commit: 6bc6e1ace9fa8453e164fa04b5d9acd5a77e089a
https://github.com/llvm/llvm-project/commit/6bc6e1ace9fa8453e164fa04b5d9acd5a77e089a
Author: serge-sans-paille <sguelton at mozilla.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M compiler-rt/test/tsan/signal_thread.cpp
Log Message:
-----------
[tsan][test] Switch setitimer(ITIMER_REAL, ...) to setitimer(ITIMER_VIRTUAL, ...)
Followup to #85188.
Commit: d9c31ee9568277e4303715736b40925e41503596
https://github.com/llvm/llvm-project/commit/d9c31ee9568277e4303715736b40925e41503596
Author: Ulrich Weigand <ulrich.weigand at de.ibm.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
M llvm/test/CodeGen/SystemZ/int-usub-12.ll
M llvm/test/CodeGen/SystemZ/int-usub-13.ll
Log Message:
-----------
Fix overflow flag for i128 USUBO
We use the VSCBIQ/VSBIQ/VSBCBIQ family of instructions to implement
USUBO/USUBO_CARRY for the i128 data type. However, these instructions
use an inverted sense of the borrow indication flag (a value of 1
indicates *no* borrow, while a value of 0 indicated borrow). This
does not match the semantics of the boolean "overflow" flag of the
USUBO/USUBO_CARRY ISD nodes.
Fix this by generating code to explicitly invert the flag. These
cancel out of the result of USUBO feeds into an USUBO_CARRY.
To avoid unnecessary zero-extend operations, also improve the
DAGCombine handling of ZERO_EXTEND to optimize (zext (xor (trunc)))
sequences where appropriate.
Fixes: https://github.com/llvm/llvm-project/issues/83268
Commit: 8eee236021f72821d628ec31d8e8d1f92e7821d3
https://github.com/llvm/llvm-project/commit/8eee236021f72821d628ec31d8e8d1f92e7821d3
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M flang/include/flang/Evaluate/characteristics.h
M flang/include/flang/Lower/CallInterface.h
M flang/include/flang/Lower/ConvertVariable.h
M flang/lib/Lower/CallInterface.cpp
M flang/lib/Lower/ConvertCall.cpp
M flang/lib/Lower/ConvertVariable.cpp
A flang/test/Lower/HLFIR/call-sequence-associated-descriptors.f90
Log Message:
-----------
[flang] Lower sequence associated argument passed by descriptor (#85696)
The current lowering did not handle sequence associated argument passed
by descriptor. This case is special because sequence association implies
that the actual and dummy argument need to to agree in rank and shape.
Usually, arguments that can be sequence associated are passed by raw
address, and the shape mistmatch is transparent. But there are three
cases of explicit and assumed-size arrays passed by descriptors:
- polymorphic arguments
- BIND(C) assumed-length arguments (F'2023 18.3.7 (5)).
- length parametrized derived types (TBD)
The callee side is expecting a descriptor containing the dummy rank and
shape. This was not the case. This patch fix that by evaluating the
dummy shape on the caller side using the interface (that has to be
available when arguments are passed by descriptors).
Commit: 9f6b6636c77ad4736c66efd0119b3be4541e9af4
https://github.com/llvm/llvm-project/commit/9f6b6636c77ad4736c66efd0119b3be4541e9af4
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M flang/include/flang/Semantics/openmp-directive-sets.h
Log Message:
-----------
[Flang][OpenMP] Complete and organize directive sets (#85219)
This patch adds a couple of new directive sets for composite constructs,
completes some of the existing ones with missing values, refactors all*
sets to always build on the corresponding top* set and reorders sets and
directives alphabetically.
No functional change intended.
Commit: 577306133e14fc4f448b010920dc446607fcabaf
https://github.com/llvm/llvm-project/commit/577306133e14fc4f448b010920dc446607fcabaf
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M mlir/include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.h
Log Message:
-----------
[mlir][bufferization] Fix OpFilter not to crash on unloaded dialects
Commit: d1c37959686db3303f6d5ffaeee12be12facc640
https://github.com/llvm/llvm-project/commit/d1c37959686db3303f6d5ffaeee12be12facc640
Author: Ulrich Weigand <ulrich.weigand at de.ibm.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
M llvm/test/CodeGen/SystemZ/int-usub-12.ll
M llvm/test/CodeGen/SystemZ/int-usub-13.ll
Log Message:
-----------
Revert "Fix overflow flag for i128 USUBO"
This reverts commit d9c31ee9568277e4303715736b40925e41503596.
Commit: d0829fbdeda0a2faa8cf684e1396e579691bdfa2
https://github.com/llvm/llvm-project/commit/d0829fbdeda0a2faa8cf684e1396e579691bdfa2
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/ToolChains/Flang.cpp
M flang/include/flang/Lower/LoweringOptions.def
M flang/lib/Frontend/CompilerInvocation.cpp
M flang/lib/Lower/CallInterface.cpp
M flang/lib/Lower/ConvertType.cpp
M flang/test/Driver/driver-help-hidden.f90
R flang/test/Driver/flang-experimental-polymorphism-flag.f90
M flang/test/Driver/frontend-forwarding.f90
M flang/test/Fir/dispatch.f90
M flang/test/HLFIR/assumed-type-actual-args.f90
M flang/test/HLFIR/boxchar_emboxing.f90
M flang/test/HLFIR/call_with_poly_dummy.f90
M flang/test/Lower/HLFIR/actual_target_for_dummy_pointer.f90
M flang/test/Lower/HLFIR/allocatable-return.f90
M flang/test/Lower/HLFIR/array-ctor-derived.f90
M flang/test/Lower/HLFIR/call-sequence-associated-descriptors.f90
M flang/test/Lower/HLFIR/calls-assumed-shape.f90
M flang/test/Lower/HLFIR/calls-constant-expr-arg-polymorphic.f90
M flang/test/Lower/HLFIR/calls-optional.f90
M flang/test/Lower/HLFIR/calls-poly-to-assumed-type.f90
M flang/test/Lower/HLFIR/convert-mbox-to-value.f90
M flang/test/Lower/HLFIR/designators-component-ref.f90
M flang/test/Lower/HLFIR/designators-parameter-array-slice.f90
M flang/test/Lower/HLFIR/elemental-array-ops.f90
M flang/test/Lower/HLFIR/elemental-polymorphic-merge.f90
M flang/test/Lower/HLFIR/elemental-user-procedure-ref-polymorphic.f90
M flang/test/Lower/HLFIR/function-return-as-expr.f90
M flang/test/Lower/HLFIR/function-return-destroy.f90
M flang/test/Lower/HLFIR/ignore-rank-unlimited-polymorphic.f90
M flang/test/Lower/HLFIR/ignore-type-assumed-shape.f90
M flang/test/Lower/HLFIR/intentout-allocatable-components.f90
M flang/test/Lower/HLFIR/internal-procedures-polymorphic.f90
M flang/test/Lower/HLFIR/intrinsic-assumed-type.f90
M flang/test/Lower/HLFIR/parent-component-ref.f90
M flang/test/Lower/HLFIR/poly_expr_for_nonpoly_dummy.f90
M flang/test/Lower/HLFIR/polymorphic-expressions.f90
M flang/test/Lower/HLFIR/proc-pointer-comp-nopass.f90
M flang/test/Lower/HLFIR/proc-pointer-comp-pass.f90
M flang/test/Lower/HLFIR/select-type-selector.f90
M flang/test/Lower/HLFIR/transpose.f90
M flang/test/Lower/HLFIR/type-bound-call-mismatch.f90
M flang/test/Lower/HLFIR/vector-subscript-as-value.f90
M flang/test/Lower/Intrinsics/extends_type_of.f90
M flang/test/Lower/Intrinsics/same_type_as.f90
M flang/test/Lower/Intrinsics/sizeof.f90
M flang/test/Lower/Intrinsics/spread.f90
M flang/test/Lower/Intrinsics/storage_size.f90
M flang/test/Lower/allocatable-polymorphic.f90
M flang/test/Lower/allocatable-return.f90
M flang/test/Lower/assumed-type.f90
M flang/test/Lower/default-initialization.f90
M flang/test/Lower/derived-type-finalization.f90
M flang/test/Lower/dispatch-table.f90
M flang/test/Lower/dispatch.f90
M flang/test/Lower/intentout-deallocate.f90
M flang/test/Lower/io-derived-type-2.f90
M flang/test/Lower/io-derived-type.f90
M flang/test/Lower/nullify-polymorphic.f90
M flang/test/Lower/pass-null-for-class-arg.f90
M flang/test/Lower/pointer-association-polymorphic.f90
M flang/test/Lower/pointer-disassociate.f90
M flang/test/Lower/polymorphic-temp.f90
M flang/test/Lower/polymorphic-types.f90
M flang/test/Lower/polymorphic.f90
M flang/test/Lower/select-type-2.f90
M flang/test/Lower/select-type.f90
M flang/tools/bbc/bbc.cpp
Log Message:
-----------
[flang] Enable polymorphic lowering by default (#83285)
Polymorphic entity lowering status is good. The main remaining TODO is
to allow lowering of vector subscripted polymorphic entity, but this
does not deserve blocking all application using polymorphism.
Remove experimental option and enable lowering of polymorphic entity by
default.
Commit: d671ebe46ce6bb542ab81ea120751c985f3fe4a3
https://github.com/llvm/llvm-project/commit/d671ebe46ce6bb542ab81ea120751c985f3fe4a3
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/lib/Lower/OpenMP/Utils.h
Log Message:
-----------
[Flang][Lower] NFC: Replace SmallVector with more suitable alternatives (#85227)
In this patch some uses of `llvm::SmallVector` in Flang's lowering to
MLIR are replaced by other types (i.e. `llvm::ArrayRef` and
`llvm::SmallVectorImpl`) which are intended for these uses. This
generally prevents relying on always passing small vectors with a
particular number of elements in the stack.
Commit: aeb4dd14440dd7a0f11cb9a97a733b08323f56c9
https://github.com/llvm/llvm-project/commit/aeb4dd14440dd7a0f11cb9a97a733b08323f56c9
Author: Janek van Oirschot <5994977+JanekvO at users.noreply.github.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/include/llvm/Support/AMDHSAKernelDescriptor.h
M llvm/test/MC/AMDGPU/hsa-gfx12-v4.s
Log Message:
-----------
Fix macro expansion for AMDHSA_BITS_SET (#85661)
Corrects the `AMDHSA_BITS_SET` macro.
Commit: 953c13b5c90bed1e24fe95e90137c4e226ac2d09
https://github.com/llvm/llvm-project/commit/953c13b5c90bed1e24fe95e90137c4e226ac2d09
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
M llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
A llvm/test/CodeGen/AMDGPU/promote-alloca-scoring.ll
Log Message:
-----------
[AMDGPU][PromoteAlloca] Whole-function alloca promotion to vector (#84735)
Update PromoteAllocaToVector so it considers the whole function before promoting allocas.
Allocas are scored & sorted so the highest value ones are seen first. The budget is now per function instead of per alloca.
Passed internal performance testing.
Commit: ccf042e90e1b987d69f01378ed89b832f86d434a
https://github.com/llvm/llvm-project/commit/ccf042e90e1b987d69f01378ed89b832f86d434a
Author: Kai Sasaki <lewuathe at gmail.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M mlir/test/Integration/Dialect/Complex/CPU/correctness.mlir
Log Message:
-----------
[mlir][complex] Make CPU runner test platform agnostic (#85607)
Commit: c9bdeabdf4b46fbf1f6a9fcbf9cd61d460b18c08
https://github.com/llvm/llvm-project/commit/c9bdeabdf4b46fbf1f6a9fcbf9cd61d460b18c08
Author: serge-sans-paille <sguelton at mozilla.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M compiler-rt/test/tsan/signal_sync.cpp
Log Message:
-----------
[tsan][test] Switch setitimer(ITIMER_REAL, ...) to setitimer(ITIMER_VIRTUAL, ...)
Followup to #85188
Commit: 00ca80938b732ee43deb2a94bec1c7efef3025d4
https://github.com/llvm/llvm-project/commit/00ca80938b732ee43deb2a94bec1c7efef3025d4
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/lib/IR/ConstantFold.cpp
M llvm/test/Transforms/InstSimplify/ConstProp/icmp-global.ll
Log Message:
-----------
[ConstantFold] Fix comparison between special pointer constants
This code was assuming that the LHS would always be one of
GlobalVariable, BlockAddress or ConstantExpr. However, it can
also be a special constant like dso_local_equivalent or no_cfi.
Make sure this is handled gracefully.
Commit: 7edfbf2af2253297f48ff8adaba99373f67e8dca
https://github.com/llvm/llvm-project/commit/7edfbf2af2253297f48ff8adaba99373f67e8dca
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M lldb/source/Plugins/Language/CPlusPlus/LibCxxSliceArray.cpp
Log Message:
-----------
[lldb][DataFormatter] Fix format specifiers in LibCxxSliceArray summary provider (#85763)
This caused following warnings in an LLDB build:
```
[237/1072] Building CXX object tools/l...lusLanguage.dir/LibCxxSliceArray.cpp.o
/Volumes/Data/llvm-project/lldb/source/Plugins/Language/CPlusPlus/LibCxxSliceArray.cpp:38:53: warning: format specifies type 'unsigned long long' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
38 | stream.Printf("stride=%" PRIu64 " size=%" PRIu64, stride, size);
| ~~~~~~~~~ ^~~~~~
/Volumes/Data/llvm-project/lldb/source/Plugins/Language/CPlusPlus/LibCxxSliceArray.cpp:38:61: warning: format specifies type 'unsigned long long' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
38 | stream.Printf("stride=%" PRIu64 " size=%" PRIu64, stride, size);
| ~~~~~~~~~ ^~~~
2 warnings generated.
```
This patch simply changes the format specifiers to use the `%zu` for
`size_t`s.
Commit: 078aaf1f78e5df55618b71f1fe75993e4ccb6a72
https://github.com/llvm/llvm-project/commit/078aaf1f78e5df55618b71f1fe75993e4ccb6a72
Author: wanglei <wanglei at loongson.cn>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/lib/Target/LoongArch/AsmParser/LoongArchAsmParser.cpp
M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
M llvm/test/MC/LoongArch/Macros/macros-li-bad.s
Log Message:
-----------
[LoongArch] Add diagnostics for PseudoLI_D instruction (#85742)
Simultaneously improved diagnostic testing for the `PseudoLI_W`
instruction.
Commit: 2f2f16f32bb2a6c250b19adbc229d9dc3b38640c
https://github.com/llvm/llvm-project/commit/2f2f16f32bb2a6c250b19adbc229d9dc3b38640c
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
M flang/lib/Lower/OpenMP/ClauseProcessor.h
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/lib/Lower/OpenMP/Utils.cpp
M flang/lib/Lower/OpenMP/Utils.h
Log Message:
-----------
[Flang][OpenMP][Lower] NFC: Move clause processing helpers into the ClauseProcessor (#85258)
This patch moves some code in PFT to MLIR OpenMP lowering to the
`ClauseProcessor` class. This is so that some behavior that is related
to certain clauses stays within the `ClauseProcessor` and it's not the
caller the one responsible for always doing this when the clause is
present.
Commit: d712c5ed8fab4940ae0480e01fc72a944cbb79e6
https://github.com/llvm/llvm-project/commit/d712c5ed8fab4940ae0480e01fc72a944cbb79e6
Author: martinboehme <mboehme at google.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M clang/lib/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.cpp
M clang/unittests/Analysis/FlowSensitive/UncheckedOptionalAccessModelTest.cpp
Log Message:
-----------
[clang][dataflow] Make optional checker work for types derived from optional. (#84138)
`llvm::MaybeAlign` does this, for example.
It's not an option to simply ignore these derived classes because they
get cast
back to the optional classes (for example, simply when calling the
optional
member functions), and our transfer functions will then run on those
optional
classes and therefore require them to be properly initialized.
Commit: 4a6bc9fd14bd79f1edf5b651b43bd9bda9b90991
https://github.com/llvm/llvm-project/commit/4a6bc9fd14bd79f1edf5b651b43bd9bda9b90991
Author: Wang Pengcheng <wangpengcheng.pp at bytedance.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/include/llvm/Target/TargetMacroFusion.td
M llvm/test/TableGen/MacroFusion.td
Log Message:
-----------
[MacroFusion] Add SingleFusion that accepts a single instruction pair
We add a common class `SingleFusion` that accepts a single instruction
pair to simplify fusion definitions.
Pull Request: https://github.com/llvm/llvm-project/pull/85750
Commit: 4f909da6bc880b816e000159ce2bf69862d0936e
https://github.com/llvm/llvm-project/commit/4f909da6bc880b816e000159ce2bf69862d0936e
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/test/Bitcode/dbg-record-roundtrip.ll
M llvm/tools/llvm-dis/llvm-dis.cpp
Log Message:
-----------
[RemoveDIs] Add flag to control loading into new debug mode from bitcode (#85649)
--load-bitcode-into-experimental-debuginfo-iterators
false: Convert to the old debug mode after reading.
true: Upgrade to the new debug info format (*).
unset: Same as false (for now).
(*) As of this patch it actually just means "don't convert to either
mode after loading". Auto-upgrading will be implemented in an upcoming
patch.
With this flag we can incrementally add support for RemoveDIs by
overriding the "unset" behaviour in individual tools. The flag can be
removed once all tools support the new debug info mode.
Commit: d4fb50d3e5fdf4aba4981371af53aa8fbbd6bf20
https://github.com/llvm/llvm-project/commit/d4fb50d3e5fdf4aba4981371af53aa8fbbd6bf20
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[bazel] Split TransformDialect into a header-only lib in prep for PR85221
This lets users use TensorDialect without depending on all dialects
transitively. 513cdb82223a106f183b49a40d9acb1f7efbbe7e forces that
otherwise.
Commit: 08701e35ed6f29a2fca095a31f1ebbfe059d6d6e
https://github.com/llvm/llvm-project/commit/08701e35ed6f29a2fca095a31f1ebbfe059d6d6e
Author: Pravin Jagtap <prjagtap at amd.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/global_atomic_optimizer_fp_rtn.ll
M llvm/test/CodeGen/AMDGPU/global_atomics_optimizer_fp_no_rtn.ll
Log Message:
-----------
[AMDGPU][NFC] Test clean up. (#85775)
Added common check for DPP and Iterative strategies for uniform value
case since optimization applied is same.
Authored-by: Pravin Jagtap <Pravin.Jagtap at amd.com>
Commit: afec08ef9f1015ea3fe8d67b92acfbb7837c6e9f
https://github.com/llvm/llvm-project/commit/afec08ef9f1015ea3fe8d67b92acfbb7837c6e9f
Author: Max Winkler <max.enrico.winkler at gmail.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Headers/CMakeLists.txt
M clang/lib/Headers/bmiintrin.h
M clang/lib/Headers/immintrin.h
M clang/lib/Headers/intrin.h
A clang/lib/Headers/intrin0.h
M clang/lib/Headers/keylockerintrin.h
M clang/lib/Headers/x86gprintrin.h
M clang/lib/Headers/x86intrin.h
A clang/lib/Headers/yvals_core.h
Log Message:
-----------
[clang] Add `intrin0.h` header to mimic `intrin0.h` used by MSVC STL for clang-cl (#75711)
Fixes https://github.com/llvm/llvm-project/issues/53520.
#### Description ####
Provide `intrin0.h` to be the minimal set of intrinsics that the MSVC
STL requires.
The `intrin0.h` header matches the latest header provided by MSVC 1939
which does include some extra intrinsics that the MSVC STL does not use.
Inside `BuiltinHeaders.def` I kept the header description as `intrin.h`.
If you want me to change those to `intrin0.h` for the moved intrinsics
let me know.
This should now allow `immintrin.h` to be used with function targets for
runtime cpu detection of simd instruction sets without worrying about
the compile-time overhead from MSVC STL including `intrin.h` on clang.
I still need to figure out how to best update MSVC STL to detect for the
presence of `intrin0.h` from clang and to use this header over
`intrin.h`.
#### Testing ####
Built clang locally and ran the test suite. I still need to do a pass
over the existing unit tests for the ms intrinsics to make sure there
aren't any gaps. Wanted to get this PR up for discussion first.
Modified latest MSVC STL from github to point to `intrin0.h` for clang.
Wrote some test files that included MSVC STL headers that rely on
intrinsics such as `atomic`, `bit` and `vector`. Built the unit tests
against x86, arm, aarch64, and x64.
#### Benchmarks ####
The following include times are based on the x64 target with the
modified headers in this PR.
These timings were done by using `clang-cl.exe -ftime-trace` and taking
the wall time for parsing `intrin.h` and `intrin0.h`.
`intrin.h` takes ~897ms to parse.
`intrin0.h` takes ~1ms to parse.
If there is anything required or a different approach is preferred let
me know. I would very much like to move this over the finish line so we
can use function targets with clang-cl.
Commit: 4e612a62bd0f3c4f182ecd7652f92d288fc06894
https://github.com/llvm/llvm-project/commit/4e612a62bd0f3c4f182ecd7652f92d288fc06894
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn
Log Message:
-----------
[gn build] Port afec08ef9f10
Commit: 97fc16e14b16bd44dee1e1bf7211b4688b67027d
https://github.com/llvm/llvm-project/commit/97fc16e14b16bd44dee1e1bf7211b4688b67027d
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Log Message:
-----------
[DAG] visitEXTRACT_VECTOR_ELT - share the same SDLoc instead of recreating it. NFC.
Commit: 9f433bf8cada5855669b43ff70263a1b61128ca4
https://github.com/llvm/llvm-project/commit/9f433bf8cada5855669b43ff70263a1b61128ca4
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/test/CodeGen/X86/combine-pavg.ll
Log Message:
-----------
[X86] Add PAVG(0,x) test coverage for PR #85581
Commit: 9a3ece232ced907f87ed0d5846a57f6d9cbc9832
https://github.com/llvm/llvm-project/commit/9a3ece232ced907f87ed0d5846a57f6d9cbc9832
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M mlir/lib/ExecutionEngine/Float16bits.cpp
Log Message:
-----------
[mlir][sparse] Fix the calling convention of __truncsfbf2 on windows x64
It also wants us to return the value in XMM0.
Commit: ef520ca6b18cf65fc7a13fcad1534f1d70332a88
https://github.com/llvm/llvm-project/commit/ef520ca6b18cf65fc7a13fcad1534f1d70332a88
Author: Luke Lau <luke at igalia.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/rvv/active_lane_mask.ll
M llvm/test/CodeGen/RISCV/rvv/combine-store-extract-crash.ll
M llvm/test/CodeGen/RISCV/rvv/extract-subvector.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-shuffle-concat.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-strided-load-combine.ll
M llvm/test/CodeGen/RISCV/rvv/fpclamptosat_vec.ll
M llvm/test/CodeGen/RISCV/rvv/mgather-sdnode.ll
M llvm/test/CodeGen/RISCV/rvv/pr63596.ll
Log Message:
-----------
Revert "[RISCV] Recursively split concat_vector into smaller LMULs (#83035)"
This reverts commit c59129a7c79448837d665de8f2743ad4b14666f6.
This causes regressions in some x264 workloads like pixel_var_8x8 due to it
interfering with the strided load combine. Reverting so I can try to rework
it as a lowering instead.
Commit: 92764c99e97ab2b347072718ba2a6799b3fe41c7
https://github.com/llvm/llvm-project/commit/92764c99e97ab2b347072718ba2a6799b3fe41c7
Author: Shourya Goel <shouryagoel10000 at gmail.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/AArch64/hadd-combine.ll
Log Message:
-----------
[DAG] Matched Fixedwidth Pattern for ISD::AVGCEILU (#85031)
Fixes: #84753
Commit: 930f21c6bc0fe05c1d08be6353f7c7c6c51f4dc0
https://github.com/llvm/llvm-project/commit/930f21c6bc0fe05c1d08be6353f7c7c6c51f4dc0
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[bazel] Trim TransformDialectInterfaces to the bare minimum
Commit: e9da5f0083d12a7284c780e916c17b6a2785933e
https://github.com/llvm/llvm-project/commit/e9da5f0083d12a7284c780e916c17b6a2785933e
Author: Akash Banerjee <akash.banerjee at amd.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
A openmp/libomptarget/test/offloading/fortran/target-nested-target-data.f90
Log Message:
-----------
[OpenMP] Fix target data region codegen being omitted for device pass (#85218)
This patch enables the BodyCodeGen callback to still trigger for the
TargetData nested region during the device pass. There maybe Target code
nested within the TargetData region for which this is required.
Also add tests for the same.
Commit: 335f3659820e2e771f5165d215300567be478b13
https://github.com/llvm/llvm-project/commit/335f3659820e2e771f5165d215300567be478b13
Author: Ulrich Weigand <ulrich.weigand at de.ibm.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
M llvm/test/CodeGen/SystemZ/int-usub-12.ll
M llvm/test/CodeGen/SystemZ/int-usub-13.ll
Log Message:
-----------
Reapply: [SystemZ] Fix overflow flag for i128 USUBO
We use the VSCBIQ/VSBIQ/VSBCBIQ family of instructions to implement
USUBO/USUBO_CARRY for the i128 data type. However, these instructions
use an inverted sense of the borrow indication flag (a value of 1
indicates *no* borrow, while a value of 0 indicated borrow). This
does not match the semantics of the boolean "overflow" flag of the
USUBO/USUBO_CARRY ISD nodes.
Fix this by generating code to explicitly invert the flag. These
cancel out of the result of USUBO feeds into an USUBO_CARRY.
To avoid unnecessary zero-extend operations, also improve the
DAGCombine handling of ZERO_EXTEND to optimize (zext (xor (trunc)))
sequences where appropriate.
Fixes: https://github.com/llvm/llvm-project/issues/83268
Commit: 175ad6630a869831126dde80f0f9257f9c4c477f
https://github.com/llvm/llvm-project/commit/175ad6630a869831126dde80f0f9257f9c4c477f
Author: NagyDonat <donat.nagy at ericsson.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/ArrayBoundCheckerV2.cpp
M clang/test/Analysis/out-of-bounds-diagnostics.c
M clang/test/Analysis/taint-diagnostic-visitor.c
Log Message:
-----------
[analyzer] Mention possibility of underflow in array overflow errors (#84201)
The checker alpha.security.ArrayBoundV2 performs bounds checking in two
steps: first it checks for underflow, and if it isn't guaranteed then it
assumes that there is no underflow. After this, it checks for overflow,
and if that's guaranteed or the index is tainted then it reports it.
This meant that in situations where overflow and underflow are both
possible (but the index is either tainted or guaranteed to be invalid),
the checker was reporting just an overflow error.
This commit modifies the messages printed in these cases to mention the
possibility of an underflow.
---------
Co-authored-by: Balazs Benics <benicsbalazs at gmail.com>
Commit: 4b10d1fdd31f46a9cdf3e7a196f9934d766a922f
https://github.com/llvm/llvm-project/commit/4b10d1fdd31f46a9cdf3e7a196f9934d766a922f
Author: Zack Johnson <zacklj89 at gmail.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M compiler-rt/lib/interception/interception_win.cpp
Log Message:
-----------
[compiler-rt] Fixing UB on Windows for trampoline allocations (#85639)
Fixing the type of the constant to avoid undefined behavior with respect
to overflow.
Commit: 9f80444c2e669237a5c92013f1a42b91b5609012
https://github.com/llvm/llvm-project/commit/9f80444c2e669237a5c92013f1a42b91b5609012
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
M flang/lib/Lower/OpenMP/ClauseProcessor.h
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/lib/Lower/OpenMP/Utils.cpp
M flang/lib/Lower/OpenMP/Utils.h
Log Message:
-----------
Revert "[Flang][OpenMP][Lower] NFC: Move clause processing helpers into the ClauseProcessor (#85258)"
Reverting due to failing gfortran test.
This reverts commit 2f2f16f32bb2a6c250b19adbc229d9dc3b38640c.
Commit: 94c6ce1de92f56879cad1bfa12ba23ef0ecfcd91
https://github.com/llvm/llvm-project/commit/94c6ce1de92f56879cad1bfa12ba23ef0ecfcd91
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
[SLPVectorizer] Use IRBuilderBase where possible (NFC)
Instead of hardcoding a specific IRBuilder type, use the base
class.
Commit: 835c1b56a82542d91c337e24140bd2b08a7bf715
https://github.com/llvm/llvm-project/commit/835c1b56a82542d91c337e24140bd2b08a7bf715
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/lib/Bitcode/Reader/MetadataLoader.cpp
M llvm/lib/IR/AutoUpgrade.cpp
M llvm/test/Bitcode/DIExpression-aggresult.ll
M llvm/test/Bitcode/dbg-record-roundtrip.ll
M llvm/test/Bitcode/upgrade-dbg-addr.ll
Log Message:
-----------
[RemoveDIs] Auto-upgrade debug intrinsics to DbgRecords (default false) (#85650)
If --load-bitcode-into-experimental-debuginfo-iterators is true then debug
intrinsics are auto-upgraded to DbgRecords (the new debug info format).
The upgrade is trivial because the two representations are semantically
identical. llvm.dbg.value with 4 operands and llvm.dbg.addr intrinsics are
upgraded in the same way as usual, but converted directly into DbgRecords
instead of debug intrinsics.
Commit: 5b59b3afe1cfe52c3c2cb9c9817ca21e589928a0
https://github.com/llvm/llvm-project/commit/5b59b3afe1cfe52c3c2cb9c9817ca21e589928a0
Author: Jeremy Morse <jeremy.morse at sony.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/include/llvm/IR/BasicBlock.h
M llvm/include/llvm/Transforms/Scalar/ConstantHoisting.h
M llvm/lib/Transforms/Scalar/ConstantHoisting.cpp
Log Message:
-----------
[NFC][RemoveDIs] Switch constant-hoisting to insert with iterators (#84738)
Seeing how constant-hoisting also happens to store an insertion-point in
a DenseMap, this means we have to install DenseMapInfo for hashing
BasicBlock::iterators and comparing them. I'm not really sure where to
put the DenseMapInfo declarations as BasicBlock.h seems most logical,
but that then means including DenseMap.h into pretty much all of LLVM.
I've sent this up to the compile time tracker to see whether there's a
major cost from this.
---------
Merged by: Stephen Tozer <stephen.tozer at sony.com>
Commit: c1328db9d8e41bb96e031eb3dfa884e56b07244b
https://github.com/llvm/llvm-project/commit/c1328db9d8e41bb96e031eb3dfa884e56b07244b
Author: Yitzhak Mandelbaum <ymand at users.noreply.github.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M clang/lib/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.cpp
Log Message:
-----------
[clang][dataflow] Refactor processing of terminator element (#84499)
This patch vastly simplifies the code handling terminators, without
changing any
behavior. Additionally, the simplification unblocks our ability to
address a
(simple) FIXME in the code to invoke `transferBranch`, even when builtin
options
are disabled.
Commit: d93363a0e803a9fb2889ff03237f4e93aacf0108
https://github.com/llvm/llvm-project/commit/d93363a0e803a9fb2889ff03237f4e93aacf0108
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M .github/workflows/llvm-tests.yml
Log Message:
-----------
workflows: Fix baseline version for llvm abi checks (#85166)
The baseline version calculations was assuming the minor release would
always be 0.
Commit: ef395a492aa931f428e99e1c0a93d4ad2fb0fcfa
https://github.com/llvm/llvm-project/commit/ef395a492aa931f428e99e1c0a93d4ad2fb0fcfa
Author: ostannard <oliver.stannard at arm.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticCommonKinds.td
M clang/include/clang/Basic/DiagnosticFrontendKinds.td
M clang/include/clang/Basic/DiagnosticIDs.h
M clang/lib/Basic/DiagnosticIDs.cpp
M clang/lib/Basic/Targets/AArch64.cpp
M clang/lib/Basic/Targets/AArch64.h
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/CodeGen/ModuleBuilder.cpp
M clang/lib/CodeGen/TargetInfo.h
M clang/lib/CodeGen/Targets/AArch64.cpp
A clang/test/CodeGen/aarch64-soft-float-abi-errors.c
A clang/test/CodeGen/aarch64-soft-float-abi.c
M clang/test/CodeGen/attr-target-clones-aarch64.c
M clang/test/CodeGen/target-avx-abi-diag.c
A clang/test/Driver/aarch64-soft-float-abi.c
M clang/test/Preprocessor/aarch64-target-features.c
M clang/test/Sema/arm-vector-types-support.c
A llvm/test/CodeGen/AArch64/soft-float-abi.ll
Log Message:
-----------
[AArch64] Add soft-float ABI (#84146)
This is re-working of #74460, which adds a soft-float ABI for AArch64.
That was reverted because it causes errors when building the linux and
fuchsia kernels.
The problem is that GCC's implementation of the ABI compatibility checks
when using the hard-float ABI on a target without FP registers does it's
checks after optimisation. The previous version of this patch reported
errors for all uses of floating-point types, which is stricter than what
GCC does in practice.
This changes two things compared to the first version:
* Only check the types of function arguments and returns, not the types
of other values. This is more relaxed than GCC, while still guaranteeing
ABI compatibility.
* Move the check from Sema to CodeGen, so that inline functions are only
checked if they are actually used. There are some cases in the linux
kernel which depend on this behaviour of GCC.
Commit: 4aec1438cdb2326c3709d57a5ec22fe436d4d8f1
https://github.com/llvm/llvm-project/commit/4aec1438cdb2326c3709d57a5ec22fe436d4d8f1
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[bazel] Make grab bag //libc:internal_includes textual, some of these don't even parse
Commit: 7ef433f62c199c414bffdcac1c8ee3159b29c5f5
https://github.com/llvm/llvm-project/commit/7ef433f62c199c414bffdcac1c8ee3159b29c5f5
Author: Jeremy Morse <jeremy.morse at sony.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/include/llvm/IR/Constants.h
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/lib/IR/Constants.cpp
M llvm/lib/IR/ReplaceConstant.cpp
M llvm/lib/Target/XCore/XCoreLowerThreadLocal.cpp
Log Message:
-----------
[NFC][RemoveDIs] Switch ConstantExpr::getAsInstruction to not insert (#84737)
Because the RemoveDIs work is putting a debug-info bit into
BasicBlock::iterator and iterators are needed for insertion, the
getAsInstruction method declaration would need to use a fully defined
instruction-iterator, which leads to a complicated
header-inclusion-order problem. Much simpler to instead just not insert,
and make it the callers problem to insert.
This is proportionate because there are only four call-sites to
getAsInstruction -- it would suck if we did this everywhere.
---------
Merged by: Stephen Tozer <stephen.tozer at sony.com>
Commit: b4b7d988bdb48827a822d9c87fdc460dceae5cab
https://github.com/llvm/llvm-project/commit/b4b7d988bdb48827a822d9c87fdc460dceae5cab
Author: Leandro Lupori <leandro.lupori at linaro.org>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M flang/test/Driver/cuda-option.f90
Log Message:
-----------
[flang] Fix cuda-option test on Darwin (#85687)
On Darwin, -isysroot is needed and is automatically appended to
%flang and %flang_fc1, so use %flang_fc1 instead to have both -fc1
and -isysroot in the expected positions and avoid errors.
Commit: db4170a4f3a701a62f5c1ef2e6a30f490f107f7d
https://github.com/llvm/llvm-project/commit/db4170a4f3a701a62f5c1ef2e6a30f490f107f7d
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M flang/test/Driver/cuda-option.f90
Log Message:
-----------
Revert "[flang] Fix cuda-option test on Darwin (#85687)"
Reverted due to buildbot failures:
https://lab.llvm.org/buildbot/#/builders/139/builds/61717/
This reverts commit b4b7d988bdb48827a822d9c87fdc460dceae5cab.
Commit: 885f93d62a0a7d2955a755cdc451d394577b36e2
https://github.com/llvm/llvm-project/commit/885f93d62a0a7d2955a755cdc451d394577b36e2
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M flang/test/Driver/cuda-option.f90
Log Message:
-----------
Reapply "[flang] Fix cuda-option test on Darwin (#85687)"
This commit was mistakenly reverted in place of the actual failing
commit prior; reapplying.
This reverts commit db4170a4f3a701a62f5c1ef2e6a30f490f107f7d.
Commit: ab851f7fe946e7eed700ef9d82082eb721860189
https://github.com/llvm/llvm-project/commit/ab851f7fe946e7eed700ef9d82082eb721860189
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/include/llvm/IR/Constants.h
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/lib/IR/Constants.cpp
M llvm/lib/IR/ReplaceConstant.cpp
M llvm/lib/Target/XCore/XCoreLowerThreadLocal.cpp
Log Message:
-----------
Revert "[NFC][RemoveDIs] Switch ConstantExpr::getAsInstruction to not insert (#84737)"
Reverted due to buildbot failures:
https://lab.llvm.org/buildbot/#/builders/139/builds/61717/
This reverts commit 7ef433f62c199c414bffdcac1c8ee3159b29c5f5.
Commit: b59c2a0eb499d8daf8086cd9875083d32496cc58
https://github.com/llvm/llvm-project/commit/b59c2a0eb499d8daf8086cd9875083d32496cc58
Author: alx32 <103613512+alx32 at users.noreply.github.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/test/tools/llvm-objdump/MachO/AArch64/macho-relative-method-lists.test
M llvm/tools/llvm-objdump/MachODump.cpp
Log Message:
-----------
[llvm-objdump][macho] Fix relative method list dumping for little endian hosts (#85778)
`macho-relative-method-lists.test` is failing on little endian
platforms, when matching 'name'.
```
CHK32-NEXT: name 0x144 (0x{{[0-9a-f]*}}) instance_method_00
next:10'0 X error: no match found
18: name 0x144 (0x7ac)
```
This seems like the obvious fix.
Co-authored-by: Alex B <alexborcan at meta.com>
Commit: 0e7681867242ccf9138e7e6a9c2d9925b6ee1e49
https://github.com/llvm/llvm-project/commit/0e7681867242ccf9138e7e6a9c2d9925b6ee1e49
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/test/Analysis/ValueTracking/known-non-zero.ll
Log Message:
-----------
[ValueTracking] Test isKnownNonZero() range metadata with vector (NFC)
Commit: 6872a646523c1e85a98dfa20b2f4dd7774e10ba4
https://github.com/llvm/llvm-project/commit/6872a646523c1e85a98dfa20b2f4dd7774e10ba4
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/test/Analysis/ValueTracking/known-non-zero.ll
Log Message:
-----------
[ValueTracking] Handle vector range metadata in isKnownNonZero()
Nowadays !range can be placed on instructions with vector of int
return value. Support this case in isKnownNonZero().
Commit: 6503b015d4a8971dcb69a63de7d8d203e4be79b6
https://github.com/llvm/llvm-project/commit/6503b015d4a8971dcb69a63de7d8d203e4be79b6
Author: Zahira Ammarguellat <zahira.ammarguellat at intel.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/AST/Expr.h
M clang/lib/AST/DeclPrinter.cpp
M clang/lib/AST/Expr.cpp
M clang/lib/AST/TypePrinter.cpp
M clang/lib/Sema/SemaExpr.cpp
M clang/test/Analysis/eval-predefined-exprs.cpp
M clang/test/SemaCXX/source_location.cpp
M clang/unittests/AST/DeclPrinterTest.cpp
M clang/unittests/AST/TypePrinterTest.cpp
Log Message:
-----------
[clang-cl] Fix value of __FUNCTION__ in MSVC mode. (#84014)
Predefined macro FUNCTION in clang is not returning the same string than
MS for templated functions.
See https://godbolt.org/z/q3EKn5zq4
For the same test case MSVC is returning:
function: TestClass::TestClass
function: TestStruct::TestStruct
function: TestEnum::TestEnum
The initial work for this was in the reverted patch
(https://github.com/llvm/llvm-project/pull/66120). This patch solves the
issues raised in the reverted patch.
Commit: d1e2305a6d70bbf565104644a4594cbf4f78e6ac
https://github.com/llvm/llvm-project/commit/d1e2305a6d70bbf565104644a4594cbf4f78e6ac
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/lib/Analysis/ValueTracking.cpp
Log Message:
-----------
[ValueTracking] Fix release build
Move the declaration of the Ty variable outside the NDEBUG guard
and make use of it in the remainder of the function.
Commit: a1fb51453d9b47ea011f8b948f2f099da2edf2c9
https://github.com/llvm/llvm-project/commit/a1fb51453d9b47ea011f8b948f2f099da2edf2c9
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M libc/src/math/generic/atanf.cpp
Log Message:
-----------
[libc] Prevent constant propagation for atanf(+-Inf) in gcc. (#85733)
gcc bot failures with `atanf(+-Inf)`:
https://lab.llvm.org/buildbot/#/builders/250/builds/20331/steps/8/logs/stdio
Commit: 2cc75aed0925f3c7e8e50b2f4bdc94daac4cb08d
https://github.com/llvm/llvm-project/commit/2cc75aed0925f3c7e8e50b2f4bdc94daac4cb08d
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/lib/Analysis/ValueTracking.cpp
Log Message:
-----------
[ValueTracking] Move MD_range handling to isKnownNonZeroFromOperator()
All the isKnownNonZero() handling for instructions should be inside
this function. This makes the structure more similar to
computeKnownBitsFromOperator() as well.
This may not be entirely NFC due to different depth handling.
Commit: 31eaf86a1e8f1870e6ee4c42088a5213bde294b8
https://github.com/llvm/llvm-project/commit/31eaf86a1e8f1870e6ee4c42088a5213bde294b8
Author: Alexey Bataev <5361294+alexey-bataev at users.noreply.github.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/AArch64/ext-trunc.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/gather-buildvector-with-minbitwidth-user.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/gather-with-minbith-user.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/getelementptr2.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/reduce-add-i64.ll
M llvm/test/Transforms/SLPVectorizer/RISCV/reductions.ll
M llvm/test/Transforms/SLPVectorizer/X86/PR35777.ll
M llvm/test/Transforms/SLPVectorizer/X86/int-bitcast-minbitwidth.ll
M llvm/test/Transforms/SLPVectorizer/X86/minbitwidth-icmp-to-trunc.ll
M llvm/test/Transforms/SLPVectorizer/X86/minbitwidth-multiuse-with-insertelement.ll
M llvm/test/Transforms/SLPVectorizer/X86/minbitwidth-transformed-operand.ll
M llvm/test/Transforms/SLPVectorizer/X86/minbitwidth-user-not-min.ll
M llvm/test/Transforms/SLPVectorizer/X86/minimum-sizes.ll
M llvm/test/Transforms/SLPVectorizer/X86/phi-undef-input.ll
M llvm/test/Transforms/SLPVectorizer/X86/resched.ll
M llvm/test/Transforms/SLPVectorizer/X86/reused-reductions-with-minbitwidth.ll
M llvm/test/Transforms/SLPVectorizer/X86/same-scalar-in-same-phi-extract.ll
M llvm/test/Transforms/SLPVectorizer/X86/store-insertelement-minbitwidth.ll
M llvm/test/Transforms/SLPVectorizer/alt-cmp-vectorize.ll
Log Message:
-----------
[SLP]Improve minbitwidth analysis.
This improves overall analysis for minbitwidth in SLP. It allows to
analyze the trees with store/insertelement root nodes. Also, instead of
using single minbitwidth, detected from the very first analysis stage,
it tries to detect the best one for each trunc/ext subtree in the graph
and use it for the subtree.
Results in better code and less vector register pressure.
Metric: size..text
Program size..text
results results0 diff
test-suite :: SingleSource/Benchmarks/Adobe-C++/simple_types_loop_invariant.test 92549.00 92609.00 0.1%
test-suite :: External/SPEC/CINT2017speed/625.x264_s/625.x264_s.test 663381.00 663493.00 0.0%
test-suite :: External/SPEC/CINT2017rate/525.x264_r/525.x264_r.test 663381.00 663493.00 0.0%
test-suite :: MultiSource/Benchmarks/Bullet/bullet.test 307182.00 307214.00 0.0%
test-suite :: External/SPEC/CFP2017speed/638.imagick_s/638.imagick_s.test 1394420.00 1394484.00 0.0%
test-suite :: External/SPEC/CFP2017rate/538.imagick_r/538.imagick_r.test 1394420.00 1394484.00 0.0%
test-suite :: External/SPEC/CFP2017rate/510.parest_r/510.parest_r.test 2040257.00 2040273.00 0.0%
test-suite :: External/SPEC/CFP2017rate/526.blender_r/526.blender_r.test 12396098.00 12395858.00 -0.0%
test-suite :: External/SPEC/CINT2006/445.gobmk/445.gobmk.test 909944.00 909768.00 -0.0%
SingleSource/Benchmarks/Adobe-C++/simple_types_loop_invariant - 4 scalar
instructions remain scalar (good).
Spec2017/x264 - the whole function idct4x4dc is vectorized using <16
x i16> instead of <16 x i32>, also zext/trunc are removed. In other
places last vector zext/sext removed and replaced by
extractelement + scalar zext/sext pair.
MultiSource/Benchmarks/Bullet/bullet - reduce or <4 x i32> replaced by
reduce or <4 x i8>
Spec2017/imagick - Removed extra zext from 2 packs of the operations.
Spec2017/parest - Removed extra zext, replaced by extractelement+scalar
zext
Spec2017/blender - the whole bunch of vector zext/sext replaced by
extractelement+scalar zext/sext, some extra code vectorized in smaller
types.
Spec2006/gobmk - fixed cost estimation, some small code remains scalar.
Original Pull Request: https://github.com/llvm/llvm-project/pull/84334
The patch has the same functionality (no test changes, no changes in
benchmarks) as the original patch, just has some compile time
improvements + fixes for xxhash unittest, discovered earlier in the
previous version of the patch.
Reviewers:
Pull Request: https://github.com/llvm/llvm-project/pull/84536
Commit: 43a2ec483fe08064b53a6293682e9bab97df61a0
https://github.com/llvm/llvm-project/commit/43a2ec483fe08064b53a6293682e9bab97df61a0
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/docs/CommandGuide/dsymutil.rst
M llvm/include/llvm/CodeGen/NonRelocatableStringpool.h
M llvm/include/llvm/DWARFLinker/Classic/DWARFStreamer.h
M llvm/include/llvm/DWARFLinker/DWARFLinkerBase.h
M llvm/include/llvm/DWARFLinker/Parallel/DWARFLinker.h
M llvm/lib/CodeGen/NonRelocatableStringpool.cpp
M llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp
M llvm/lib/DWARFLinker/Classic/DWARFStreamer.cpp
M llvm/lib/DWARFLinker/Parallel/DWARFLinker.cpp
M llvm/lib/DWARFLinker/Parallel/DWARFLinkerGlobalData.h
M llvm/lib/DWARFLinker/Parallel/DWARFLinkerImpl.cpp
M llvm/lib/DWARFLinker/Parallel/DWARFLinkerImpl.h
M llvm/lib/DWARFLinker/Parallel/OutputSections.h
M llvm/lib/DWARFLinker/Parallel/StringEntryToDwarfStringPoolEntryMap.h
R llvm/test/tools/dsymutil/ARM/obfuscated.test
R llvm/test/tools/dsymutil/Inputs/obfuscated.2.arm64
R llvm/test/tools/dsymutil/Inputs/obfuscated.2.map
R llvm/test/tools/dsymutil/Inputs/obfuscated.arm64
R llvm/test/tools/dsymutil/Inputs/obfuscated.map
M llvm/test/tools/dsymutil/cmdline.test
M llvm/tools/dsymutil/CMakeLists.txt
M llvm/tools/dsymutil/DwarfLinkerForBinary.cpp
M llvm/tools/dsymutil/LinkUtils.h
M llvm/tools/dsymutil/MachOUtils.cpp
M llvm/tools/dsymutil/MachOUtils.h
M llvm/tools/dsymutil/Options.td
R llvm/tools/dsymutil/SymbolMap.cpp
R llvm/tools/dsymutil/SymbolMap.h
M llvm/tools/dsymutil/dsymutil.cpp
M llvm/tools/llvm-dwarfutil/DebugInfoLinker.cpp
Log Message:
-----------
[dsymutil] Remove support for obfuscated bitcode (#85713)
Remove support for obfuscated bitcode in dsymutil and the DWARF linker.
We no longer support bitcode submissions and the obfuscation support has
been removed from the rest of the compiler.
rdar://123863918
Commit: 66125ad8e9978e6fdec0e1c3ff83e717eff07aca
https://github.com/llvm/llvm-project/commit/66125ad8e9978e6fdec0e1c3ff83e717eff07aca
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
A llvm/test/CodeGen/X86/avgceils.ll
A llvm/test/CodeGen/X86/avgceilu.ll
A llvm/test/CodeGen/X86/avgfloors.ll
A llvm/test/CodeGen/X86/avgflooru.ll
Log Message:
-----------
[X86] Add test coverage for vector avgceils/avgceilu/avgfloors/avgflooru test patterns
SSE only has AVGCEILU vXi8/vXi16 support - but for other types we should be trying to use the fixed width expansion instead of extensions
Commit: c20596ca2bbeb1926ece1f03f25fdd138933c916
https://github.com/llvm/llvm-project/commit/c20596ca2bbeb1926ece1f03f25fdd138933c916
Author: Florian Mayer <fmayer at google.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
Log Message:
-----------
[NFC] [hwasan] also be more consistent when getting pointer types (#84399)
Commit: 25bb7436ca3edbb0f49cef96a27f1e507b973e6c
https://github.com/llvm/llvm-project/commit/25bb7436ca3edbb0f49cef96a27f1e507b973e6c
Author: Stanislav Mekhanoshin <rampitec at users.noreply.github.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/include/llvm/MC/MCInstrAnalysis.h
Log Message:
-----------
Trim trailing whitespaces in MCInstrAnalysis.h. NFC. (#85805)
Commit: 9a96fb4445f4e9d9a7899189758ee6afbeb6510b
https://github.com/llvm/llvm-project/commit/9a96fb4445f4e9d9a7899189758ee6afbeb6510b
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M clang/lib/CodeGen/CGCUDANV.cpp
M llvm/include/llvm/IR/Constants.h
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/lib/IR/Constants.cpp
M llvm/lib/IR/ReplaceConstant.cpp
M llvm/lib/Target/XCore/XCoreLowerThreadLocal.cpp
Log Message:
-----------
Reapply "[NFC][RemoveDIs] Switch ConstantExpr::getAsInstruction to not insert (#84737)"
Fixes a build error caused by an unupdated getAsInstruction callsite in clang.
This reverts commit ab851f7fe946e7eed700ef9d82082eb721860189.
Commit: 8819f8799868a95bba24c0a574a9b1455e63b63d
https://github.com/llvm/llvm-project/commit/8819f8799868a95bba24c0a574a9b1455e63b63d
Author: Guray Ozen <guray.ozen at gmail.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
M mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp
M mlir/test/Conversion/NVVMToLLVM/nvvm-to-llvm.mlir
M mlir/test/Dialect/LLVMIR/nvvm.mlir
Log Message:
-----------
[MLIR][NVVM] Add barrier.arrive (#85412)
PR adds `nvvm.barrier.arrive` Op. It is useful op for producer consumer
modeling.
Commit: a40becdcbeca3da91b97ed1d81f9506f74fc8000
https://github.com/llvm/llvm-project/commit/a40becdcbeca3da91b97ed1d81f9506f74fc8000
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/test/UnitTest/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/test/src/math/BUILD.bazel
Log Message:
-----------
[bazel][libc] Add more mess
Commit: 0081ec11d86f34982ac5b1df4f53943a92d5223f
https://github.com/llvm/llvm-project/commit/0081ec11d86f34982ac5b1df4f53943a92d5223f
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
Log Message:
-----------
[VectorCombine] Add a mask for SK_Broadcast shuffle costing (#85808)
This is part of a series of small patches to compute shuffle masks for
the couple of cases where we call getShuffleCost without one. My goal is
to add an invariant that all calls to getShuffleCost for fixed length
vectors have a mask.
Note that this code appears to be reachable with scalable vectors, and
thus we have to only pass a non-empty mask when the number of elements
is precisely known.
Commit: 081a66ffacfe85a37ff775addafcf3371e967328
https://github.com/llvm/llvm-project/commit/081a66ffacfe85a37ff775addafcf3371e967328
Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/Sema/SemaChecking.cpp
M clang/test/CodeGenHLSL/builtins/dot.hlsl
M clang/test/SemaHLSL/BuiltIns/dot-errors.hlsl
M llvm/include/llvm/IR/IntrinsicsDirectX.td
M llvm/lib/Target/DirectX/DXILIntrinsicExpansion.cpp
A llvm/test/CodeGen/DirectX/idot.ll
Log Message:
-----------
[DXIL] implement dot intrinsic lowering for integers (#85662)
this implements part 1 of 2 for #83626
- `CGBuiltin.cpp` - modified to have seperate cases for signed and
unsigned integers.
- `SemaChecking.cpp` - modified to prevent the generation of a double
dot product intrinsic if the builtin were to be called directly.
- `IntrinsicsDirectX.td` creation of the signed and unsigned dot
intrinsics needed for instruction expansion.
- `DXILIntrinsicExpansion.cpp` - handle instruction expansion cases for
integer dot product.
Commit: 252e2551eab9b59f7dcbf8bb79a1432884d546e4
https://github.com/llvm/llvm-project/commit/252e2551eab9b59f7dcbf8bb79a1432884d546e4
Author: Christian Ulmann <christianulmann at gmail.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M mlir/lib/Dialect/LLVMIR/IR/LLVMMemorySlot.cpp
M mlir/test/Dialect/LLVMIR/sroa.mlir
Log Message:
-----------
[MLIR][LLVM][SROA] Avoid splitting dynamically indexed allocas (#85758)
This commit ensures that SROA does no longer attempt to split allocas
that are indexed into dynamically. Dynamic indices into arrays are
allowed to be negative or out-of-bounds, when the alloca containing the
array has memory backing these produced indices.
Commit: c63a291c64852a086cb447c7078e5312aac1a05c
https://github.com/llvm/llvm-project/commit/c63a291c64852a086cb447c7078e5312aac1a05c
Author: Nick Desaulniers <nickdesaulniers at users.noreply.github.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M libc/src/__support/CPP/array.h
A libc/src/__support/CPP/iterator.h
M libc/test/src/__support/CPP/CMakeLists.txt
A libc/test/src/__support/CPP/array_test.cpp
Log Message:
-----------
[libc][cpp] reverse_iterator support (#85702)
Towards the goal of implementing __cxa_finalize (#85651) I'd like to be able to
reverse iterate over cpp::arrays such as the one used in FixedVector.
Implement the enough iterator support to be able to iterate a cpp::array in
reverse, and add tests.
Of note, reverse iterator's begin() refers to forward iterator's end() (and
vice versa). When dereferenced (operator*), the reverse iterator returns a copy
that's been pre-decremented (the underlying forward iterator is advanced).
Commit: b9d83eff254668385fd3d9d5ddb5af762f378d7f
https://github.com/llvm/llvm-project/commit/b9d83eff254668385fd3d9d5ddb5af762f378d7f
Author: Jeremy Morse <jeremy.morse at sony.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/lib/Analysis/PHITransAddr.cpp
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/lib/CodeGen/DwarfEHPrepare.cpp
M llvm/lib/CodeGen/GCRootLowering.cpp
M llvm/lib/CodeGen/IndirectBrExpandPass.cpp
M llvm/lib/CodeGen/InterleavedAccessPass.cpp
M llvm/lib/CodeGen/IntrinsicLowering.cpp
M llvm/lib/CodeGen/JMCInstrumenter.cpp
M llvm/lib/CodeGen/SjLjEHPrepare.cpp
M llvm/lib/CodeGen/WinEHPrepare.cpp
M llvm/lib/Passes/PassBuilder.cpp
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
M llvm/lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
M llvm/lib/Target/ARM/MVEGatherScatterLowering.cpp
M llvm/lib/Target/BPF/BPFAbstractMemberAccess.cpp
M llvm/lib/Target/BPF/BPFPreserveDIType.cpp
M llvm/lib/Target/Hexagon/HexagonCommonGEP.cpp
M llvm/lib/Target/Mips/Mips16HardFloat.cpp
M llvm/lib/Target/NVPTX/NVPTXImageOptimizer.cpp
M llvm/lib/Target/NVPTX/NVPTXLowerArgs.cpp
M llvm/lib/Target/NVPTX/NVPTXLowerUnreachable.cpp
M llvm/lib/Target/PowerPC/PPCBoolRetToInt.cpp
M llvm/lib/Target/PowerPC/PPCLoopInstrFormPrep.cpp
M llvm/lib/Target/RISCV/RISCVGatherScatterLowering.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyLowerRefTypesIntPtrConv.cpp
M llvm/lib/Target/X86/X86LowerAMXType.cpp
M polly/lib/CodeGen/IslNodeBuilder.cpp
M polly/lib/CodeGen/LoopGenerators.cpp
M polly/lib/Support/ScopHelper.cpp
Log Message:
-----------
[NFC][RemoveDIs] Use iterators for insertion at various call-sites (#84736)
These are the last remaining "trivial" changes to passes that use
Instruction pointers for insertion. All of this should be NFC, it's just
changing the spelling of how we identify a position.
In one or two locations, I'm also switching uses of getNextNode etc to
using std::next with iterators. This too should be NFC.
---------
Merged by: Stephen Tozer <stephen.tozer at sony.com>
Commit: e59f120e3a14ccdc55fcb7be996efaa768daabe0
https://github.com/llvm/llvm-project/commit/e59f120e3a14ccdc55fcb7be996efaa768daabe0
Author: Luke Lau <luke at igalia.com>
Date: 2024-03-20 (Wed, 20 Mar 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-strided-load-combine.ll
Log Message:
-----------
[RISCV] Add test for strided load combine regression. NFC
This adds a reduced test case for the regression seen in x264 with #83035.
If the intermediate concatenating shuffles are large enough then the
splitting combine will prevent the strided load combine which is
preferable.
Commit: 24f22b3f93f950348cbff35feb7ad9a5d16d916d
https://github.com/llvm/llvm-project/commit/24f22b3f93f950348cbff35feb7ad9a5d16d916d
Author: Fangrui Song <i at maskray.me>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M lld/test/ELF/aarch64-tlsdesc-zrel.s
M lld/test/ELF/pack-dyn-relocs.s
M llvm/test/tools/llvm-readobj/ELF/decompress-zlib-unsupported.test
M llvm/test/tools/llvm-readobj/ELF/decompress-zlib.test
M llvm/test/tools/llvm-readobj/ELF/decompress-zstd-unsupported.test
M llvm/test/tools/llvm-readobj/ELF/hex-dump-multi.s
M llvm/test/tools/llvm-readobj/ELF/hex-dump.test
M llvm/test/tools/llvm-readobj/ELF/string-dump-multi.s
M llvm/test/tools/llvm-readobj/ELF/string-dump.test
M llvm/tools/llvm-readobj/ObjDumper.cpp
Log Message:
-----------
[llvm-readelf] Print a blank line for the first hex/string dump
GNU readelf prints a blank line before the first hex/string dump, which
serves as a separator when there are other dump operations. Port the
behavior.
Pull Request: https://github.com/llvm/llvm-project/pull/85744
Commit: 09eb9f1136c8572c4c3f2ec46be50899c32fc881
https://github.com/llvm/llvm-project/commit/09eb9f1136c8572c4c3f2ec46be50899c32fc881
Author: Michele Scandale <michele.scandale at gmail.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/test/Transforms/InstCombine/fold-select-fmul-if-zero.ll
M llvm/test/Transforms/InstCombine/select-binop-foldable-floating-point.ll
M llvm/test/Transforms/InstCombine/select_meta.ll
M llvm/test/Transforms/LoopVectorize/ARM/mve-selectandorcost.ll
M llvm/test/Transforms/LoopVectorize/reduction-inloop-cond.ll
M llvm/test/Transforms/LoopVectorize/reduction-inloop-pred.ll
M llvm/test/Transforms/LoopVectorize/reduction-inloop.ll
M llvm/test/Transforms/LoopVectorize/reduction.ll
M llvm/test/Transforms/PhaseOrdering/AArch64/hoisting-sinking-required-for-vectorization.ll
Log Message:
-----------
[InstCombine] Fix for folding `select` into floating point binary operators. (#83200)
Folding a `select` into a floating point binary operators can only be
done if the result is preserved for both case. In particular, if the
other operand of the `select` can be a NaN, then the transformation
won't preserve the result value.
Commit: 9ed1aa36be654f6687c4f9000c973b722217881c
https://github.com/llvm/llvm-project/commit/9ed1aa36be654f6687c4f9000c973b722217881c
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M clang/lib/AST/DeclPrinter.cpp
Log Message:
-----------
Fixing up an edit missed in #84014; NFC
Commit: ab76052fa9331f418d7911cafefabd4dd0c1941e
https://github.com/llvm/llvm-project/commit/ab76052fa9331f418d7911cafefabd4dd0c1941e
Author: Changpeng Fang <changpeng.fang at amd.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIInstrInfo.h
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.sched.group.barrier.gfx12.ll
Log Message:
-----------
AMDGPU: Treat SWMMAC the same as MFMA and other WMMA for sched_barrier (#85721)
Commit: fe84369cc6759194e006f3f624a064bce13c84d4
https://github.com/llvm/llvm-project/commit/fe84369cc6759194e006f3f624a064bce13c84d4
Author: Kojo Acquah <KoolJBlack at users.noreply.github.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M mlir/lib/Dialect/ArmNeon/Transforms/LowerContractionToSMMLAPattern.cpp
M mlir/test/Dialect/ArmNeon/lower-to-arm-neon.mlir
Log Message:
-----------
[mlir][ArmNeon] Implements unrolling patterns for LowerContractionToSMMLAPattern (#84848)
This patch updates `LowerContractionToSMMLAPattern` to unroll larger vector contracts into multiple smmla instructions.
Now accepts up to [8,8,8] tiles (previously only [2,2,8]). The N/M dimensions must be powers of 2. `vector.extract_strided_slice`/`vector.insert_strided_slice` divides the contract into tiles to be processed in a row.
Commit: a7eaae4ec686ddfb8f91868fc8d053b2163f7ec7
https://github.com/llvm/llvm-project/commit/a7eaae4ec686ddfb8f91868fc8d053b2163f7ec7
Author: harishch4 <harishcse44 at gmail.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M flang/lib/Semantics/resolve-names.cpp
M flang/test/Semantics/separate-mp05.f90
Log Message:
-----------
[Flang] Fix to the module procedure interface block ignoring implicit… (#85735)
… of host scoping unit.
Fix as proposed by @thtsikas [here
](https://github.com/llvm/llvm-project/commit/11d07d9ef618497b825badee8b4f06a48575606b#commitcomment-139798026).
Commit: c7de4a39d5673b91189395f85ca6f71b1eeb115c
https://github.com/llvm/llvm-project/commit/c7de4a39d5673b91189395f85ca6f71b1eeb115c
Author: Brad Smith <brad at comstyle.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M openmp/runtime/test/lit.cfg
Log Message:
-----------
[OpenMP] Enable the affinity tests on FreeBSD, NetBSD and DragonFly (#85500)
FreeBSD, NetBSD and DragonFly also have affinity support. So enable the tests there as well.
Commit: b9a41b9e9b1441a7b0ca0fb95b9184f73bbfd4b5
https://github.com/llvm/llvm-project/commit/b9a41b9e9b1441a7b0ca0fb95b9184f73bbfd4b5
Author: Dominik Adamski <dominik.adamski at amd.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
A openmp/libomptarget/test/offloading/workshare_chunk.c
Log Message:
-----------
[NFC][OpenMP] Add test checking clang offload chunking policy (#83261)
Verify how clang handles `dist_schedule(static, block_chunk)` and
`schedule(static, thread_chunk)` clauses for OpenMP offload loop
workshare pragmas.
Commit: 5f38436d34360d17b58f643650f3605bb9609a34
https://github.com/llvm/llvm-project/commit/5f38436d34360d17b58f643650f3605bb9609a34
Author: Fangrui Song <i at maskray.me>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M clang/lib/Driver/SanitizerArgs.cpp
A clang/test/Driver/fsanitize-signed-integer-overflow.c
Log Message:
-----------
[Driver] -fsanitize=undefined: don't expand to signed-integer-overflow if -fwrapv (#85501)
Linux kernel uses -fwrapv to change signed integer overflows from
undefined behaviors to defined behaviors. However, the security folks
still want -fsanitize=signed-integer-overflow diagnostics. Their
intention can be expressed with -fwrapv
-fsanitize=signed-integer-overflow (#80089). This mode by default
reports recoverable errors while still making signed integer overflows
defined (most UBSan checks are recoverable by default: you get errors in
stderr, but the program is not halted).
-fsanitize=undefined -fwrapv users likely want to suppress
signed-integer-overflow, unless signed-integer-overflow is explicitly
enabled. Implement this suppression.
Commit: 4bade55cc65db8b7f977dba4f13bf335e93317a8
https://github.com/llvm/llvm-project/commit/4bade55cc65db8b7f977dba4f13bf335e93317a8
Author: Fangrui Song <i at maskray.me>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M lld/test/ELF/aarch64-tlsdesc-zrel.s
Log Message:
-----------
[test] Fix aarch64-tlsdesc-zrel.s
Commit: 3176c157190c80b4279dec86c4b9b84472d8ccac
https://github.com/llvm/llvm-project/commit/3176c157190c80b4279dec86c4b9b84472d8ccac
Author: Andres Villegas <andresvi at google.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/docs/CommandGuide/dsymutil.rst
M llvm/include/llvm/CodeGen/NonRelocatableStringpool.h
M llvm/include/llvm/DWARFLinker/Classic/DWARFStreamer.h
M llvm/include/llvm/DWARFLinker/DWARFLinkerBase.h
M llvm/include/llvm/DWARFLinker/Parallel/DWARFLinker.h
M llvm/lib/CodeGen/NonRelocatableStringpool.cpp
M llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp
M llvm/lib/DWARFLinker/Classic/DWARFStreamer.cpp
M llvm/lib/DWARFLinker/Parallel/DWARFLinker.cpp
M llvm/lib/DWARFLinker/Parallel/DWARFLinkerGlobalData.h
M llvm/lib/DWARFLinker/Parallel/DWARFLinkerImpl.cpp
M llvm/lib/DWARFLinker/Parallel/DWARFLinkerImpl.h
M llvm/lib/DWARFLinker/Parallel/OutputSections.h
M llvm/lib/DWARFLinker/Parallel/StringEntryToDwarfStringPoolEntryMap.h
A llvm/test/tools/dsymutil/ARM/obfuscated.test
A llvm/test/tools/dsymutil/Inputs/obfuscated.2.arm64
A llvm/test/tools/dsymutil/Inputs/obfuscated.2.map
A llvm/test/tools/dsymutil/Inputs/obfuscated.arm64
A llvm/test/tools/dsymutil/Inputs/obfuscated.map
M llvm/test/tools/dsymutil/cmdline.test
M llvm/tools/dsymutil/CMakeLists.txt
M llvm/tools/dsymutil/DwarfLinkerForBinary.cpp
M llvm/tools/dsymutil/LinkUtils.h
M llvm/tools/dsymutil/MachOUtils.cpp
M llvm/tools/dsymutil/MachOUtils.h
M llvm/tools/dsymutil/Options.td
A llvm/tools/dsymutil/SymbolMap.cpp
A llvm/tools/dsymutil/SymbolMap.h
M llvm/tools/dsymutil/dsymutil.cpp
M llvm/tools/llvm-dwarfutil/DebugInfoLinker.cpp
Log Message:
-----------
Revert "[dsymutil] Remove support for obfuscated bitcode" (#85826)
Reverts llvm/llvm-project#85713 Since it is breaking Linux x64 builds.
Commit: 71b69dd21becdfbf8922674ce6ca4129926660ab
https://github.com/llvm/llvm-project/commit/71b69dd21becdfbf8922674ce6ca4129926660ab
Author: Heejin Ahn <aheejin at gmail.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/lib/Target/WebAssembly/Utils/WebAssemblyTypeUtilities.cpp
M llvm/lib/Target/WebAssembly/Utils/WebAssemblyTypeUtilities.h
M llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h
M llvm/lib/Target/WebAssembly/WebAssemblyRegColoring.cpp
Log Message:
-----------
[WebAssembly] Pass ArrayRef by value (NFC) (#85732)
`ArrayRef` is supposed to be passed by value:
https://github.com/llvm/llvm-project/blob/bda05140fb758156ae35f3919e6283d94bfa3905/llvm/include/llvm/ADT/ArrayRef.h#L38-L39
Commit: e61922d327c39805a7303586f4b0accf3398c774
https://github.com/llvm/llvm-project/commit/e61922d327c39805a7303586f4b0accf3398c774
Author: Takuto Ikuta <tikuta at google.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/include/llvm/Support/TimeProfiler.h
M llvm/lib/Support/TimeProfiler.cpp
M llvm/unittests/Support/TimeProfilerTest.cpp
Log Message:
-----------
Expose TimeTraceProfiler for Async Events (#83778)
To avoid issue like https://github.com/llvm/llvm-project/issues/56554
and https://github.com/llvm/llvm-project/issues/83236 due to no
guarantees for nested relationships between file level span and syntax
tree level span, I'd like to have a `timeTraceAsyncProfilerBegin`
specific to trace handling only `Source` spans around
https://github.com/llvm/llvm-project/blob/8715f256911786520bb727ce067098d7082ac45c/clang/lib/Sema/Sema.cpp#L153-L170.
This is a preparation PR to do that in [following
PR](https://github.com/llvm/llvm-project/pull/83961).
Commit: 1d296ec226903a09de0215e05d852b2b80712855
https://github.com/llvm/llvm-project/commit/1d296ec226903a09de0215e05d852b2b80712855
Author: Michael Jones <michaelrj at google.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[libc][bazel] fix missing iterator inclusion (#85840)
Patch #85702 added a new iterator header for array to use, but didn't
add it as a dependency in the bazel build. This patch fixes the issue.
Commit: a0394f16912c49a6760fbc22ab9d29c6cac6fb0a
https://github.com/llvm/llvm-project/commit/a0394f16912c49a6760fbc22ab9d29c6cac6fb0a
Author: Paul T Robinson <paul.robinson at sony.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M clang/lib/Headers/avxintrin.h
M clang/lib/Headers/emmintrin.h
M clang/lib/Headers/xmmintrin.h
Log Message:
-----------
[Headers][X86] Add rounding and exception notes to conversions (#83447)
Consistently describe rounding/truncating on convert intrinsics. Add
notes where an out-of-range result can raise an exception.
Commit: 3ff67d8c8069b9f42efcbe90ad7edeb6d8117a31
https://github.com/llvm/llvm-project/commit/3ff67d8c8069b9f42efcbe90ad7edeb6d8117a31
Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M clang/include/clang/AST/Type.h
M clang/lib/Sema/SemaChecking.cpp
Log Message:
-----------
[HLSL] Fix for build break introduced by #85662 (#85839)
This change fixes a test case failure caused by pr #85662
Commit: 0a40f5d1a05a4108b5d9febf3ea8df4c1244a340
https://github.com/llvm/llvm-project/commit/0a40f5d1a05a4108b5d9febf3ea8df4c1244a340
Author: Piotr Zegar <me at piotrzegar.pl>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M clang-tools-extra/clang-tidy/cppcoreguidelines/OwningMemoryCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/owning-memory.cpp
Log Message:
-----------
[clang-tidy] Add support for lambdas in cppcoreguidelines-owning-memory (#77246)
Implement proper support for lambdas and sub-functions/classes.
Moved from https://reviews.llvm.org/D157285
Fixes: #59389
Commit: 28c1279db3541bc7b246fd9da0da3da4e09f0eed
https://github.com/llvm/llvm-project/commit/28c1279db3541bc7b246fd9da0da3da4e09f0eed
Author: Piotr Zegar <piotr.zegar at nokia.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M clang-tools-extra/clang-tidy/bugprone/BugproneTidyModule.cpp
M clang-tools-extra/clang-tidy/bugprone/CMakeLists.txt
A clang-tools-extra/clang-tidy/bugprone/SuspiciousStringviewDataUsageCheck.cpp
A clang-tools-extra/clang-tidy/bugprone/SuspiciousStringviewDataUsageCheck.h
M clang-tools-extra/docs/ReleaseNotes.rst
A clang-tools-extra/docs/clang-tidy/checks/bugprone/suspicious-stringview-data-usage.rst
M clang-tools-extra/docs/clang-tidy/checks/list.rst
M clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/string
A clang-tools-extra/test/clang-tidy/checkers/bugprone/suspicious-stringview-data-usage.cpp
Log Message:
-----------
[clang-tidy] Add bugprone-suspicious-stringview-data-usage check (#83716)
This check identifies suspicious usages of std::string_view::data() that
could lead to reading out-of-bounds data due to inadequate or incorrect
string null termination.
Closes #80854
Commit: a6e231bb2a7924f4269e6735d29a54b2318cd16c
https://github.com/llvm/llvm-project/commit/a6e231bb2a7924f4269e6735d29a54b2318cd16c
Author: alexfh <alexfh at google.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/include/llvm/Transforms/Scalar/Float2Int.h
M llvm/lib/Transforms/Scalar/Float2Int.cpp
M llvm/test/Transforms/Float2Int/basic.ll
Log Message:
-----------
Revert "[Float2Int] Resolve FIXME: Pick the smallest legal type that fits" (#85843)
Reverts llvm/llvm-project#79158, which causes a miscompile. See
https://github.com/llvm/llvm-project/pull/79158#issuecomment-2007842032
Commit: c2c1e6ee4ce0df3d000ba880fa6cf58441da6462
https://github.com/llvm/llvm-project/commit/c2c1e6ee4ce0df3d000ba880fa6cf58441da6462
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/lib/Transforms/Vectorize/VPlanPatternMatch.h
M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
M llvm/test/Transforms/LoopVectorize/X86/pr81872.ll
Log Message:
-----------
[VPlan] Replace disjoint or with add instead of dropping disjoint. (#83821)
Dropping disjoint from an OR may yield incorrect results, as some
analysis may have converted it to an Add implicitly (e.g. SCEV used for
dependence analysis). Instead, replace it with an equivalent Add.
This is possible as all users of the disjoint OR only access lanes where
the operands are disjoint or poison otherwise.
Note that replacing all disjoint ORs with ADDs instead of dropping the
flags is not strictly necessary. It is only needed for disjoint ORs that
SCEV treated as ADDs, but those are not tracked.
There are other places that may drop poison-generating flags; those
likely need similar treatment.
Fixes https://github.com/llvm/llvm-project/issues/81872
PR: https://github.com/llvm/llvm-project/pull/83821
Commit: e4f9175d23950ecaef32db075ed47dafe3be555c
https://github.com/llvm/llvm-project/commit/e4f9175d23950ecaef32db075ed47dafe3be555c
Author: Kazu Hirata <kazu at google.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M bolt/lib/Rewrite/DWARFRewriter.cpp
Log Message:
-----------
[BOLT] Update DIEStreamer (#85818)
commit 43a2ec483fe08064b53a6293682e9bab97df61a0
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: Tue Mar 19 08:30:47 2024 -0700
removed parameter Translator from the constructor of DwarfStreamer.
This patch fixes the build by updating the constructor of DIEStreamer
accordingly.
Commit: da118c93b40f74f6770cf8550903721555d3c97b
https://github.com/llvm/llvm-project/commit/da118c93b40f74f6770cf8550903721555d3c97b
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/AArch64/horizontal.ll
Log Message:
-----------
[SLP]Do extra analysis int minbitwidth if some checks return false.
The instruction itself can be considered good for minbitwidth casting,
even if one of the operand checks returns false.
Reviewers: RKSimon
Reviewed By: RKSimon
Pull Request: https://github.com/llvm/llvm-project/pull/84363
Commit: 0b59af4d86cf8d3ee3eb1a8e5673b1a21bb387b5
https://github.com/llvm/llvm-project/commit/0b59af4d86cf8d3ee3eb1a8e5673b1a21bb387b5
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-03-20 (Wed, 20 Mar 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
M llvm/test/Transforms/InstCombine/copysign-fneg-fabs.ll
M llvm/test/Transforms/InstCombine/fcmp.ll
Log Message:
-----------
[InstCombine] Clear sign-bit of the constant magnitude in copysign (#85787)
Alive2: https://alive2.llvm.org/ce/z/vFykcZ
Address the comment
https://github.com/llvm/llvm-project/pull/85772#discussion_r1530179048.
Unfortunately, non-splat vector constants are not supported because we
haven't implemented constant folding of fabs with vector operands.
Commit: 32a6e9d66945c28a9cae476b6d2eb803ca2ab098
https://github.com/llvm/llvm-project/commit/32a6e9d66945c28a9cae476b6d2eb803ca2ab098
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/docs/CommandGuide/dsymutil.rst
M llvm/include/llvm/CodeGen/NonRelocatableStringpool.h
M llvm/include/llvm/DWARFLinker/Classic/DWARFStreamer.h
M llvm/include/llvm/DWARFLinker/DWARFLinkerBase.h
M llvm/include/llvm/DWARFLinker/Parallel/DWARFLinker.h
M llvm/lib/CodeGen/NonRelocatableStringpool.cpp
M llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp
M llvm/lib/DWARFLinker/Classic/DWARFStreamer.cpp
M llvm/lib/DWARFLinker/Parallel/DWARFLinker.cpp
M llvm/lib/DWARFLinker/Parallel/DWARFLinkerGlobalData.h
M llvm/lib/DWARFLinker/Parallel/DWARFLinkerImpl.cpp
M llvm/lib/DWARFLinker/Parallel/DWARFLinkerImpl.h
M llvm/lib/DWARFLinker/Parallel/OutputSections.h
M llvm/lib/DWARFLinker/Parallel/StringEntryToDwarfStringPoolEntryMap.h
R llvm/test/tools/dsymutil/ARM/obfuscated.test
R llvm/test/tools/dsymutil/Inputs/obfuscated.2.arm64
R llvm/test/tools/dsymutil/Inputs/obfuscated.2.map
R llvm/test/tools/dsymutil/Inputs/obfuscated.arm64
R llvm/test/tools/dsymutil/Inputs/obfuscated.map
M llvm/test/tools/dsymutil/cmdline.test
M llvm/tools/dsymutil/CMakeLists.txt
M llvm/tools/dsymutil/DwarfLinkerForBinary.cpp
M llvm/tools/dsymutil/LinkUtils.h
M llvm/tools/dsymutil/MachOUtils.cpp
M llvm/tools/dsymutil/MachOUtils.h
M llvm/tools/dsymutil/Options.td
R llvm/tools/dsymutil/SymbolMap.cpp
R llvm/tools/dsymutil/SymbolMap.h
M llvm/tools/dsymutil/dsymutil.cpp
M llvm/tools/llvm-dwarfutil/DebugInfoLinker.cpp
Log Message:
-----------
[dsymutil] Remove support for obfuscated bitcode (#85713)
Remove support for obfuscated bitcode in dsymutil and the DWARF linker.
We no longer support bitcode submissions and the obfuscation support has
been removed from the rest of the compiler.
rdar://123863918
Commit: 8af3f74294d5e6ccf4e5c91ad5c25a1d7384ec1c
https://github.com/llvm/llvm-project/commit/8af3f74294d5e6ccf4e5c91ad5c25a1d7384ec1c
Author: Kazu Hirata <kazu at google.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M bolt/lib/Rewrite/DWARFRewriter.cpp
Log Message:
-----------
Revert "[BOLT] Update DIEStreamer (#85818)"
This reverts commit e4f9175d23950ecaef32db075ed47dafe3be555c.
commit 3176c157190c80b4279dec86c4b9b84472d8ccac
Author: Andres Villegas <andresvi at google.com>
Date: Tue Mar 19 10:58:31 2024 -0700
reverted 43a2ec483fe08064b53a6293682e9bab97df61a0.
Commit: 4b61d5bd6155f43792dd37a8975df68365b1e24a
https://github.com/llvm/llvm-project/commit/4b61d5bd6155f43792dd37a8975df68365b1e24a
Author: Balaji V. Iyer <43187390+bviyer at users.noreply.github.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[ArmNeonTransforms][Bazel] Added appropriate deps for BUILD.bazel file. (#85852)
Commit: 3dc1b5044e25fc7e574719355091fccddad29ce4
https://github.com/llvm/llvm-project/commit/3dc1b5044e25fc7e574719355091fccddad29ce4
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M libc/docs/dev/printf_behavior.rst
M libc/docs/dev/undefined_behavior.rst
M libc/src/stdio/printf_core/string_converter.h
M libc/test/src/stdio/sprintf_test.cpp
Log Message:
-----------
[libc] Make 'printf' converter output "(null)" instead of "null" (#85845)
Summary:
Currently we print `null` for the null pointer in a `%s` expression.
Although it's not defined by the standard, other implementations choose
to use `(null)` to indicate this. We also currently print `(nullptr)` so
I think it's more consistent to use parens in both cases.
Commit: 41283403f5a201c93b64b0f5b0e3ee3bc5f5e2b1
https://github.com/llvm/llvm-project/commit/41283403f5a201c93b64b0f5b0e3ee3bc5f5e2b1
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M bolt/lib/Rewrite/DWARFRewriter.cpp
Log Message:
-----------
[BOLT] Update DWARFRewriter for 32a6e9d66945
Commit: 5cccc405e3981dfb97d5fee05b44a2ac6388191c
https://github.com/llvm/llvm-project/commit/5cccc405e3981dfb97d5fee05b44a2ac6388191c
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M openmp/libomptarget/test/offloading/barrier_fence.c
Log Message:
-----------
Revert "[OpenMP] Disable flaky barrier fence test (#85093)"
This reverts commit cd8843f87af2f04a85dda12b37738596cbf4cd5e.
Originally disabled to try to unstick the AMD build bot, didn't make a
difference after a week so it goes back in.
Commit: 85b6af198fdad9aead0449a645d839b1c7635dfd
https://github.com/llvm/llvm-project/commit/85b6af198fdad9aead0449a645d839b1c7635dfd
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/arm/entrypoints.txt
M libc/config/linux/riscv/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/math/index.rst
Log Message:
-----------
[libc][math][c23] Add linux/* entrypoints for nextup* and nextdown* (#85803)
See
https://github.com/llvm/llvm-project/pull/85484#discussion_r1526971653.
There already were entrypoints for linux/x86_64. I haven't tested on the other
targets and will rely on the buildbots.
Commit: 4549f8910ed9bc6479b6e641c2611d4b36a2cd63
https://github.com/llvm/llvm-project/commit/4549f8910ed9bc6479b6e641c2611d4b36a2cd63
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/bugprone/BUILD.gn
Log Message:
-----------
[gn build] Port 28c1279db354
Commit: ac7a456181a8506c1adbe97dac72775b89a4fc24
https://github.com/llvm/llvm-project/commit/ac7a456181a8506c1adbe97dac72775b89a4fc24
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/tools/dsymutil/BUILD.gn
Log Message:
-----------
[gn build] Port 32a6e9d66945
Commit: 3cd9dccbb4235e057d0e53ab0b9673f3766800d4
https://github.com/llvm/llvm-project/commit/3cd9dccbb4235e057d0e53ab0b9673f3766800d4
Author: Paul Kirth <paulkirth at google.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M llvm/cmake/modules/AddLLVM.cmake
M llvm/cmake/modules/HandleLLVMOptions.cmake
Log Message:
-----------
[cmake] Disable using FatLTO on Apple platforms (#85708)
FatLTO currently only supports ELF, so ensure we don't use it
on non-ELF platforms.
Commit: ffd08c7759000f55332f1657a1fab64a7adc03fd
https://github.com/llvm/llvm-project/commit/ffd08c7759000f55332f1657a1fab64a7adc03fd
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M clang/lib/CodeGen/CGStmtOpenMP.cpp
M llvm/docs/RemoveDIsDebugInfo.md
M llvm/include/llvm/CodeGen/FunctionLoweringInfo.h
M llvm/include/llvm/IR/BasicBlock.h
M llvm/include/llvm/IR/DIBuilder.h
M llvm/include/llvm/IR/DebugInfo.h
M llvm/include/llvm/IR/DebugInfoMetadata.h
M llvm/include/llvm/IR/DebugProgramInstruction.h
M llvm/include/llvm/IR/Metadata.h
M llvm/include/llvm/Transforms/Utils/Local.h
M llvm/include/llvm/Transforms/Utils/MemoryTaggingSupport.h
M llvm/include/llvm/Transforms/Utils/SSAUpdater.h
M llvm/include/llvm/Transforms/Utils/ValueMapper.h
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/lib/Bitcode/Reader/MetadataLoader.cpp
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
M llvm/lib/Bitcode/Writer/ValueEnumerator.cpp
M llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
M llvm/lib/CodeGen/SelectOptimize.cpp
M llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
M llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
M llvm/lib/IR/AsmWriter.cpp
M llvm/lib/IR/AutoUpgrade.cpp
M llvm/lib/IR/BasicBlock.cpp
M llvm/lib/IR/DIBuilder.cpp
M llvm/lib/IR/DebugInfo.cpp
M llvm/lib/IR/DebugInfoMetadata.cpp
M llvm/lib/IR/DebugProgramInstruction.cpp
M llvm/lib/IR/Instruction.cpp
M llvm/lib/IR/LLVMContextImpl.cpp
M llvm/lib/IR/LLVMContextImpl.h
M llvm/lib/IR/LegacyPassManager.cpp
M llvm/lib/IR/Metadata.cpp
M llvm/lib/IR/Value.cpp
M llvm/lib/IR/Verifier.cpp
M llvm/lib/Target/AArch64/AArch64StackTagging.cpp
M llvm/lib/Transforms/Coroutines/CoroFrame.cpp
M llvm/lib/Transforms/Coroutines/CoroInternal.h
M llvm/lib/Transforms/Coroutines/CoroSplit.cpp
M llvm/lib/Transforms/IPO/IROutliner.cpp
M llvm/lib/Transforms/IPO/MergeFunctions.cpp
M llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
M llvm/lib/Transforms/Scalar/ADCE.cpp
M llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
M llvm/lib/Transforms/Scalar/JumpThreading.cpp
M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
M llvm/lib/Transforms/Scalar/SROA.cpp
M llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
M llvm/lib/Transforms/Scalar/SpeculativeExecution.cpp
M llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
M llvm/lib/Transforms/Utils/CloneFunction.cpp
M llvm/lib/Transforms/Utils/CodeExtractor.cpp
M llvm/lib/Transforms/Utils/InlineFunction.cpp
M llvm/lib/Transforms/Utils/LCSSA.cpp
M llvm/lib/Transforms/Utils/Local.cpp
M llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
M llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
M llvm/lib/Transforms/Utils/LoopUtils.cpp
M llvm/lib/Transforms/Utils/MemoryOpRemark.cpp
M llvm/lib/Transforms/Utils/MemoryTaggingSupport.cpp
M llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
M llvm/lib/Transforms/Utils/SSAUpdater.cpp
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/lib/Transforms/Utils/ValueMapper.cpp
M llvm/test/DebugInfo/dpvalue-print-nocrash.ll
M llvm/test/Transforms/LoopRotate/dbgvalue.ll
M llvm/test/tools/llvm-reduce/remove-dp-values.ll
M llvm/tools/llvm-reduce/deltas/ReduceDbgRecords.cpp
M llvm/tools/llvm-reduce/deltas/ReduceDbgRecords.h
M llvm/unittests/IR/BasicBlockDbgInfoTest.cpp
M llvm/unittests/IR/DebugInfoTest.cpp
M llvm/unittests/IR/IRBuilderTest.cpp
M llvm/unittests/IR/ValueTest.cpp
M llvm/unittests/Transforms/Utils/LocalTest.cpp
Log Message:
-----------
[RemoveDIs][NFC] Rename DPValue -> DbgVariableRecord (#85216)
This is the major rename patch that prior patches have built towards.
The DPValue class is being renamed to DbgVariableRecord, which reflects
the updated terminology for the "final" implementation of the RemoveDI
feature. This is a pure string substitution + clang-format patch. The
only manual component of this patch was determining where to perform
these string substitutions: `DPValue` and `DPV` are almost exclusively
used for DbgRecords, *except* for:
- llvm/lib/target, where 'DP' is used to mean double-precision, and so
appears as part of .td files and in variable names. NB: There is a
single existing use of `DPValue` here that refers to debug info, which
I've manually updated.
- llvm/tools/gold, where 'LDPV' is used as a prefix for symbol
visibility enums.
Outside of these places, I've applied several basic string
substitutions, with the intent that they only affect DbgRecord-related
identifiers; I've checked them as I went through to verify this, with
reasonable confidence that there are no unintended changes that slipped
through the cracks. The substitutions applied are all case-sensitive,
and are applied in the order shown:
```
DPValue -> DbgVariableRecord
DPVal -> DbgVarRec
DPV -> DVR
```
Following the previous rename patches, it should be the case that there
are no instances of any of these strings that are meant to refer to the
general case of DbgRecords, or anything other than the DPValue class.
The idea behind this patch is therefore that pure string substitution is
correct in all cases as long as these assumptions hold.
Commit: 92477bdd6419c9316a2682fa2a0e8d22e26e27b6
https://github.com/llvm/llvm-project/commit/92477bdd6419c9316a2682fa2a0e8d22e26e27b6
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M .ci/generate-buildkite-pipeline-premerge
M .github/CODEOWNERS
M .github/new-prs-labeler.yml
M .github/workflows/llvm-project-tests.yml
M .github/workflows/llvm-tests.yml
M .github/workflows/pr-code-format.yml
M bolt/include/bolt/Core/DIEBuilder.h
M bolt/include/bolt/Core/DebugNames.h
M bolt/include/bolt/Core/MCPlusBuilder.h
M bolt/lib/Core/DIEBuilder.cpp
M bolt/lib/Core/DebugNames.cpp
M bolt/lib/Passes/BinaryPasses.cpp
M bolt/lib/Passes/ShrinkWrapping.cpp
M bolt/lib/Profile/StaleProfileMatching.cpp
M bolt/lib/Rewrite/DWARFRewriter.cpp
M bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
M bolt/lib/Target/RISCV/RISCVMCPlusBuilder.cpp
M bolt/lib/Target/X86/X86MCPlusBuilder.cpp
A bolt/test/X86/dwarf5-debug-names-dw-at-specification.s
M bolt/test/X86/dwarf5-debug-names-generate-debug-names.test
M bolt/test/X86/dwarf5-debug-names.test
M bolt/test/X86/dwarf5-df-debug-names-generate-debug-names.test
M bolt/test/X86/dwarf5-df-debug-names.test
M bolt/test/X86/dwarf5-df-main-debug-names-ftu-ltu-mix.test
M bolt/test/X86/dwarf5-df-one-cu-debug-names.test
M bolt/test/X86/dwarf5-df-types-debug-names.test
M bolt/test/X86/dwarf5-df-types-one-cu-debug-names.test
M bolt/test/X86/dwarf5-one-cu-debug-names.test
M bolt/test/X86/dwarf5-types-debug-names.test
M bolt/test/X86/dwarf5-types-one-cu-debug-names.test
M bolt/test/X86/reader-stale-yaml.test
M bolt/unittests/Core/MCPlusBuilder.cpp
M clang-tools-extra/clang-tidy/bugprone/BugproneTidyModule.cpp
M clang-tools-extra/clang-tidy/bugprone/CMakeLists.txt
A clang-tools-extra/clang-tidy/bugprone/SuspiciousStringviewDataUsageCheck.cpp
A clang-tools-extra/clang-tidy/bugprone/SuspiciousStringviewDataUsageCheck.h
M clang-tools-extra/clang-tidy/bugprone/UnusedReturnValueCheck.cpp
M clang-tools-extra/clang-tidy/cppcoreguidelines/OwningMemoryCheck.cpp
M clang-tools-extra/clang-tidy/readability/ImplicitBoolConversionCheck.cpp
M clang-tools-extra/clangd/unittests/SelectionTests.cpp
M clang-tools-extra/clangd/unittests/tweaks/ExtractVariableTests.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
A clang-tools-extra/docs/clang-tidy/checks/bugprone/suspicious-stringview-data-usage.rst
M clang-tools-extra/docs/clang-tidy/checks/list.rst
M clang-tools-extra/include-cleaner/unittests/WalkASTTest.cpp
M clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/string
A clang-tools-extra/test/clang-tidy/checkers/bugprone/suspicious-stringview-data-usage.cpp
M clang-tools-extra/test/clang-tidy/checkers/bugprone/unused-return-value-avoid-assignment.cpp
M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/owning-memory.cpp
M clang/bindings/python/clang/cindex.py
M clang/cmake/caches/Fuchsia-stage2.cmake
M clang/cmake/caches/Fuchsia.cmake
M clang/docs/ClangFormatStyleOptions.rst
M clang/docs/LanguageExtensions.rst
A clang/docs/PointerAuthentication.rst
M clang/docs/ReleaseNotes.rst
M clang/docs/UsersManual.rst
M clang/docs/tools/clang-formatted-files.txt
M clang/include/clang-c/Index.h
M clang/include/clang/AST/Availability.h
M clang/include/clang/AST/Expr.h
M clang/include/clang/AST/Type.h
A clang/include/clang/Analysis/FlowSensitive/AdornedCFG.h
M clang/include/clang/Analysis/FlowSensitive/ControlFlowContext.h
M clang/include/clang/Analysis/FlowSensitive/DataflowAnalysis.h
M clang/include/clang/Analysis/FlowSensitive/DataflowAnalysisContext.h
M clang/include/clang/Analysis/FlowSensitive/Logger.h
M clang/include/clang/Analysis/FlowSensitive/RecordOps.h
M clang/include/clang/Analysis/FlowSensitive/Transfer.h
M clang/include/clang/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.h
M clang/include/clang/Basic/AllDiagnostics.h
M clang/include/clang/Basic/Attr.td
A clang/include/clang/Basic/Builtins.def
M clang/include/clang/Basic/Builtins.td
M clang/include/clang/Basic/BuiltinsAArch64.def
M clang/include/clang/Basic/CMakeLists.txt
M clang/include/clang/Basic/CodeGenOptions.def
M clang/include/clang/Basic/CodeGenOptions.h
M clang/include/clang/Basic/Diagnostic.td
M clang/include/clang/Basic/DiagnosticCommonKinds.td
M clang/include/clang/Basic/DiagnosticDriverKinds.td
M clang/include/clang/Basic/DiagnosticFrontendKinds.td
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/include/clang/Basic/DiagnosticIDs.h
A clang/include/clang/Basic/DiagnosticInstallAPI.h
A clang/include/clang/Basic/DiagnosticInstallAPIKinds.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Basic/Features.def
M clang/include/clang/Basic/LangOptions.def
M clang/include/clang/Basic/LangOptions.h
M clang/include/clang/Basic/LangStandard.h
M clang/include/clang/Basic/TargetInfo.h
M clang/include/clang/Driver/Driver.h
M clang/include/clang/Driver/Options.td
M clang/include/clang/Driver/ToolChain.h
M clang/include/clang/Format/.clang-format
M clang/include/clang/Format/Format.h
M clang/include/clang/Frontend/FrontendActions.h
M clang/include/clang/InstallAPI/Context.h
A clang/include/clang/InstallAPI/DylibVerifier.h
M clang/include/clang/InstallAPI/Frontend.h
M clang/include/clang/InstallAPI/FrontendRecords.h
A clang/include/clang/InstallAPI/InstallAPIDiagnostic.h
M clang/include/clang/InstallAPI/MachO.h
M clang/include/clang/Sema/Sema.h
M clang/include/clang/Serialization/ASTWriter.h
M clang/lib/AST/Decl.cpp
M clang/lib/AST/DeclCXX.cpp
M clang/lib/AST/DeclPrinter.cpp
M clang/lib/AST/Expr.cpp
M clang/lib/AST/ExprConstant.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.h
M clang/lib/AST/Interp/ByteCodeStmtGen.cpp
M clang/lib/AST/Interp/ByteCodeStmtGen.h
M clang/lib/AST/Interp/Descriptor.cpp
M clang/lib/AST/Interp/Descriptor.h
M clang/lib/AST/Interp/Disasm.cpp
M clang/lib/AST/Interp/Interp.cpp
M clang/lib/AST/Interp/Interp.h
M clang/lib/AST/Interp/InterpBuiltin.cpp
M clang/lib/AST/Interp/InterpFrame.cpp
M clang/lib/AST/Interp/InterpFrame.h
M clang/lib/AST/Interp/Opcodes.td
M clang/lib/AST/Interp/Pointer.cpp
M clang/lib/AST/Interp/Pointer.h
M clang/lib/AST/Interp/Program.cpp
M clang/lib/AST/Interp/Program.h
M clang/lib/AST/MicrosoftMangle.cpp
M clang/lib/AST/TypePrinter.cpp
A clang/lib/Analysis/FlowSensitive/AdornedCFG.cpp
M clang/lib/Analysis/FlowSensitive/CMakeLists.txt
R clang/lib/Analysis/FlowSensitive/ControlFlowContext.cpp
M clang/lib/Analysis/FlowSensitive/DataflowAnalysisContext.cpp
M clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp
M clang/lib/Analysis/FlowSensitive/HTMLLogger.cpp
M clang/lib/Analysis/FlowSensitive/Logger.cpp
M clang/lib/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.cpp
M clang/lib/Analysis/FlowSensitive/RecordOps.cpp
M clang/lib/Analysis/FlowSensitive/Transfer.cpp
M clang/lib/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.cpp
M clang/lib/Basic/DiagnosticIDs.cpp
M clang/lib/Basic/LangStandards.cpp
M clang/lib/Basic/Module.cpp
M clang/lib/Basic/TargetInfo.cpp
M clang/lib/Basic/Targets/AArch64.cpp
M clang/lib/Basic/Targets/AArch64.h
M clang/lib/Basic/Targets/BPF.cpp
M clang/lib/CodeGen/CGBlocks.cpp
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/CodeGen/CGCUDANV.cpp
M clang/lib/CodeGen/CGDecl.cpp
M clang/lib/CodeGen/CGStmtOpenMP.cpp
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/CodeGen/ModuleBuilder.cpp
M clang/lib/CodeGen/TargetInfo.h
M clang/lib/CodeGen/Targets/AArch64.cpp
M clang/lib/CodeGen/Targets/PPC.cpp
M clang/lib/CodeGen/Targets/RISCV.cpp
M clang/lib/Driver/Driver.cpp
M clang/lib/Driver/SanitizerArgs.cpp
M clang/lib/Driver/ToolChain.cpp
M clang/lib/Driver/ToolChains/AIX.cpp
M clang/lib/Driver/ToolChains/Arch/AArch64.cpp
M clang/lib/Driver/ToolChains/Arch/ARM.cpp
M clang/lib/Driver/ToolChains/Arch/LoongArch.cpp
M clang/lib/Driver/ToolChains/Arch/RISCV.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Driver/ToolChains/CommonArgs.cpp
M clang/lib/Driver/ToolChains/Cuda.cpp
M clang/lib/Driver/ToolChains/Flang.cpp
M clang/lib/Driver/ToolChains/HLSL.cpp
M clang/lib/Driver/ToolChains/WebAssembly.cpp
M clang/lib/Driver/ToolChains/WebAssembly.h
M clang/lib/Format/.clang-format
M clang/lib/Format/AffectedRangeManager.cpp
M clang/lib/Format/BreakableToken.cpp
M clang/lib/Format/BreakableToken.h
M clang/lib/Format/ContinuationIndenter.cpp
M clang/lib/Format/ContinuationIndenter.h
M clang/lib/Format/DefinitionBlockSeparator.cpp
M clang/lib/Format/Encoding.h
M clang/lib/Format/Format.cpp
M clang/lib/Format/FormatInternal.h
M clang/lib/Format/FormatToken.cpp
M clang/lib/Format/FormatToken.h
M clang/lib/Format/FormatTokenLexer.cpp
M clang/lib/Format/FormatTokenLexer.h
M clang/lib/Format/FormatTokenSource.h
M clang/lib/Format/MacroCallReconstructor.cpp
M clang/lib/Format/MacroExpander.cpp
M clang/lib/Format/Macros.h
M clang/lib/Format/NamespaceEndCommentsFixer.cpp
M clang/lib/Format/ObjCPropertyAttributeOrderFixer.cpp
M clang/lib/Format/QualifierAlignmentFixer.cpp
M clang/lib/Format/QualifierAlignmentFixer.h
M clang/lib/Format/SortJavaScriptImports.cpp
M clang/lib/Format/SortJavaScriptImports.h
M clang/lib/Format/TokenAnalyzer.cpp
M clang/lib/Format/TokenAnalyzer.h
M clang/lib/Format/TokenAnnotator.cpp
M clang/lib/Format/TokenAnnotator.h
M clang/lib/Format/UnwrappedLineFormatter.cpp
M clang/lib/Format/UnwrappedLineFormatter.h
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/lib/Format/UnwrappedLineParser.h
M clang/lib/Format/UsingDeclarationsSorter.cpp
M clang/lib/Format/WhitespaceManager.cpp
M clang/lib/Format/WhitespaceManager.h
M clang/lib/Frontend/CompilerInstance.cpp
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/lib/Frontend/FrontendActions.cpp
M clang/lib/Headers/CMakeLists.txt
M clang/lib/Headers/__stddef_null.h
M clang/lib/Headers/__stddef_nullptr_t.h
M clang/lib/Headers/__stddef_offsetof.h
M clang/lib/Headers/__stddef_ptrdiff_t.h
M clang/lib/Headers/__stddef_rsize_t.h
M clang/lib/Headers/__stddef_size_t.h
M clang/lib/Headers/__stddef_unreachable.h
M clang/lib/Headers/__stddef_wchar_t.h
M clang/lib/Headers/avxintrin.h
M clang/lib/Headers/bmiintrin.h
M clang/lib/Headers/emmintrin.h
M clang/lib/Headers/hlsl/hlsl_intrinsics.h
M clang/lib/Headers/immintrin.h
M clang/lib/Headers/intrin.h
A clang/lib/Headers/intrin0.h
M clang/lib/Headers/keylockerintrin.h
M clang/lib/Headers/module.modulemap
A clang/lib/Headers/ptrauth.h
M clang/lib/Headers/x86gprintrin.h
M clang/lib/Headers/x86intrin.h
M clang/lib/Headers/xmmintrin.h
A clang/lib/Headers/yvals_core.h
M clang/lib/InstallAPI/CMakeLists.txt
A clang/lib/InstallAPI/DylibVerifier.cpp
M clang/lib/InstallAPI/Frontend.cpp
M clang/lib/InstallAPI/Visitor.cpp
M clang/lib/Lex/ModuleMap.cpp
M clang/lib/Parse/Parser.cpp
M clang/lib/Sema/Sema.cpp
M clang/lib/Sema/SemaChecking.cpp
M clang/lib/Sema/SemaConcept.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/lib/Sema/SemaExpr.cpp
M clang/lib/Sema/SemaModule.cpp
M clang/lib/Sema/SemaOpenMP.cpp
M clang/lib/Sema/SemaTemplate.cpp
M clang/lib/Sema/SemaTemplateInstantiate.cpp
M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
M clang/lib/Sema/SemaType.cpp
M clang/lib/Serialization/ASTWriterDecl.cpp
M clang/lib/Serialization/GeneratePCH.cpp
M clang/lib/StaticAnalyzer/Checkers/ArrayBoundCheckerV2.cpp
M clang/lib/StaticAnalyzer/Checkers/BlockInCriticalSectionChecker.cpp
M clang/lib/StaticAnalyzer/Core/LoopUnrolling.cpp
M clang/test/AST/Interp/arrays.cpp
M clang/test/AST/Interp/builtin-functions.cpp
M clang/test/AST/Interp/builtins.cpp
M clang/test/AST/Interp/c.c
A clang/test/AST/Interp/c23.c
M clang/test/AST/Interp/complex.c
M clang/test/AST/Interp/complex.cpp
M clang/test/AST/Interp/cxx23.cpp
M clang/test/AST/Interp/cxx98.cpp
M clang/test/AST/Interp/if.cpp
M clang/test/AST/Interp/literals.cpp
A clang/test/AST/Interp/ms.cpp
M clang/test/AST/Interp/records.cpp
M clang/test/AST/ast-dump-concepts.cpp
M clang/test/Analysis/block-in-critical-section.cpp
M clang/test/Analysis/eval-predefined-exprs.cpp
M clang/test/Analysis/loop-unrolling.cpp
M clang/test/Analysis/out-of-bounds-diagnostics.c
M clang/test/Analysis/taint-diagnostic-visitor.c
M clang/test/CXX/module/dcl.dcl/dcl.module/dcl.module.interface/p1.cppm
M clang/test/CodeGen/PowerPC/builtins-ppc-xlcompat-error.c
M clang/test/CodeGen/PowerPC/builtins-ppc-xlcompat-rotate.c
A clang/test/CodeGen/PowerPC/toc-data-attribute.c
A clang/test/CodeGen/PowerPC/toc-data-attribute.cpp
A clang/test/CodeGen/PowerPC/toc-data-diagnostics.c
A clang/test/CodeGen/PowerPC/toc-data-structs-arrays.cpp
A clang/test/CodeGen/aarch64-soft-float-abi-errors.c
A clang/test/CodeGen/aarch64-soft-float-abi.c
M clang/test/CodeGen/attr-target-clones-aarch64.c
M clang/test/CodeGen/builtins-arm64.c
A clang/test/CodeGen/complex-math-mixed.c
M clang/test/CodeGen/const-init.c
A clang/test/CodeGen/ptrauth-intrinsics.c
M clang/test/CodeGen/target-avx-abi-diag.c
M clang/test/CodeGen/volatile.cpp
M clang/test/CodeGenCXX/arm-swiftcall.cpp
M clang/test/CodeGenCXX/mangle-ms-back-references.cpp
A clang/test/CodeGenHLSL/builtins/clamp-builtin.hlsl
A clang/test/CodeGenHLSL/builtins/clamp.hlsl
M clang/test/CodeGenHLSL/builtins/dot.hlsl
A clang/test/CodeGenHLSL/builtins/isinf.hlsl
M clang/test/CodeGenHLSL/builtins/lerp-builtin.hlsl
M clang/test/CodeGenHLSL/builtins/lerp.hlsl
A clang/test/CodeGenHLSL/builtins/rsqrt.hlsl
M clang/test/CodeGenObjC/debug-info-blocks.m
M clang/test/Driver/aarch64-mcpu.c
A clang/test/Driver/aarch64-soft-float-abi.c
M clang/test/Driver/apple-kext-mkernel.c
M clang/test/Driver/clang-g-opts.c
M clang/test/Driver/cuda-cross-compiling.c
A clang/test/Driver/fsanitize-signed-integer-overflow.c
M clang/test/Driver/loongarch-munaligned-access.c
A clang/test/Driver/modules-print-library-module-manifest-path.cpp
M clang/test/Driver/munaligned-access-unused.c
M clang/test/Driver/riscv-features.c
M clang/test/Driver/tls-dialect.c
A clang/test/Driver/toc-conf.c
A clang/test/Driver/tocdata-cc1.c
M clang/test/Driver/wasm-toolchain.c
M clang/test/Headers/__clang_hip_math.hip
A clang/test/InstallAPI/asm.test
M clang/test/InstallAPI/basic.test
M clang/test/InstallAPI/driver-invalid-options.test
M clang/test/InstallAPI/functions.test
M clang/test/Misc/target-invalid-cpu-note.c
R clang/test/Modules/missing-module-declaration.cppm
M clang/test/Modules/no-undeclared-includes-builtins.cpp
M clang/test/Modules/pr72828.cppm
A clang/test/Modules/reduced-bmi-generating-codes.cppm
M clang/test/Modules/stddef.c
A clang/test/Options/HV.hlsl
M clang/test/Preprocessor/aarch64-target-features.c
M clang/test/Preprocessor/bpf-predefined-macros.c
A clang/test/Preprocessor/ptrauth_feature.c
M clang/test/Preprocessor/riscv-target-features.c
A clang/test/Sema/PR84368.cpp
M clang/test/Sema/arm-vector-types-support.c
M clang/test/Sema/attr-cleanup.c
M clang/test/Sema/builtins-arm64.c
A clang/test/Sema/complex-arithmetic.c
M clang/test/Sema/const-eval.c
A clang/test/Sema/const-init.c
A clang/test/Sema/constexpr-void-cast.c
A clang/test/Sema/ptrauth-intrinsics-macro.c
A clang/test/Sema/ptrauth.c
M clang/test/Sema/warn-bitwise-and-bool.c
M clang/test/Sema/warn-bitwise-or-bool.c
M clang/test/SemaCXX/constexpr-builtin-bit-cast.cpp
A clang/test/SemaCXX/constexpr-explicit-object-lambda.cpp
M clang/test/SemaCXX/cxx20-ctad-type-alias.cpp
M clang/test/SemaCXX/cxx23-assume.cpp
M clang/test/SemaCXX/datasizeof.cpp
M clang/test/SemaCXX/decomposed-condition.cpp
M clang/test/SemaCXX/lambda-expressions.cpp
M clang/test/SemaCXX/source_location.cpp
M clang/test/SemaCXX/warn-constant-evaluated-constexpr.cpp
A clang/test/SemaHLSL/BuiltIns/clamp-errors.hlsl
M clang/test/SemaHLSL/BuiltIns/dot-errors.hlsl
M clang/test/SemaHLSL/BuiltIns/frac-errors.hlsl
A clang/test/SemaHLSL/BuiltIns/isinf-errors.hlsl
M clang/test/SemaHLSL/BuiltIns/lerp-errors.hlsl
M clang/test/SemaHLSL/BuiltIns/mad-errors.hlsl
M clang/test/SemaHLSL/BuiltIns/rcp-errors.hlsl
A clang/test/SemaHLSL/BuiltIns/rsqrt-errors.hlsl
M clang/test/SemaTemplate/concepts.cpp
M clang/tools/clang-format/.clang-format
M clang/tools/clang-format/ClangFormat.cpp
M clang/tools/clang-installapi/CMakeLists.txt
M clang/tools/clang-installapi/ClangInstallAPI.cpp
A clang/tools/clang-installapi/InstallAPIOpts.td
M clang/tools/clang-installapi/Options.cpp
M clang/tools/clang-installapi/Options.h
M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
M clang/tools/clang-scan-deps/ClangScanDeps.cpp
M clang/tools/driver/driver.cpp
M clang/unittests/AST/DeclPrinterTest.cpp
M clang/unittests/AST/TypePrinterTest.cpp
M clang/unittests/Analysis/FlowSensitive/DeterminismTest.cpp
M clang/unittests/Analysis/FlowSensitive/LoggerTest.cpp
M clang/unittests/Analysis/FlowSensitive/RecordOpsTest.cpp
M clang/unittests/Analysis/FlowSensitive/TestingSupport.h
M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
M clang/unittests/Analysis/FlowSensitive/TypeErasedDataflowAnalysisTest.cpp
M clang/unittests/Analysis/FlowSensitive/UncheckedOptionalAccessModelTest.cpp
M clang/unittests/Format/.clang-format
M clang/unittests/Format/FormatTest.cpp
M clang/unittests/Format/FormatTestTableGen.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
M clang/unittests/Interpreter/InterpreterExtensionsTest.cpp
M clang/www/get_started.html
M compiler-rt/cmake/Modules/CompilerRTCompile.cmake
M compiler-rt/lib/asan/asan_interceptors.cpp
M compiler-rt/lib/asan/asan_win_dll_thunk.cpp
M compiler-rt/lib/asan/tests/CMakeLists.txt
M compiler-rt/lib/fuzzer/FuzzerUtilLinux.cpp
M compiler-rt/lib/fuzzer/tests/CMakeLists.txt
M compiler-rt/lib/gwp_asan/tests/CMakeLists.txt
M compiler-rt/lib/hwasan/hwasan_checks.h
M compiler-rt/lib/hwasan/hwasan_interceptors.cpp
M compiler-rt/lib/interception/interception.h
M compiler-rt/lib/interception/interception_win.cpp
M compiler-rt/lib/interception/tests/CMakeLists.txt
M compiler-rt/lib/lsan/lsan_interceptors.cpp
M compiler-rt/lib/msan/msan.cpp
M compiler-rt/lib/msan/msan.h
M compiler-rt/lib/msan/msan_allocator.cpp
M compiler-rt/lib/msan/msan_interceptors.cpp
M compiler-rt/lib/msan/msan_linux.cpp
M compiler-rt/lib/msan/tests/CMakeLists.txt
M compiler-rt/lib/orc/tests/CMakeLists.txt
M compiler-rt/lib/sanitizer_common/sanitizer_asm.h
M compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_procmaps_bsd.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_procmaps_common.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_report.cpp
M compiler-rt/lib/sanitizer_common/tests/CMakeLists.txt
M compiler-rt/lib/scudo/standalone/CMakeLists.txt
A compiler-rt/lib/scudo/standalone/allocator_config.def
M compiler-rt/lib/scudo/standalone/allocator_config.h
A compiler-rt/lib/scudo/standalone/allocator_config_wrapper.h
M compiler-rt/lib/scudo/standalone/combined.h
M compiler-rt/lib/scudo/standalone/condition_variable.h
M compiler-rt/lib/scudo/standalone/memtag.h
M compiler-rt/lib/scudo/standalone/primary32.h
M compiler-rt/lib/scudo/standalone/primary64.h
M compiler-rt/lib/scudo/standalone/secondary.h
M compiler-rt/lib/scudo/standalone/tests/CMakeLists.txt
A compiler-rt/lib/scudo/standalone/tests/allocator_config_test.cpp
M compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
M compiler-rt/lib/scudo/standalone/tests/primary_test.cpp
M compiler-rt/lib/scudo/standalone/tests/secondary_test.cpp
M compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
M compiler-rt/lib/tsan/tests/CMakeLists.txt
M compiler-rt/lib/xray/tests/CMakeLists.txt
M compiler-rt/test/asan/TestCases/Windows/bitfield_uaf.cpp
M compiler-rt/test/asan/TestCases/Windows/calloc_left_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/calloc_right_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/calloc_uaf.cpp
M compiler-rt/test/asan/TestCases/Windows/dll_heap_allocation.cpp
M compiler-rt/test/asan/TestCases/Windows/dll_host.cpp
M compiler-rt/test/asan/TestCases/Windows/dll_malloc_left_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/dll_malloc_uaf.cpp
M compiler-rt/test/asan/TestCases/Windows/double_free.cpp
M compiler-rt/test/asan/TestCases/Windows/intercept_strdup.cpp
R compiler-rt/test/asan/TestCases/Windows/interface_symbols_windows.cpp
M compiler-rt/test/asan/TestCases/Windows/issue64990.cpp
M compiler-rt/test/asan/TestCases/Windows/malloc_left_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/malloc_right_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/malloc_uaf.cpp
M compiler-rt/test/asan/TestCases/Windows/realloc_left_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/realloc_right_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/realloc_uaf.cpp
M compiler-rt/test/asan/TestCases/Windows/symbols_path.cpp
M compiler-rt/test/asan/TestCases/Windows/use_after_realloc.cpp
M compiler-rt/test/asan/TestCases/calloc-overflow.cpp
M compiler-rt/test/asan/TestCases/deep_stack_uaf.cpp
M compiler-rt/test/asan/TestCases/double-free.cpp
M compiler-rt/test/asan/TestCases/malloc-size-too-big.cpp
M compiler-rt/test/asan/TestCases/strncpy-overflow.cpp
M compiler-rt/test/asan/TestCases/use-after-free-right.cpp
M compiler-rt/test/asan/TestCases/use-after-free.cpp
M compiler-rt/test/asan_abi/CMakeLists.txt
M compiler-rt/test/fuzzer/CMakeLists.txt
M compiler-rt/test/lit.common.cfg.py
M compiler-rt/test/lsan/TestCases/recoverable_leak_check.cpp
M compiler-rt/test/memprof/CMakeLists.txt
M compiler-rt/test/msan/CMakeLists.txt
A compiler-rt/test/sanitizer_common/TestCases/Linux/static-link.c
M compiler-rt/test/sanitizer_common/TestCases/corelimit.cpp
M compiler-rt/test/tsan/getline_nohang.cpp
M compiler-rt/test/tsan/signal_errno.cpp
M compiler-rt/test/tsan/signal_reset.cpp
M compiler-rt/test/tsan/signal_sync.cpp
M compiler-rt/test/tsan/signal_thread.cpp
M compiler-rt/test/tsan/signal_thread2.cpp
M compiler-rt/test/ubsan/CMakeLists.txt
M compiler-rt/test/xray/CMakeLists.txt
M cross-project-tests/debuginfo-tests/dexter/dex/debugger/Debuggers.py
A cross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio2022.py
M cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/list-debuggers/list-debuggers.test
M cross-project-tests/debuginfo-tests/llgdb-tests/forward-declare-class.cpp
A flang/docs/RuntimeEnvironment.md
M flang/docs/index.md
A flang/include/flang/Common/optional.h
A flang/include/flang/Common/reference-wrapper.h
M flang/include/flang/Common/visit.h
M flang/include/flang/Evaluate/characteristics.h
M flang/include/flang/Evaluate/constant.h
M flang/include/flang/Evaluate/real.h
M flang/include/flang/Evaluate/tools.h
M flang/include/flang/ISO_Fortran_binding.h
M flang/include/flang/Lower/CallInterface.h
M flang/include/flang/Lower/ConvertVariable.h
M flang/include/flang/Lower/LoweringOptions.def
M flang/include/flang/Optimizer/Builder/IntrinsicCall.h
M flang/include/flang/Optimizer/Builder/Runtime/Numeric.h
M flang/include/flang/Optimizer/CodeGen/CodeGen.h
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/include/flang/Parser/dump-parse-tree.h
M flang/include/flang/Parser/parse-tree.h
M flang/include/flang/Runtime/api-attrs.h
M flang/include/flang/Runtime/descriptor.h
M flang/include/flang/Runtime/type-code.h
M flang/include/flang/Semantics/module-dependences.h
M flang/include/flang/Semantics/openmp-directive-sets.h
M flang/include/flang/Semantics/symbol.h
M flang/include/flang/Semantics/tools.h
M flang/lib/Frontend/CompilerInvocation.cpp
M flang/lib/Frontend/FrontendAction.cpp
M flang/lib/Lower/Bridge.cpp
M flang/lib/Lower/CMakeLists.txt
M flang/lib/Lower/CallInterface.cpp
M flang/lib/Lower/ConvertCall.cpp
M flang/lib/Lower/ConvertType.cpp
M flang/lib/Lower/ConvertVariable.cpp
M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
M flang/lib/Lower/OpenMP/ClauseProcessor.h
A flang/lib/Lower/OpenMP/ClauseT.h
A flang/lib/Lower/OpenMP/Clauses.cpp
A flang/lib/Lower/OpenMP/Clauses.h
M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
M flang/lib/Lower/OpenMP/DataSharingProcessor.h
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/lib/Lower/OpenMP/ReductionProcessor.cpp
M flang/lib/Lower/OpenMP/ReductionProcessor.h
M flang/lib/Lower/OpenMP/Utils.cpp
M flang/lib/Lower/OpenMP/Utils.h
M flang/lib/Optimizer/Builder/FIRBuilder.cpp
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/lib/Optimizer/Builder/Runtime/Intrinsics.cpp
M flang/lib/Optimizer/Builder/Runtime/Numeric.cpp
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
M flang/lib/Optimizer/CodeGen/PreCGRewrite.cpp
M flang/lib/Parser/executable-parsers.cpp
M flang/lib/Parser/misc-parsers.h
M flang/lib/Parser/unparse.cpp
M flang/lib/Semantics/check-call.cpp
M flang/lib/Semantics/check-declarations.cpp
M flang/lib/Semantics/check-do-forall.cpp
M flang/lib/Semantics/check-omp-structure.cpp
M flang/lib/Semantics/data-to-inits.cpp
M flang/lib/Semantics/expression.cpp
M flang/lib/Semantics/mod-file.cpp
M flang/lib/Semantics/resolve-directives.cpp
M flang/lib/Semantics/resolve-names.cpp
M flang/lib/Semantics/runtime-type-info.cpp
M flang/lib/Semantics/tools.cpp
M flang/module/__fortran_builtins.f90
M flang/runtime/Float128Math/CMakeLists.txt
A flang/runtime/Float128Math/fma.cpp
M flang/runtime/Float128Math/math-entries.h
A flang/runtime/Float128Math/random.cpp
M flang/runtime/connection.h
M flang/runtime/derived-api.cpp
M flang/runtime/descriptor-io.cpp
M flang/runtime/descriptor-io.h
M flang/runtime/edit-input.cpp
M flang/runtime/edit-output.cpp
M flang/runtime/environment.cpp
M flang/runtime/environment.h
M flang/runtime/extrema.cpp
M flang/runtime/file.cpp
M flang/runtime/file.h
M flang/runtime/format-implementation.h
M flang/runtime/format.h
M flang/runtime/freestanding-tools.h
M flang/runtime/internal-unit.cpp
M flang/runtime/internal-unit.h
M flang/runtime/io-api.cpp
M flang/runtime/io-stmt.cpp
M flang/runtime/io-stmt.h
M flang/runtime/matmul-transpose.cpp
M flang/runtime/matmul.cpp
M flang/runtime/misc-intrinsic.cpp
M flang/runtime/namelist.cpp
M flang/runtime/numeric-templates.h
M flang/runtime/pointer.cpp
A flang/runtime/random-templates.h
M flang/runtime/random.cpp
M flang/runtime/tools.cpp
M flang/runtime/tools.h
M flang/runtime/type-code.cpp
M flang/runtime/type-info.cpp
M flang/runtime/type-info.h
M flang/runtime/unit-map.cpp
M flang/runtime/unit.cpp
M flang/runtime/unit.h
M flang/runtime/utf.cpp
M flang/runtime/utf.h
A flang/test/Driver/cuda-option.f90
M flang/test/Driver/driver-help-hidden.f90
R flang/test/Driver/flang-experimental-polymorphism-flag.f90
M flang/test/Driver/frontend-forwarding.f90
M flang/test/Evaluate/fold-scale.f90
M flang/test/Fir/dispatch.f90
A flang/test/Fir/omp-reduction-embox-codegen.fir
M flang/test/HLFIR/assumed-type-actual-args.f90
M flang/test/HLFIR/boxchar_emboxing.f90
M flang/test/HLFIR/call_with_poly_dummy.f90
M flang/test/Lower/CUDA/cuda-kernel-calls.cuf
M flang/test/Lower/CUDA/cuda-kernel-loop-directive.cuf
M flang/test/Lower/CUDA/cuda-module-use.cuf
M flang/test/Lower/HLFIR/actual_target_for_dummy_pointer.f90
M flang/test/Lower/HLFIR/allocatable-return.f90
M flang/test/Lower/HLFIR/array-ctor-derived.f90
A flang/test/Lower/HLFIR/call-sequence-associated-descriptors.f90
M flang/test/Lower/HLFIR/calls-assumed-shape.f90
M flang/test/Lower/HLFIR/calls-constant-expr-arg-polymorphic.f90
M flang/test/Lower/HLFIR/calls-optional.f90
M flang/test/Lower/HLFIR/calls-poly-to-assumed-type.f90
M flang/test/Lower/HLFIR/convert-mbox-to-value.f90
M flang/test/Lower/HLFIR/designators-component-ref.f90
M flang/test/Lower/HLFIR/designators-parameter-array-slice.f90
M flang/test/Lower/HLFIR/elemental-array-ops.f90
M flang/test/Lower/HLFIR/elemental-polymorphic-merge.f90
M flang/test/Lower/HLFIR/elemental-user-procedure-ref-polymorphic.f90
M flang/test/Lower/HLFIR/function-return-as-expr.f90
M flang/test/Lower/HLFIR/function-return-destroy.f90
M flang/test/Lower/HLFIR/ignore-rank-unlimited-polymorphic.f90
M flang/test/Lower/HLFIR/ignore-type-assumed-shape.f90
M flang/test/Lower/HLFIR/intentout-allocatable-components.f90
M flang/test/Lower/HLFIR/internal-procedures-polymorphic.f90
M flang/test/Lower/HLFIR/intrinsic-assumed-type.f90
M flang/test/Lower/HLFIR/parent-component-ref.f90
M flang/test/Lower/HLFIR/poly_expr_for_nonpoly_dummy.f90
M flang/test/Lower/HLFIR/polymorphic-expressions.f90
M flang/test/Lower/HLFIR/proc-pointer-comp-nopass.f90
M flang/test/Lower/HLFIR/proc-pointer-comp-pass.f90
M flang/test/Lower/HLFIR/select-type-selector.f90
M flang/test/Lower/HLFIR/transpose.f90
M flang/test/Lower/HLFIR/type-bound-call-mismatch.f90
M flang/test/Lower/HLFIR/vector-subscript-as-value.f90
A flang/test/Lower/Intrinsics/c_ptr_eq_ne.f90
M flang/test/Lower/Intrinsics/extends_type_of.f90
A flang/test/Lower/Intrinsics/fma_real16.f90
M flang/test/Lower/Intrinsics/modulo.f90
A flang/test/Lower/Intrinsics/random_number_real16.f90
M flang/test/Lower/Intrinsics/same_type_as.f90
M flang/test/Lower/Intrinsics/sizeof.f90
M flang/test/Lower/Intrinsics/spread.f90
M flang/test/Lower/Intrinsics/storage_size.f90
A flang/test/Lower/OpenMP/FIR/parallel-reduction-add-byref.f90
A flang/test/Lower/OpenMP/FIR/wsloop-reduction-add-byref.f90
A flang/test/Lower/OpenMP/FIR/wsloop-reduction-iand-byref.f90
A flang/test/Lower/OpenMP/FIR/wsloop-reduction-ieor-byref.f90
A flang/test/Lower/OpenMP/FIR/wsloop-reduction-ior-byref.f90
A flang/test/Lower/OpenMP/FIR/wsloop-reduction-logical-eqv-byref.f90
A flang/test/Lower/OpenMP/FIR/wsloop-reduction-logical-neqv-byref.f90
A flang/test/Lower/OpenMP/FIR/wsloop-reduction-max-byref.f90
A flang/test/Lower/OpenMP/FIR/wsloop-reduction-min-byref.f90
A flang/test/Lower/OpenMP/default-clause-byref.f90
A flang/test/Lower/OpenMP/delayed-privatization-allocatable-firstprivate.f90
A flang/test/Lower/OpenMP/delayed-privatization-allocatable-private.f90
A flang/test/Lower/OpenMP/delayed-privatization-pointer.f90
A flang/test/Lower/OpenMP/delayed-privatization-reduction-byref.f90
A flang/test/Lower/OpenMP/parallel-reduction-add-byref.f90
A flang/test/Lower/OpenMP/parallel-reduction-byref.f90
A flang/test/Lower/OpenMP/parallel-reduction-rename.f90
A flang/test/Lower/OpenMP/parallel-wsloop-reduction-byref.f90
A flang/test/Lower/OpenMP/use-device-ptr-to-use-device-addr.f90
A flang/test/Lower/OpenMP/wsloop-reduction-add-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-add-hlfir-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-iand-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-ieor-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-ior-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-logical-and-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-logical-eqv-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-logical-neqv-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-logical-or-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-max-2-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-max-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-max-hlfir-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-min-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-min2.f90
A flang/test/Lower/OpenMP/wsloop-reduction-mul-byref.f90
M flang/test/Lower/allocatable-polymorphic.f90
M flang/test/Lower/allocatable-return.f90
M flang/test/Lower/assumed-type.f90
M flang/test/Lower/default-initialization.f90
M flang/test/Lower/derived-type-finalization.f90
M flang/test/Lower/dispatch-table.f90
M flang/test/Lower/dispatch.f90
M flang/test/Lower/intentout-deallocate.f90
M flang/test/Lower/io-derived-type-2.f90
M flang/test/Lower/io-derived-type.f90
M flang/test/Lower/nullify-polymorphic.f90
M flang/test/Lower/pass-null-for-class-arg.f90
M flang/test/Lower/pointer-association-polymorphic.f90
M flang/test/Lower/pointer-disassociate.f90
M flang/test/Lower/polymorphic-temp.f90
M flang/test/Lower/polymorphic-types.f90
M flang/test/Lower/polymorphic.f90
M flang/test/Lower/select-type-2.f90
M flang/test/Lower/select-type.f90
M flang/test/Parser/cuf-sanity-tree.CUF
A flang/test/Semantics/OpenMP/reduction11.f90
M flang/test/Semantics/OpenMP/use_device_ptr1.f90
A flang/test/Semantics/call41.f90
M flang/test/Semantics/cuf09.cuf
M flang/test/Semantics/declarations02.f90
M flang/test/Semantics/doconcurrent08.f90
A flang/test/Semantics/forall02.f90
M flang/test/Semantics/modfile63.f90
M flang/test/Semantics/resolve11.f90
M flang/test/Semantics/separate-mp05.f90
M flang/tools/bbc/bbc.cpp
M flang/tools/f18/CMakeLists.txt
M flang/unittests/Runtime/NumericalFormatTest.cpp
M libc/CMakeLists.txt
M libc/config/baremetal/api.td
M libc/config/baremetal/arm/entrypoints.txt
M libc/config/baremetal/arm/headers.txt
M libc/config/baremetal/riscv/entrypoints.txt
M libc/config/baremetal/riscv/headers.txt
M libc/config/gpu/api.td
M libc/config/gpu/entrypoints.txt
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/api.td
M libc/config/linux/arm/entrypoints.txt
M libc/config/linux/riscv/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/dev/printf_behavior.rst
M libc/docs/dev/undefined_behavior.rst
M libc/docs/fullbuild_mode.rst
M libc/docs/gpu/building.rst
M libc/docs/gpu/support.rst
M libc/docs/gpu/testing.rst
M libc/docs/gpu/using.rst
M libc/docs/math/index.rst
M libc/fuzzing/CMakeLists.txt
M libc/fuzzing/math/RemQuoDiff.h
M libc/fuzzing/math/SingleInputSingleOutputDiff.h
M libc/fuzzing/math/TwoInputSingleOutputDiff.h
M libc/fuzzing/stdlib/strtofloat_fuzz.cpp
M libc/include/CMakeLists.txt
M libc/include/llvm-libc-macros/stdio-macros.h
M libc/include/llvm-libc-types/CMakeLists.txt
A libc/include/llvm-libc-types/mbstate_t.h
A libc/include/uchar.h.def
M libc/spec/posix.td
M libc/spec/spec.td
M libc/spec/stdc.td
M libc/src/__support/CPP/array.h
A libc/src/__support/CPP/iterator.h
M libc/src/__support/CPP/string_view.h
M libc/src/__support/FPUtil/FEnvImpl.h
M libc/src/__support/FPUtil/ManipulationFunctions.h
M libc/src/__support/FPUtil/NearestIntegerOperations.h
A libc/src/__support/FPUtil/x86_64/NextUpDownLongDouble.h
M libc/src/__support/GPU/utils.h
M libc/src/__support/UInt.h
M libc/src/__support/blockstore.h
M libc/src/__support/integer_to_string.h
M libc/src/__support/str_to_float.h
M libc/src/__support/str_to_integer.h
M libc/src/math/CMakeLists.txt
M libc/src/math/generic/CMakeLists.txt
M libc/src/math/generic/atanf.cpp
M libc/src/math/generic/inv_trigf_utils.cpp
M libc/src/math/generic/inv_trigf_utils.h
M libc/src/math/generic/math_utils.h
A libc/src/math/generic/nanf128.cpp
A libc/src/math/generic/nextafterf128.cpp
A libc/src/math/generic/nextdown.cpp
A libc/src/math/generic/nextdownf.cpp
A libc/src/math/generic/nextdownf128.cpp
A libc/src/math/generic/nextdownl.cpp
A libc/src/math/generic/nextup.cpp
A libc/src/math/generic/nextupf.cpp
A libc/src/math/generic/nextupf128.cpp
A libc/src/math/generic/nextupl.cpp
A libc/src/math/nanf128.h
A libc/src/math/nextafterf128.h
A libc/src/math/nextdown.h
A libc/src/math/nextdownf.h
A libc/src/math/nextdownf128.h
A libc/src/math/nextdownl.h
A libc/src/math/nextup.h
A libc/src/math/nextupf.h
A libc/src/math/nextupf128.h
A libc/src/math/nextupl.h
M libc/src/stdio/CMakeLists.txt
A libc/src/stdio/baremetal/CMakeLists.txt
A libc/src/stdio/baremetal/remove.cpp
A libc/src/stdio/fileno.h
M libc/src/stdio/generic/CMakeLists.txt
A libc/src/stdio/generic/fileno.cpp
M libc/src/stdio/linux/CMakeLists.txt
M libc/src/stdio/printf_core/string_converter.h
M libc/src/stdlib/atexit.cpp
M libc/src/sys/mman/CMakeLists.txt
M libc/src/sys/mman/linux/CMakeLists.txt
A libc/src/sys/mman/linux/shm_common.h
A libc/src/sys/mman/linux/shm_open.cpp
A libc/src/sys/mman/linux/shm_unlink.cpp
A libc/src/sys/mman/shm_open.h
A libc/src/sys/mman/shm_unlink.h
M libc/test/UnitTest/FPMatcher.h
M libc/test/src/__support/CPP/CMakeLists.txt
A libc/test/src/__support/CPP/array_test.cpp
M libc/test/src/__support/CPP/stringview_test.cpp
M libc/test/src/__support/blockstore_test.cpp
M libc/test/src/__support/uint_test.cpp
M libc/test/src/math/CMakeLists.txt
M libc/test/src/math/CeilTest.h
M libc/test/src/math/CopySignTest.h
M libc/test/src/math/FAbsTest.h
M libc/test/src/math/FDimTest.h
M libc/test/src/math/FMaxTest.h
M libc/test/src/math/FMinTest.h
M libc/test/src/math/FModTest.h
M libc/test/src/math/FloorTest.h
M libc/test/src/math/FrexpTest.h
M libc/test/src/math/HypotTest.h
M libc/test/src/math/ILogbTest.h
M libc/test/src/math/LdExpTest.h
M libc/test/src/math/LogbTest.h
M libc/test/src/math/ModfTest.h
M libc/test/src/math/NextAfterTest.h
M libc/test/src/math/RIntTest.h
M libc/test/src/math/RemQuoTest.h
M libc/test/src/math/RoundTest.h
M libc/test/src/math/RoundToIntegerTest.h
M libc/test/src/math/SqrtTest.h
M libc/test/src/math/TruncTest.h
M libc/test/src/math/acosf_test.cpp
M libc/test/src/math/acoshf_test.cpp
M libc/test/src/math/asinf_test.cpp
M libc/test/src/math/asinhf_test.cpp
M libc/test/src/math/atanf_test.cpp
M libc/test/src/math/atanhf_test.cpp
M libc/test/src/math/cos_test.cpp
M libc/test/src/math/cosf_test.cpp
M libc/test/src/math/coshf_test.cpp
M libc/test/src/math/erff_test.cpp
M libc/test/src/math/exhaustive/CMakeLists.txt
M libc/test/src/math/exhaustive/atanf_test.cpp
M libc/test/src/math/exhaustive/fmod_generic_impl_test.cpp
M libc/test/src/math/exp10_test.cpp
M libc/test/src/math/exp10f_test.cpp
M libc/test/src/math/exp2_test.cpp
M libc/test/src/math/exp2f_test.cpp
M libc/test/src/math/exp_test.cpp
M libc/test/src/math/expf_test.cpp
M libc/test/src/math/explogxf_test.cpp
M libc/test/src/math/expm1_test.cpp
M libc/test/src/math/expm1f_test.cpp
M libc/test/src/math/fdim_test.cpp
M libc/test/src/math/fdimf_test.cpp
M libc/test/src/math/fdiml_test.cpp
M libc/test/src/math/ilogb_test.cpp
M libc/test/src/math/ilogbf_test.cpp
M libc/test/src/math/ilogbl_test.cpp
R libc/test/src/math/inv_trigf_utils_test.cpp
M libc/test/src/math/log10_test.cpp
M libc/test/src/math/log10f_test.cpp
M libc/test/src/math/log1p_test.cpp
M libc/test/src/math/log1pf_test.cpp
M libc/test/src/math/log2_test.cpp
M libc/test/src/math/log2f_test.cpp
M libc/test/src/math/log_test.cpp
M libc/test/src/math/logf_test.cpp
A libc/test/src/math/nextafterf128_test.cpp
M libc/test/src/math/powf_test.cpp
M libc/test/src/math/sin_test.cpp
M libc/test/src/math/sincosf_test.cpp
M libc/test/src/math/sinf_test.cpp
M libc/test/src/math/sinhf_test.cpp
M libc/test/src/math/smoke/CMakeLists.txt
M libc/test/src/math/smoke/CeilTest.h
M libc/test/src/math/smoke/CopySignTest.h
M libc/test/src/math/smoke/FAbsTest.h
M libc/test/src/math/smoke/FModTest.h
M libc/test/src/math/smoke/FloorTest.h
M libc/test/src/math/smoke/HypotTest.h
M libc/test/src/math/smoke/ModfTest.h
M libc/test/src/math/smoke/NextAfterTest.h
A libc/test/src/math/smoke/NextDownTest.h
M libc/test/src/math/smoke/NextTowardTest.h
A libc/test/src/math/smoke/NextUpTest.h
M libc/test/src/math/smoke/RIntTest.h
M libc/test/src/math/smoke/RemQuoTest.h
M libc/test/src/math/smoke/RoundTest.h
M libc/test/src/math/smoke/RoundToIntegerTest.h
M libc/test/src/math/smoke/SqrtTest.h
M libc/test/src/math/smoke/TruncTest.h
M libc/test/src/math/smoke/acosf_test.cpp
M libc/test/src/math/smoke/acoshf_test.cpp
M libc/test/src/math/smoke/asinf_test.cpp
M libc/test/src/math/smoke/asinhf_test.cpp
M libc/test/src/math/smoke/atanf_test.cpp
M libc/test/src/math/smoke/atanhf_test.cpp
M libc/test/src/math/smoke/cosf_test.cpp
M libc/test/src/math/smoke/coshf_test.cpp
M libc/test/src/math/smoke/erff_test.cpp
M libc/test/src/math/smoke/exp10_test.cpp
M libc/test/src/math/smoke/exp10f_test.cpp
M libc/test/src/math/smoke/exp2_test.cpp
M libc/test/src/math/smoke/exp2f_test.cpp
M libc/test/src/math/smoke/exp_test.cpp
M libc/test/src/math/smoke/expf_test.cpp
M libc/test/src/math/smoke/expm1_test.cpp
M libc/test/src/math/smoke/expm1f_test.cpp
M libc/test/src/math/smoke/log10_test.cpp
M libc/test/src/math/smoke/log10f_test.cpp
M libc/test/src/math/smoke/log1p_test.cpp
M libc/test/src/math/smoke/log1pf_test.cpp
M libc/test/src/math/smoke/log2_test.cpp
M libc/test/src/math/smoke/log2f_test.cpp
M libc/test/src/math/smoke/log_test.cpp
M libc/test/src/math/smoke/logf_test.cpp
A libc/test/src/math/smoke/nanf128_test.cpp
A libc/test/src/math/smoke/nextafterf128_test.cpp
A libc/test/src/math/smoke/nextdown_test.cpp
A libc/test/src/math/smoke/nextdownf128_test.cpp
A libc/test/src/math/smoke/nextdownf_test.cpp
A libc/test/src/math/smoke/nextdownl_test.cpp
A libc/test/src/math/smoke/nextup_test.cpp
A libc/test/src/math/smoke/nextupf128_test.cpp
A libc/test/src/math/smoke/nextupf_test.cpp
A libc/test/src/math/smoke/nextupl_test.cpp
M libc/test/src/math/smoke/powf_test.cpp
M libc/test/src/math/smoke/sincosf_test.cpp
M libc/test/src/math/smoke/sinf_test.cpp
M libc/test/src/math/smoke/sinhf_test.cpp
M libc/test/src/math/smoke/tanf_test.cpp
M libc/test/src/math/smoke/tanhf_test.cpp
M libc/test/src/math/tan_test.cpp
M libc/test/src/math/tanf_test.cpp
M libc/test/src/math/tanhf_test.cpp
M libc/test/src/stdio/CMakeLists.txt
M libc/test/src/stdio/fileop_test.cpp
M libc/test/src/stdio/sprintf_test.cpp
M libc/test/src/sys/mman/linux/CMakeLists.txt
A libc/test/src/sys/mman/linux/shm_test.cpp
M libc/test/utils/FPUtil/x86_long_double_test.cpp
M libc/utils/MPFRWrapper/MPFRUtils.cpp
M libclc/CMakeLists.txt
M libclc/check_external_calls.sh
M libclc/cmake/CMakeLLAsmInformation.cmake
M libclc/generic/lib/gen_convert.py
M libcxx/benchmarks/CMakeLists.txt
A libcxx/benchmarks/algorithms/fill.bench.cpp
M libcxx/docs/Modules.rst
M libcxx/docs/ReleaseNotes/19.rst
M libcxx/docs/Status/Cxx23Issues.csv
M libcxx/docs/Status/Cxx23Papers.csv
M libcxx/include/CMakeLists.txt
M libcxx/include/__algorithm/copy_backward.h
M libcxx/include/__algorithm/copy_move_common.h
M libcxx/include/__algorithm/equal.h
M libcxx/include/__algorithm/equal_range.h
M libcxx/include/__algorithm/fill_n.h
M libcxx/include/__algorithm/inplace_merge.h
M libcxx/include/__algorithm/lexicographical_compare_three_way.h
M libcxx/include/__algorithm/move.h
M libcxx/include/__algorithm/move_backward.h
M libcxx/include/__algorithm/partial_sort.h
M libcxx/include/__algorithm/pop_heap.h
M libcxx/include/__algorithm/push_heap.h
M libcxx/include/__algorithm/rotate.h
M libcxx/include/__algorithm/sort_heap.h
M libcxx/include/__algorithm/stable_sort.h
M libcxx/include/__algorithm/unwrap_iter.h
M libcxx/include/__algorithm/upper_bound.h
M libcxx/include/__atomic/atomic_base.h
M libcxx/include/__bit_reference
M libcxx/include/__compare/partial_order.h
M libcxx/include/__compare/strong_order.h
M libcxx/include/__compare/weak_order.h
M libcxx/include/__concepts/swappable.h
M libcxx/include/__exception/nested_exception.h
M libcxx/include/__expected/expected.h
M libcxx/include/__format/concepts.h
M libcxx/include/__format/format_context.h
M libcxx/include/__format/format_functions.h
M libcxx/include/__format/formatter_floating_point.h
M libcxx/include/__functional/bind_front.h
M libcxx/include/__functional/function.h
M libcxx/include/__functional/hash.h
M libcxx/include/__functional/not_fn.h
M libcxx/include/__hash_table
M libcxx/include/__iterator/cpp17_iterator_concepts.h
M libcxx/include/__iterator/iter_move.h
M libcxx/include/__iterator/reverse_iterator.h
M libcxx/include/__mdspan/mdspan.h
M libcxx/include/__memory/allocator_traits.h
M libcxx/include/__memory/compressed_pair.h
M libcxx/include/__memory/shared_ptr.h
M libcxx/include/__memory/uninitialized_algorithms.h
M libcxx/include/__memory/unique_ptr.h
M libcxx/include/__mutex/mutex.h
M libcxx/include/__ranges/access.h
M libcxx/include/__ranges/iota_view.h
M libcxx/include/__ranges/movable_box.h
M libcxx/include/__ranges/rbegin.h
M libcxx/include/__ranges/rend.h
M libcxx/include/__ranges/size.h
M libcxx/include/__ranges/zip_view.h
M libcxx/include/__split_buffer
M libcxx/include/__tree
M libcxx/include/__tuple/sfinae_helpers.h
M libcxx/include/__tuple/tuple_size.h
M libcxx/include/__type_traits/conjunction.h
M libcxx/include/__type_traits/is_assignable.h
M libcxx/include/__type_traits/is_constructible.h
R libcxx/include/__type_traits/is_copy_assignable.h
R libcxx/include/__type_traits/is_copy_constructible.h
R libcxx/include/__type_traits/is_default_constructible.h
M libcxx/include/__type_traits/is_implicitly_default_constructible.h
R libcxx/include/__type_traits/is_move_assignable.h
R libcxx/include/__type_traits/is_move_constructible.h
M libcxx/include/__type_traits/is_nothrow_assignable.h
M libcxx/include/__type_traits/is_nothrow_constructible.h
R libcxx/include/__type_traits/is_nothrow_copy_assignable.h
R libcxx/include/__type_traits/is_nothrow_copy_constructible.h
R libcxx/include/__type_traits/is_nothrow_default_constructible.h
R libcxx/include/__type_traits/is_nothrow_move_assignable.h
R libcxx/include/__type_traits/is_nothrow_move_constructible.h
M libcxx/include/__type_traits/is_scoped_enum.h
M libcxx/include/__type_traits/is_swappable.h
M libcxx/include/__type_traits/is_trivially_assignable.h
M libcxx/include/__type_traits/is_trivially_constructible.h
R libcxx/include/__type_traits/is_trivially_copy_assignable.h
R libcxx/include/__type_traits/is_trivially_copy_constructible.h
R libcxx/include/__type_traits/is_trivially_default_constructible.h
R libcxx/include/__type_traits/is_trivially_move_assignable.h
R libcxx/include/__type_traits/is_trivially_move_constructible.h
M libcxx/include/__type_traits/noexcept_move_assign_container.h
M libcxx/include/__type_traits/remove_reference.h
M libcxx/include/__utility/exception_guard.h
M libcxx/include/__utility/exchange.h
M libcxx/include/__utility/move.h
M libcxx/include/__utility/pair.h
M libcxx/include/__utility/small_buffer.h
M libcxx/include/__utility/swap.h
M libcxx/include/any
M libcxx/include/array
M libcxx/include/chrono
M libcxx/include/complex
M libcxx/include/coroutine
M libcxx/include/cwchar
M libcxx/include/execution
M libcxx/include/experimental/memory
M libcxx/include/format
M libcxx/include/forward_list
M libcxx/include/fstream
M libcxx/include/libcxx.imp
M libcxx/include/limits
M libcxx/include/list
M libcxx/include/module.modulemap
M libcxx/include/mutex
M libcxx/include/optional
M libcxx/include/string
M libcxx/include/tuple
M libcxx/include/type_traits
M libcxx/include/variant
M libcxx/include/vector
M libcxx/modules/CMakeLists.txt.in
M libcxx/src/CMakeLists.txt
M libcxx/test/libcxx/containers/sequences/vector/robust_against_adl.pass.cpp
A libcxx/test/libcxx/diagnostics/limits.nodiscard_extensions.compile.pass.cpp
A libcxx/test/libcxx/diagnostics/limits.nodiscard_extensions.verify.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cmp/equal.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cmp/greater-equal.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cmp/greater.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cmp/less-equal.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cmp/less.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cmp/not-equal.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cons/assign.LWG3435.verify.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cons/ctor.default.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cons/ctor.iter.explicit.verify.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cons/ctor.iter.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cons/ctor.reverse_iterator.LWG3435.verify.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.conv/base.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.elem/arrow.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.elem/bracket.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.elem/dereference.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.nav/decrement-assign.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.nav/increment-assign.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.nav/minus.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.nav/plus.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.nav/postdecrement.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.nav/postincrement.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.nav/predecrement.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.nav/preincrement.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.nonmember/minus.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/types.compile.pass.cpp
M libcxx/test/libcxx/transitive_includes/cxx03.csv
M libcxx/test/libcxx/transitive_includes/cxx11.csv
M libcxx/test/libcxx/transitive_includes/cxx14.csv
M libcxx/test/libcxx/transitive_includes/cxx17.csv
M libcxx/test/libcxx/transitive_includes/cxx20.csv
M libcxx/test/libcxx/transitive_includes/cxx23.csv
M libcxx/test/libcxx/transitive_includes/cxx26.csv
M libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/fill.pass.cpp
M libcxx/test/std/algorithms/alg.nonmodifying/alg.count/count.pass.cpp
M libcxx/test/std/algorithms/alg.nonmodifying/alg.count/ranges.count.pass.cpp
A libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/setbuf.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/copy.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/copy_assign.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/move.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/move_assign.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/path.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/assign.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/refresh.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/replace_filename.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_size.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_type_obs.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/hard_link_count.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/last_write_time.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/status.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/symlink_status.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/copy.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/copy_assign.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/ctor.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/increment.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/move.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/move_assign.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.nonmembers/begin_end.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/copy.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/copy_assign.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/ctor.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/depth.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/disable_recursion_pending.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/increment.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/move.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/move_assign.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/pop.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/recursion_pending.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.nonmembers/begin_end.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.canonical/canonical.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy/copy.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_symlink/copy_symlink.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directories/create_directories.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/create_directory.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/create_directory_with_attributes.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory_symlink/create_directory_symlink.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_hard_link/create_hard_link.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_symlink/create_symlink.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.current_path/current_path.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.equivalent/equivalent.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.exists/exists.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.file_size/file_size.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.hard_lk_ct/hard_link_count.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_block_file/is_block_file.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_char_file/is_character_file.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_directory/is_directory.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_empty/is_empty.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_fifo/is_fifo.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_other/is_other.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_regular_file/is_regular_file.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_socket/is_socket.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_symlink/is_symlink.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.last_write_time/last_write_time.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.permissions/permissions.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.read_symlink/read_symlink.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.relative/relative.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.remove/remove.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.remove_all/remove_all.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.rename/rename.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.resize_file/resize_file.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.space/space.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.status/status.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.symlink_status/symlink_status.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.weakly_canonical/weakly_canonical.pass.cpp
M libcxx/test/std/iterators/iterator.requirements/iterator.cust/iterator.cust.swap/iter_swap.pass.cpp
M libcxx/test/std/ranges/range.access/begin.pass.cpp
M libcxx/test/std/ranges/range.access/end.pass.cpp
M libcxx/test/std/ranges/range.access/rbegin.pass.cpp
M libcxx/test/std/ranges/range.access/rend.pass.cpp
M libcxx/test/std/ranges/range.access/size.pass.cpp
A libcxx/test/std/ranges/robust_against_poison_pills.compile.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.db/time.zone.db.access/get_tzdb.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.db/time.zone.db.access/get_tzdb_list.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.db/time.zone.db.list/front.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.db/time.zone.db.list/iterators.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.db/time.zone.db.remote/reload_tzdb.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.db/time.zone.db.remote/remote_version.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.link/time.zone.link.members/name.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.link/time.zone.link.members/target.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.link/time.zone.link.nonmembers/comparison.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/name.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.nonmembers/comparison.pass.cpp
M libcxx/test/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size_v.verify.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.assign/T.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.assign/conv.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.ctor/T.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.ctor/conv.pass.cpp
M libcxx/test/support/variant_test_helpers.h
M libcxx/utils/ci/docker-compose.yml
M libcxx/utils/ci/run-buildbot-container
M libcxx/utils/libcxx/test/features.py
M libcxxabi/src/CMakeLists.txt
M libunwind/src/CMakeLists.txt
M lld/ELF/Config.h
M lld/ELF/Driver.cpp
M lld/ELF/InputFiles.cpp
M lld/ELF/InputSection.cpp
M lld/ELF/Options.td
M lld/ELF/OutputSections.cpp
M lld/ELF/SyntheticSections.cpp
M lld/ELF/SyntheticSections.h
M lld/ELF/Writer.cpp
M lld/docs/ld.lld.1
M lld/test/ELF/aarch64-tlsdesc-zrel.s
M lld/test/ELF/incompatible-section-types2.s
M lld/test/ELF/linkerscript/custom-section-type.s
M lld/test/ELF/linkerscript/discard-section.s
M lld/test/ELF/pack-dyn-relocs-arm2.s
M lld/test/ELF/pack-dyn-relocs.s
A lld/test/ELF/unknown-section.test
M lldb/cmake/caches/Apple-lldb-Linux.cmake
M lldb/include/lldb/Core/Disassembler.h
A lldb/include/lldb/Host/Alarm.h
M lldb/include/lldb/Symbol/LineEntry.h
M lldb/include/lldb/Target/Language.h
M lldb/include/lldb/Utility/SupportFile.h
M lldb/packages/Python/lldbsuite/test/decorators.py
M lldb/packages/Python/lldbsuite/test/dotest.py
M lldb/packages/Python/lldbsuite/test/lldbpexpect.py
M lldb/packages/Python/lldbsuite/test/test_categories.py
M lldb/packages/Python/lldbsuite/test/test_result.py
M lldb/source/API/SBLineEntry.cpp
M lldb/source/API/SBThread.cpp
M lldb/source/Breakpoint/BreakpointResolver.cpp
M lldb/source/Breakpoint/BreakpointResolverFileLine.cpp
M lldb/source/Commands/CommandObjectBreakpoint.cpp
M lldb/source/Commands/CommandObjectDWIMPrint.cpp
M lldb/source/Commands/CommandObjectSource.cpp
M lldb/source/Commands/CommandObjectTarget.cpp
M lldb/source/Commands/CommandObjectThread.cpp
M lldb/source/Core/Address.cpp
M lldb/source/Core/Debugger.cpp
M lldb/source/Core/Disassembler.cpp
M lldb/source/Core/FormatEntity.cpp
M lldb/source/Core/IOHandlerCursesGUI.cpp
M lldb/source/Core/SourceManager.cpp
M lldb/source/Expression/IRExecutionUnit.cpp
M lldb/source/Host/CMakeLists.txt
A lldb/source/Host/common/Alarm.cpp
M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionSourceCode.cpp
M lldb/source/Plugins/Language/CPlusPlus/CMakeLists.txt
M lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxx.h
A lldb/source/Plugins/Language/CPlusPlus/LibCxxSliceArray.cpp
M lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp
M lldb/source/Plugins/SymbolLocator/DebugSymbols/SymbolLocatorDebugSymbols.cpp
M lldb/source/Symbol/CompileUnit.cpp
M lldb/source/Symbol/Function.cpp
M lldb/source/Symbol/LineEntry.cpp
M lldb/source/Symbol/LineTable.cpp
M lldb/source/Symbol/SymbolContext.cpp
M lldb/source/Target/Language.cpp
M lldb/source/Target/StackFrame.cpp
M lldb/source/Target/StackFrameList.cpp
M lldb/source/Target/TargetProperties.td
M lldb/source/Target/Thread.cpp
M lldb/source/Target/TraceDumper.cpp
M lldb/test/API/benchmarks/expression/TestExpressionCmd.py
M lldb/test/API/benchmarks/expression/TestRepeatedExprs.py
M lldb/test/API/benchmarks/frame_variable/TestFrameVariableResponse.py
M lldb/test/API/benchmarks/startup/TestStartupDelays.py
M lldb/test/API/benchmarks/stepping/TestSteppingSpeed.py
M lldb/test/API/benchmarks/turnaround/TestCompileRunToBreakpointTurnaround.py
M lldb/test/API/commands/dwim-print/TestDWIMPrint.py
M lldb/test/API/functionalities/breakpoint/breakpoint_options/TestBreakpointOptions.py
M lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/valarray/TestDataFormatterLibcxxValarray.py
M lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/valarray/main.cpp
M lldb/test/API/functionalities/fork/concurrent_vfork/TestConcurrentVFork.py
M lldb/test/API/macosx/indirect_symbol/TestIndirectSymbols.py
A lldb/test/API/macosx/tbi-honored/Makefile
A lldb/test/API/macosx/tbi-honored/TestTBIHonored.py
A lldb/test/API/macosx/tbi-honored/main.c
M lldb/test/API/python_api/run_locker/TestRunLocker.py
M lldb/test/API/terminal/TestSTTYBeforeAndAfter.py
A lldb/unittests/Host/AlarmTest.cpp
M lldb/unittests/Host/CMakeLists.txt
M lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp
M llvm/CMakeLists.txt
M llvm/cmake/modules/AddLLVM.cmake
M llvm/cmake/modules/HandleLLVMOptions.cmake
M llvm/docs/AMDGPUUsage.rst
M llvm/docs/CommandGuide/dsymutil.rst
M llvm/docs/CommandGuide/llvm-ar.rst
M llvm/docs/CommandGuide/llvm-debuginfo-analyzer.rst
M llvm/docs/GlobalISel/GenericOpcode.rst
M llvm/docs/LangRef.rst
M llvm/docs/PointerAuth.md
M llvm/docs/RISCVUsage.rst
M llvm/docs/ReleaseNotes.rst
M llvm/docs/RemoveDIsDebugInfo.md
M llvm/docs/UserGuides.rst
M llvm/include/llvm-c/Core.h
M llvm/include/llvm-c/DebugInfo.h
M llvm/include/llvm-c/Types.h
M llvm/include/llvm/ADT/APInt.h
M llvm/include/llvm/ADT/STLExtras.h
M llvm/include/llvm/Analysis/ConstantFolding.h
M llvm/include/llvm/Analysis/InstSimplifyFolder.h
M llvm/include/llvm/Analysis/InstructionSimplify.h
M llvm/include/llvm/Analysis/MemoryLocation.h
M llvm/include/llvm/Analysis/TargetFolder.h
M llvm/include/llvm/Analysis/TargetTransformInfo.h
M llvm/include/llvm/BinaryFormat/DXContainer.h
M llvm/include/llvm/BinaryFormat/DXContainerConstants.def
M llvm/include/llvm/Bitcode/LLVMBitCodes.h
M llvm/include/llvm/CodeGen/AccelTable.h
M llvm/include/llvm/CodeGen/FunctionLoweringInfo.h
M llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h
M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
M llvm/include/llvm/CodeGen/GlobalISel/GIMatchTableExecutorImpl.h
M llvm/include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h
M llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h
M llvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
M llvm/include/llvm/CodeGen/MachineFrameInfo.h
M llvm/include/llvm/CodeGen/MachineFunction.h
M llvm/include/llvm/CodeGen/MachineLoopInfo.h
M llvm/include/llvm/CodeGen/MachineMemOperand.h
M llvm/include/llvm/CodeGen/MachinePassManager.h
M llvm/include/llvm/CodeGen/NonRelocatableStringpool.h
M llvm/include/llvm/CodeGen/SDPatternMatch.h
M llvm/include/llvm/CodeGen/SelectionDAG.h
M llvm/include/llvm/CodeGen/SelectionDAGNodes.h
M llvm/include/llvm/CodeGen/TargetInstrInfo.h
M llvm/include/llvm/CodeGen/TargetRegisterInfo.h
M llvm/include/llvm/CodeGenTypes/LowLevelType.h
M llvm/include/llvm/DWARFLinker/Classic/DWARFStreamer.h
M llvm/include/llvm/DWARFLinker/DWARFLinkerBase.h
M llvm/include/llvm/DWARFLinker/Parallel/DWARFLinker.h
M llvm/include/llvm/DebugInfo/LogicalView/Readers/LVBinaryReader.h
A llvm/include/llvm/DebugInfo/LogicalView/Readers/LVDWARFReader.h
R llvm/include/llvm/DebugInfo/LogicalView/Readers/LVELFReader.h
M llvm/include/llvm/ExecutionEngine/Orc/MachOPlatform.h
M llvm/include/llvm/ExecutionEngine/Orc/Shared/VTuneSharedStructs.h
M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
M llvm/include/llvm/IR/AutoUpgrade.h
M llvm/include/llvm/IR/BasicBlock.h
M llvm/include/llvm/IR/ConstantFolder.h
M llvm/include/llvm/IR/Constants.h
M llvm/include/llvm/IR/DIBuilder.h
M llvm/include/llvm/IR/DebugInfo.h
M llvm/include/llvm/IR/DebugInfoMetadata.h
M llvm/include/llvm/IR/DebugProgramInstruction.h
M llvm/include/llvm/IR/IRBuilder.h
M llvm/include/llvm/IR/IRBuilderFolder.h
M llvm/include/llvm/IR/Instruction.h
M llvm/include/llvm/IR/Intrinsics.td
M llvm/include/llvm/IR/IntrinsicsDirectX.td
M llvm/include/llvm/IR/IntrinsicsSPIRV.td
M llvm/include/llvm/IR/Metadata.h
M llvm/include/llvm/IR/NoFolder.h
M llvm/include/llvm/IR/PassManager.h
M llvm/include/llvm/IR/PatternMatch.h
M llvm/include/llvm/MC/MCInstBuilder.h
M llvm/include/llvm/MC/MCInstrAnalysis.h
M llvm/include/llvm/MC/MCSymbolXCOFF.h
M llvm/include/llvm/ObjCopy/CommonConfig.h
M llvm/include/llvm/Object/Archive.h
M llvm/include/llvm/Object/ELFObjectFile.h
M llvm/include/llvm/ObjectYAML/DXContainerYAML.h
M llvm/include/llvm/Passes/PassBuilder.h
M llvm/include/llvm/Support/AMDHSAKernelDescriptor.h
M llvm/include/llvm/Support/TimeProfiler.h
M llvm/include/llvm/Support/VirtualFileSystem.h
M llvm/include/llvm/Target/GlobalISel/Combine.td
M llvm/include/llvm/Target/Target.td
M llvm/include/llvm/Target/TargetMachine.h
A llvm/include/llvm/Target/TargetMacroFusion.td
M llvm/include/llvm/Target/TargetSchedule.td
M llvm/include/llvm/Target/TargetSelectionDAG.td
M llvm/include/llvm/TargetParser/AArch64TargetParser.h
M llvm/include/llvm/TextAPI/Record.h
M llvm/include/llvm/Transforms/Scalar/ConstantHoisting.h
M llvm/include/llvm/Transforms/Utils/Local.h
M llvm/include/llvm/Transforms/Utils/MemoryTaggingSupport.h
M llvm/include/llvm/Transforms/Utils/SSAUpdater.h
M llvm/include/llvm/Transforms/Utils/ValueMapper.h
M llvm/lib/Analysis/ConstantFolding.cpp
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/lib/Analysis/PHITransAddr.cpp
M llvm/lib/Analysis/TargetTransformInfo.cpp
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/lib/Bitcode/Reader/MetadataLoader.cpp
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
M llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
M llvm/lib/Bitcode/Writer/ValueEnumerator.cpp
M llvm/lib/CodeGen/AsmPrinter/AccelTable.cpp
M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
M llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
M llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/lib/CodeGen/DFAPacketizer.cpp
M llvm/lib/CodeGen/DwarfEHPrepare.cpp
M llvm/lib/CodeGen/ExpandLargeFpConvert.cpp
M llvm/lib/CodeGen/FinalizeISel.cpp
M llvm/lib/CodeGen/GCRootLowering.cpp
M llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
M llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
M llvm/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp
M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
M llvm/lib/CodeGen/GlobalISel/LoadStoreOpt.cpp
M llvm/lib/CodeGen/GlobalMerge.cpp
M llvm/lib/CodeGen/HardwareLoops.cpp
M llvm/lib/CodeGen/IndirectBrExpandPass.cpp
M llvm/lib/CodeGen/InterleavedAccessPass.cpp
M llvm/lib/CodeGen/IntrinsicLowering.cpp
M llvm/lib/CodeGen/JMCInstrumenter.cpp
M llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
M llvm/lib/CodeGen/LowLevelTypeUtils.cpp
M llvm/lib/CodeGen/MIRParser/MIParser.cpp
M llvm/lib/CodeGen/MIRPrinter.cpp
M llvm/lib/CodeGen/MIRVRegNamerUtils.cpp
M llvm/lib/CodeGen/MachineCombiner.cpp
M llvm/lib/CodeGen/MachineFrameInfo.cpp
M llvm/lib/CodeGen/MachineFunction.cpp
M llvm/lib/CodeGen/MachineInstr.cpp
M llvm/lib/CodeGen/MachineLoopInfo.cpp
M llvm/lib/CodeGen/MachineOperand.cpp
M llvm/lib/CodeGen/MachinePipeliner.cpp
M llvm/lib/CodeGen/MachineStableHash.cpp
M llvm/lib/CodeGen/MachineVerifier.cpp
M llvm/lib/CodeGen/ModuloSchedule.cpp
M llvm/lib/CodeGen/NonRelocatableStringpool.cpp
M llvm/lib/CodeGen/PrologEpilogInserter.cpp
M llvm/lib/CodeGen/SelectOptimize.cpp
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
M llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/lib/CodeGen/SjLjEHPrepare.cpp
M llvm/lib/CodeGen/TargetInstrInfo.cpp
M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
M llvm/lib/CodeGen/WinEHPrepare.cpp
M llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp
M llvm/lib/DWARFLinker/Classic/DWARFStreamer.cpp
M llvm/lib/DWARFLinker/Parallel/DWARFLinker.cpp
M llvm/lib/DWARFLinker/Parallel/DWARFLinkerGlobalData.h
M llvm/lib/DWARFLinker/Parallel/DWARFLinkerImpl.cpp
M llvm/lib/DWARFLinker/Parallel/DWARFLinkerImpl.h
M llvm/lib/DWARFLinker/Parallel/OutputSections.h
M llvm/lib/DWARFLinker/Parallel/StringEntryToDwarfStringPoolEntryMap.h
M llvm/lib/DebugInfo/LogicalView/CMakeLists.txt
M llvm/lib/DebugInfo/LogicalView/LVReaderHandler.cpp
M llvm/lib/DebugInfo/LogicalView/Readers/LVBinaryReader.cpp
A llvm/lib/DebugInfo/LogicalView/Readers/LVDWARFReader.cpp
R llvm/lib/DebugInfo/LogicalView/Readers/LVELFReader.cpp
M llvm/lib/DebugInfo/Symbolize/Symbolize.cpp
M llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp
M llvm/lib/ExecutionEngine/Orc/TargetProcess/JITLoaderVTune.cpp
M llvm/lib/Frontend/OpenMP/OMPContext.cpp
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/lib/FuzzMutate/OpDescriptor.cpp
M llvm/lib/IR/AsmWriter.cpp
M llvm/lib/IR/AutoUpgrade.cpp
M llvm/lib/IR/BasicBlock.cpp
M llvm/lib/IR/ConstantFold.cpp
M llvm/lib/IR/Constants.cpp
M llvm/lib/IR/ConvergenceVerifier.cpp
M llvm/lib/IR/Core.cpp
M llvm/lib/IR/DIBuilder.cpp
M llvm/lib/IR/DebugInfo.cpp
M llvm/lib/IR/DebugInfoMetadata.cpp
M llvm/lib/IR/DebugProgramInstruction.cpp
M llvm/lib/IR/IRBuilder.cpp
M llvm/lib/IR/Instruction.cpp
M llvm/lib/IR/LLVMContextImpl.cpp
M llvm/lib/IR/LLVMContextImpl.h
M llvm/lib/IR/LegacyPassManager.cpp
M llvm/lib/IR/Metadata.cpp
M llvm/lib/IR/ReplaceConstant.cpp
M llvm/lib/IR/Value.cpp
M llvm/lib/IR/Verifier.cpp
M llvm/lib/Linker/IRMover.cpp
M llvm/lib/MC/MCSectionXCOFF.cpp
M llvm/lib/MC/SPIRVObjectWriter.cpp
M llvm/lib/ObjCopy/ELF/ELFObjcopy.cpp
M llvm/lib/ObjCopy/ELF/ELFObject.h
M llvm/lib/Object/Archive.cpp
M llvm/lib/Object/ArchiveWriter.cpp
M llvm/lib/ObjectYAML/DXContainerYAML.cpp
M llvm/lib/Passes/PassBuilder.cpp
M llvm/lib/ProfileData/InstrProfWriter.cpp
M llvm/lib/Support/APInt.cpp
M llvm/lib/Support/CMakeLists.txt
M llvm/lib/Support/CommandLine.cpp
M llvm/lib/Support/RISCVISAInfo.cpp
M llvm/lib/Support/TimeProfiler.cpp
M llvm/lib/Support/VirtualFileSystem.cpp
M llvm/lib/Target/AArch64/AArch64.td
M llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.h
M llvm/lib/Target/AArch64/AArch64InstrInfo.td
M llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
M llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp
M llvm/lib/Target/AArch64/AArch64RegisterInfo.h
M llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
M llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
M llvm/lib/Target/AArch64/AArch64StackTagging.cpp
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
M llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerCombiner.cpp
M llvm/lib/Target/AArch64/SMEInstrFormats.td
M llvm/lib/Target/AArch64/SVEInstrFormats.td
M llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.h
M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
M llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
M llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
M llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
M llvm/lib/Target/AMDGPU/AMDGPUInstructions.td
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
M llvm/lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
M llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
M llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
M llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
M llvm/lib/Target/AMDGPU/BUFInstructions.td
M llvm/lib/Target/AMDGPU/DSInstructions.td
M llvm/lib/Target/AMDGPU/FLATInstructions.td
A llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCExpr.cpp
A llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCExpr.h
M llvm/lib/Target/AMDGPU/MCTargetDesc/CMakeLists.txt
M llvm/lib/Target/AMDGPU/SIDefines.h
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/AMDGPU/SIISelLowering.h
M llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
M llvm/lib/Target/AMDGPU/SIInstrInfo.h
M llvm/lib/Target/AMDGPU/SIInstrInfo.td
M llvm/lib/Target/AMDGPU/SIInstructions.td
M llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
M llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
M llvm/lib/Target/AMDGPU/SOPInstructions.td
M llvm/lib/Target/AMDGPU/Utils/AMDGPUAsmUtils.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
M llvm/lib/Target/ARM/ARM.td
M llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
M llvm/lib/Target/ARM/ARMHazardRecognizer.cpp
M llvm/lib/Target/ARM/ARMInstrFormats.td
M llvm/lib/Target/ARM/ARMInstrThumb.td
M llvm/lib/Target/ARM/ARMInstrThumb2.td
M llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
M llvm/lib/Target/ARM/MVEGatherScatterLowering.cpp
M llvm/lib/Target/AVR/AVRInstrInfo.td
M llvm/lib/Target/BPF/AsmParser/BPFAsmParser.cpp
M llvm/lib/Target/BPF/BPFAbstractMemberAccess.cpp
M llvm/lib/Target/BPF/BPFCheckAndAdjustIR.cpp
M llvm/lib/Target/BPF/BPFISelDAGToDAG.cpp
M llvm/lib/Target/BPF/BPFInstrFormats.td
M llvm/lib/Target/BPF/BPFInstrInfo.td
M llvm/lib/Target/BPF/BPFPreserveDIType.cpp
M llvm/lib/Target/BPF/MCTargetDesc/BPFMCTargetDesc.cpp
M llvm/lib/Target/DirectX/CMakeLists.txt
M llvm/lib/Target/DirectX/DXContainerGlobals.cpp
M llvm/lib/Target/DirectX/DXIL.td
A llvm/lib/Target/DirectX/DXILIntrinsicExpansion.cpp
A llvm/lib/Target/DirectX/DXILIntrinsicExpansion.h
M llvm/lib/Target/DirectX/DXILOpLowering.cpp
M llvm/lib/Target/DirectX/DXILShaderFlags.cpp
M llvm/lib/Target/DirectX/DXILShaderFlags.h
M llvm/lib/Target/DirectX/DXILTranslateMetadata.cpp
M llvm/lib/Target/DirectX/DirectX.h
M llvm/lib/Target/DirectX/DirectXTargetMachine.cpp
M llvm/lib/Target/Hexagon/HexagonCommonGEP.cpp
M llvm/lib/Target/Hexagon/HexagonStoreWidening.cpp
M llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.cpp
M llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h
M llvm/lib/Target/LoongArch/AsmParser/LoongArchAsmParser.cpp
M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
M llvm/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
M llvm/lib/Target/Mips/Mips16HardFloat.cpp
M llvm/lib/Target/Mips/MipsInstructionSelector.cpp
M llvm/lib/Target/Mips/MipsLegalizerInfo.cpp
M llvm/lib/Target/Mips/MipsPreLegalizerCombiner.cpp
M llvm/lib/Target/Mips/MipsRegisterBankInfo.cpp
M llvm/lib/Target/NVPTX/NVPTXFrameLowering.cpp
M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
M llvm/lib/Target/NVPTX/NVPTXISelLowering.h
M llvm/lib/Target/NVPTX/NVPTXImageOptimizer.cpp
M llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
M llvm/lib/Target/NVPTX/NVPTXLowerArgs.cpp
M llvm/lib/Target/NVPTX/NVPTXLowerUnreachable.cpp
M llvm/lib/Target/PowerPC/GISel/PPCInstructionSelector.cpp
M llvm/lib/Target/PowerPC/P10InstrResources.td
M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
M llvm/lib/Target/PowerPC/PPCBack2BackFusion.def
M llvm/lib/Target/PowerPC/PPCBoolRetToInt.cpp
M llvm/lib/Target/PowerPC/PPCFastISel.cpp
M llvm/lib/Target/PowerPC/PPCHazardRecognizers.cpp
M llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
M llvm/lib/Target/PowerPC/PPCInstr64Bit.td
M llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
M llvm/lib/Target/PowerPC/PPCInstrInfo.td
M llvm/lib/Target/PowerPC/PPCInstrP10.td
M llvm/lib/Target/PowerPC/PPCLoopInstrFormPrep.cpp
M llvm/lib/Target/PowerPC/PPCMacroFusion.def
M llvm/lib/Target/PowerPC/PPCSubtarget.cpp
M llvm/lib/Target/PowerPC/PPCSubtarget.h
M llvm/lib/Target/PowerPC/PPCTLSDynamicCall.cpp
M llvm/lib/Target/PowerPC/PPCTOCRegDeps.cpp
M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
M llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
M llvm/lib/Target/RISCV/RISCV.td
M llvm/lib/Target/RISCV/RISCVFeatures.td
M llvm/lib/Target/RISCV/RISCVGatherScatterLowering.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfo.td
M llvm/lib/Target/RISCV/RISCVInstrInfoXSf.td
M llvm/lib/Target/RISCV/RISCVInstrInfoZb.td
M llvm/lib/Target/RISCV/RISCVProcessors.td
M llvm/lib/Target/RISCV/RISCVSchedSiFive7.td
M llvm/lib/Target/RISCV/RISCVSchedSiFiveP400.td
A llvm/lib/Target/RISCV/RISCVSchedSiFiveP600.td
M llvm/lib/Target/RISCV/RISCVSchedXiangShanNanHu.td
M llvm/lib/Target/RISCV/RISCVScheduleZb.td
M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
M llvm/lib/Target/SPIRV/SPIRVAsmPrinter.cpp
M llvm/lib/Target/SPIRV/SPIRVCallLowering.cpp
M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.cpp
M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.h
M llvm/lib/Target/SPIRV/SPIRVISelLowering.cpp
M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
M llvm/lib/Target/SPIRV/SPIRVLegalizerInfo.cpp
M llvm/lib/Target/SPIRV/SPIRVMCInstLower.cpp
M llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
M llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.h
M llvm/lib/Target/SPIRV/SPIRVPrepareFunctions.cpp
M llvm/lib/Target/SPIRV/SPIRVSubtarget.h
M llvm/lib/Target/SPIRV/SPIRVUtils.h
M llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
M llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
M llvm/lib/Target/SystemZ/SystemZISelLowering.h
M llvm/lib/Target/SystemZ/SystemZInstrFP.td
M llvm/lib/Target/SystemZ/SystemZInstrFormats.td
M llvm/lib/Target/SystemZ/SystemZInstrHFP.td
M llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
M llvm/lib/Target/SystemZ/SystemZInstrInfo.td
M llvm/lib/Target/SystemZ/SystemZInstrVector.td
M llvm/lib/Target/SystemZ/SystemZOperators.td
M llvm/lib/Target/SystemZ/SystemZPatterns.td
M llvm/lib/Target/VE/VEInstrInfo.td
M llvm/lib/Target/WebAssembly/Utils/WebAssemblyTypeUtilities.cpp
M llvm/lib/Target/WebAssembly/Utils/WebAssemblyTypeUtilities.h
M llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyLowerRefTypesIntPtrConv.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h
M llvm/lib/Target/WebAssembly/WebAssemblyRegColoring.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.h
M llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
M llvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h
M llvm/lib/Target/X86/MCTargetDesc/X86InstPrinterCommon.cpp
M llvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
M llvm/lib/Target/X86/X86.td
M llvm/lib/Target/X86/X86AvoidStoreForwardingBlocks.cpp
M llvm/lib/Target/X86/X86CodeGenPassBuilder.cpp
M llvm/lib/Target/X86/X86FastISel.cpp
M llvm/lib/Target/X86/X86FlagsCopyLowering.cpp
M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Target/X86/X86ISelLowering.h
M llvm/lib/Target/X86/X86InstrAsmAlias.td
M llvm/lib/Target/X86/X86InstrCMovSetCC.td
M llvm/lib/Target/X86/X86InstrCompiler.td
M llvm/lib/Target/X86/X86InstrFormats.td
M llvm/lib/Target/X86/X86InstrFragments.td
M llvm/lib/Target/X86/X86InstrInfo.cpp
M llvm/lib/Target/X86/X86InstrInfo.h
M llvm/lib/Target/X86/X86InstrPredicates.td
M llvm/lib/Target/X86/X86LowerAMXType.cpp
M llvm/lib/Target/X86/X86MCInstLower.cpp
M llvm/lib/Target/X86/X86TargetMachine.h
M llvm/lib/Target/X86/X86TargetTransformInfo.h
M llvm/lib/Target/XCore/XCoreLowerThreadLocal.cpp
M llvm/lib/TargetParser/Host.cpp
M llvm/lib/TextAPI/TextStub.cpp
M llvm/lib/Transforms/Coroutines/CoroFrame.cpp
M llvm/lib/Transforms/Coroutines/CoroInternal.h
M llvm/lib/Transforms/Coroutines/CoroSplit.cpp
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
M llvm/lib/Transforms/IPO/IROutliner.cpp
M llvm/lib/Transforms/IPO/MergeFunctions.cpp
M llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
M llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
M llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
M llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
M llvm/lib/Transforms/Scalar/ADCE.cpp
M llvm/lib/Transforms/Scalar/ConstantHoisting.cpp
M llvm/lib/Transforms/Scalar/DFAJumpThreading.cpp
M llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
M llvm/lib/Transforms/Scalar/JumpThreading.cpp
M llvm/lib/Transforms/Scalar/LICM.cpp
M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
M llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
M llvm/lib/Transforms/Scalar/SROA.cpp
M llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
M llvm/lib/Transforms/Scalar/SpeculativeExecution.cpp
M llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
M llvm/lib/Transforms/Utils/CloneFunction.cpp
M llvm/lib/Transforms/Utils/CodeExtractor.cpp
M llvm/lib/Transforms/Utils/InlineFunction.cpp
M llvm/lib/Transforms/Utils/LCSSA.cpp
M llvm/lib/Transforms/Utils/Local.cpp
M llvm/lib/Transforms/Utils/LoopConstrainer.cpp
M llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
M llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
M llvm/lib/Transforms/Utils/LoopUtils.cpp
M llvm/lib/Transforms/Utils/MemoryOpRemark.cpp
M llvm/lib/Transforms/Utils/MemoryTaggingSupport.cpp
M llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
M llvm/lib/Transforms/Utils/SCCPSolver.cpp
M llvm/lib/Transforms/Utils/SSAUpdater.cpp
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
M llvm/lib/Transforms/Utils/ValueMapper.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/lib/Transforms/Vectorize/VPRecipeBuilder.h
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/lib/Transforms/Vectorize/VPlanHCFGBuilder.cpp
M llvm/lib/Transforms/Vectorize/VPlanPatternMatch.h
M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
M llvm/test/Analysis/CostModel/RISCV/shuffle-insert_subvector.ll
A llvm/test/Analysis/Lint/crash_empty_iterator.ll
M llvm/test/Analysis/ValueTracking/known-non-zero.ll
A llvm/test/Analysis/ValueTracking/knownbits-select-from-cond.ll
M llvm/test/Assembler/debug-info.ll
M llvm/test/Bindings/llvm-c/echo.ll
M llvm/test/Bitcode/DIExpression-aggresult.ll
A llvm/test/Bitcode/dbg-record-roundtrip.ll
M llvm/test/Bitcode/upgrade-dbg-addr.ll
A llvm/test/CodeGen/AArch64/GlobalISel/combine-overflow.mir
A llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-vector-deinterleave2.ll
A llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-vector-interleave2.ll
M llvm/test/CodeGen/AArch64/GlobalISel/legalize-load-store.mir
M llvm/test/CodeGen/AArch64/GlobalISel/legalize-xtn.mir
M llvm/test/CodeGen/AArch64/GlobalISel/prelegalizer-combiner-addo-zero.mir
M llvm/test/CodeGen/AArch64/arm64-convert-v4f64.ll
M llvm/test/CodeGen/AArch64/avoid-zero-copy.mir
M llvm/test/CodeGen/AArch64/bitcast.ll
M llvm/test/CodeGen/AArch64/complex-deinterleaving-f16-add.ll
M llvm/test/CodeGen/AArch64/extbinopload.ll
A llvm/test/CodeGen/AArch64/extract-vector-elt.ll
M llvm/test/CodeGen/AArch64/fcmp.ll
M llvm/test/CodeGen/AArch64/fexplog.ll
M llvm/test/CodeGen/AArch64/fixed-vector-deinterleave.ll
M llvm/test/CodeGen/AArch64/fixed-vector-interleave.ll
M llvm/test/CodeGen/AArch64/fold-global-offsets.ll
M llvm/test/CodeGen/AArch64/fp-conversion-to-tbl.ll
M llvm/test/CodeGen/AArch64/fp-intrinsics.ll
M llvm/test/CodeGen/AArch64/fpow.ll
M llvm/test/CodeGen/AArch64/fptoi.ll
M llvm/test/CodeGen/AArch64/fsincos.ll
M llvm/test/CodeGen/AArch64/hadd-combine.ll
M llvm/test/CodeGen/AArch64/isinf.ll
M llvm/test/CodeGen/AArch64/itofp.ll
M llvm/test/CodeGen/AArch64/llvm.exp10.ll
M llvm/test/CodeGen/AArch64/neon-truncstore.ll
M llvm/test/CodeGen/AArch64/overflow.ll
M llvm/test/CodeGen/AArch64/sadd_sat_vec.ll
M llvm/test/CodeGen/AArch64/sext.ll
M llvm/test/CodeGen/AArch64/shuffle-tbl34.ll
M llvm/test/CodeGen/AArch64/shufflevector.ll
M llvm/test/CodeGen/AArch64/sme-call-streaming-compatible-to-normal-fn-wihout-sme-attr.ll
A llvm/test/CodeGen/AArch64/sme-machine-licm-vg.mir
A llvm/test/CodeGen/AArch64/sme-write-vg.ll
A llvm/test/CodeGen/AArch64/soft-float-abi.ll
M llvm/test/CodeGen/AArch64/ssub_sat_vec.ll
M llvm/test/CodeGen/AArch64/stack-probing-no-scratch-reg.mir
M llvm/test/CodeGen/AArch64/stack-probing-shrink-wrap.mir
M llvm/test/CodeGen/AArch64/stack-tagging-initializer-merge.ll
M llvm/test/CodeGen/AArch64/stack-tagging-stack-coloring.ll
M llvm/test/CodeGen/AArch64/stack-tagging-untag-placement.ll
M llvm/test/CodeGen/AArch64/tbl-loops.ll
M llvm/test/CodeGen/AArch64/trunc-to-tbl.ll
M llvm/test/CodeGen/AArch64/uadd_sat_vec.ll
M llvm/test/CodeGen/AArch64/usub_sat_vec.ll
M llvm/test/CodeGen/AArch64/vcvt-oversize.ll
M llvm/test/CodeGen/AArch64/vec-combine-compare-truncate-store.ll
M llvm/test/CodeGen/AArch64/vec3-loads-ext-trunc-stores.ll
M llvm/test/CodeGen/AArch64/vecreduce-add.ll
M llvm/test/CodeGen/AArch64/wrong-callee-save-size-after-livedebugvariables.mir
M llvm/test/CodeGen/AArch64/xor.ll
M llvm/test/CodeGen/AArch64/zext.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/saddsat.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/sdiv.i64.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/srem.i64.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/ssubsat.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/udiv.i64.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/urem.i64.ll
M llvm/test/CodeGen/AMDGPU/av_spill_cross_bb_usage.mir
M llvm/test/CodeGen/AMDGPU/bf16.ll
M llvm/test/CodeGen/AMDGPU/clamp.ll
M llvm/test/CodeGen/AMDGPU/convergence-tokens.ll
M llvm/test/CodeGen/AMDGPU/fcanonicalize-elimination.ll
M llvm/test/CodeGen/AMDGPU/fcanonicalize.f16.ll
M llvm/test/CodeGen/AMDGPU/fcanonicalize.ll
M llvm/test/CodeGen/AMDGPU/fneg-combines.f16.ll
M llvm/test/CodeGen/AMDGPU/fneg-combines.new.ll
M llvm/test/CodeGen/AMDGPU/fp-classify.ll
A llvm/test/CodeGen/AMDGPU/fptoi.i128.ll
M llvm/test/CodeGen/AMDGPU/fract-match.ll
M llvm/test/CodeGen/AMDGPU/global_atomic_optimizer_fp_rtn.ll
M llvm/test/CodeGen/AMDGPU/global_atomics_optimizer_fp_no_rtn.ll
A llvm/test/CodeGen/AMDGPU/itofp.i128.ll
M llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.sched.group.barrier.gfx12.ll
M llvm/test/CodeGen/AMDGPU/llvm.maxnum.f16.ll
M llvm/test/CodeGen/AMDGPU/llvm.minnum.f16.ll
M llvm/test/CodeGen/AMDGPU/mad-mix-lo.ll
A llvm/test/CodeGen/AMDGPU/pal-metadata-3.0-callable.ll
A llvm/test/CodeGen/AMDGPU/promote-alloca-scoring.ll
A llvm/test/CodeGen/AVR/bug-81911.ll
M llvm/test/CodeGen/BPF/addr-space-globals.ll
M llvm/test/CodeGen/BPF/addr-space-globals2.ll
M llvm/test/CodeGen/DirectX/ShaderFlags/double-extensions.ll
M llvm/test/CodeGen/DirectX/ShaderFlags/doubles.ll
A llvm/test/CodeGen/DirectX/any.ll
A llvm/test/CodeGen/DirectX/clamp-vec.ll
A llvm/test/CodeGen/DirectX/clamp.ll
A llvm/test/CodeGen/DirectX/exp-vec.ll
A llvm/test/CodeGen/DirectX/exp.ll
A llvm/test/CodeGen/DirectX/fmax.ll
A llvm/test/CodeGen/DirectX/fmin.ll
A llvm/test/CodeGen/DirectX/idot.ll
A llvm/test/CodeGen/DirectX/lerp.ll
M llvm/test/CodeGen/DirectX/lib_entry.ll
A llvm/test/CodeGen/DirectX/rcp.ll
A llvm/test/CodeGen/DirectX/rsqrt.ll
A llvm/test/CodeGen/DirectX/rsqrt_error.ll
A llvm/test/CodeGen/DirectX/smax.ll
A llvm/test/CodeGen/DirectX/smin.ll
M llvm/test/CodeGen/DirectX/umax.ll
A llvm/test/CodeGen/DirectX/umin.ll
M llvm/test/CodeGen/Generic/ForceStackAlign.ll
R llvm/test/CodeGen/Generic/builtin-hot.ll
A llvm/test/CodeGen/Generic/gc-lowering.ll
M llvm/test/CodeGen/Hexagon/addrmode-immop.mir
M llvm/test/CodeGen/Hexagon/livephysregs-regmask-clobber.mir
M llvm/test/CodeGen/LoongArch/lasx/intrinsic-permi.ll
R llvm/test/CodeGen/MIR/AArch64/parse-low-level-type-invalid4.mir
M llvm/test/CodeGen/MIR/AArch64/parse-low-level-type-invalid6.mir
M llvm/test/CodeGen/MIR/AMDGPU/stack-id-assert.mir
M llvm/test/CodeGen/Mips/avoid-zero-copy.mir
M llvm/test/CodeGen/Mips/msa/emergency-spill.mir
A llvm/test/CodeGen/NVPTX/atomics-sm70.ll
M llvm/test/CodeGen/NVPTX/atomics.ll
M llvm/test/CodeGen/NVPTX/b52037.ll
M llvm/test/CodeGen/NVPTX/dynamic_stackalloc.ll
A llvm/test/CodeGen/PowerPC/aix-codemodel-attr.ll
M llvm/test/CodeGen/PowerPC/ctrloop-constrained-fp.ll
M llvm/test/CodeGen/PowerPC/fp-classify.ll
M llvm/test/CodeGen/PowerPC/remove-copy-crunsetcrbit.mir
M llvm/test/CodeGen/PowerPC/rldimi.ll
M llvm/test/CodeGen/PowerPC/rlwimi.ll
M llvm/test/CodeGen/PowerPC/rlwinm.ll
M llvm/test/CodeGen/PowerPC/scalar-double-ldst.ll
M llvm/test/CodeGen/PowerPC/scalar-float-ldst.ll
A llvm/test/CodeGen/PowerPC/toc-data-large-array.ll
A llvm/test/CodeGen/PowerPC/toc-data-large-array2.ll
A llvm/test/CodeGen/PowerPC/toc-data-struct-array.ll
M llvm/test/CodeGen/RISCV/live-sp.mir
M llvm/test/CodeGen/RISCV/machine-combiner.ll
M llvm/test/CodeGen/RISCV/rvv/active_lane_mask.ll
M llvm/test/CodeGen/RISCV/rvv/addi-rvv-stack-object.mir
M llvm/test/CodeGen/RISCV/rvv/combine-store-extract-crash.ll
A llvm/test/CodeGen/RISCV/rvv/compressstore.ll
M llvm/test/CodeGen/RISCV/rvv/extract-subvector.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-compressstore-fp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-compressstore-int.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-fp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-shuffle-concat.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-strided-load-combine.ll
M llvm/test/CodeGen/RISCV/rvv/fpclamptosat_vec.ll
M llvm/test/CodeGen/RISCV/rvv/mgather-sdnode.ll
M llvm/test/CodeGen/RISCV/rvv/pr63596.ll
M llvm/test/CodeGen/RISCV/rvv/rvv-stack-align.mir
M llvm/test/CodeGen/RISCV/rvv/wrong-stack-offset-for-rvv-object.mir
M llvm/test/CodeGen/RISCV/stack-inst-compress.mir
M llvm/test/CodeGen/RISCV/umulo-128-legalisation-lowering.ll
M llvm/test/CodeGen/SPIRV/ComparePointers.ll
M llvm/test/CodeGen/SPIRV/capability-kernel.ll
A llvm/test/CodeGen/SPIRV/llvm-intrinsics/lifetime.ll
M llvm/test/CodeGen/SPIRV/pointers/bitcast-fix-load.ll
M llvm/test/CodeGen/SPIRV/pointers/bitcast-fix-store.ll
M llvm/test/CodeGen/SPIRV/pointers/getelementptr-addressspace.ll
M llvm/test/CodeGen/SPIRV/pointers/getelementptr-base-type.ll
M llvm/test/CodeGen/SPIRV/pointers/kernel-argument-pointer-addressspace.ll
M llvm/test/CodeGen/SPIRV/pointers/kernel-argument-pointer-type-deduction-no-bitcast-to-generic.ll
M llvm/test/CodeGen/SPIRV/pointers/kernel-argument-pointer-type.ll
M llvm/test/CodeGen/SPIRV/pointers/load-addressspace.ll
M llvm/test/CodeGen/SPIRV/pointers/store-operand-ptr-to-struct.ll
M llvm/test/CodeGen/SPIRV/pointers/struct-opaque-pointers.ll
M llvm/test/CodeGen/SPIRV/pointers/two-bitcast-or-param-users.ll
M llvm/test/CodeGen/SPIRV/pointers/two-subsequent-bitcasts.ll
A llvm/test/CodeGen/SPIRV/pointers/type-deduce-args-rev.ll
A llvm/test/CodeGen/SPIRV/pointers/type-deduce-args.ll
A llvm/test/CodeGen/SPIRV/pointers/type-deduce-by-call-rev.ll
A llvm/test/CodeGen/SPIRV/pointers/type-deduce-by-call.ll
A llvm/test/CodeGen/SPIRV/pointers/typeof-ptr-int.ll
M llvm/test/CodeGen/SPIRV/relationals.ll
M llvm/test/CodeGen/SPIRV/simple.ll
M llvm/test/CodeGen/SPIRV/transcoding/AtomicCompareExchangeExplicit_cl20.ll
M llvm/test/CodeGen/SPIRV/transcoding/BitReversePref.ll
M llvm/test/CodeGen/SPIRV/transcoding/BuildNDRange.ll
M llvm/test/CodeGen/SPIRV/transcoding/BuildNDRange_2.ll
M llvm/test/CodeGen/SPIRV/transcoding/ConvertPtr.ll
M llvm/test/CodeGen/SPIRV/transcoding/DecorationAlignment.ll
M llvm/test/CodeGen/SPIRV/transcoding/DecorationMaxByteOffset.ll
M llvm/test/CodeGen/SPIRV/transcoding/DivRem.ll
M llvm/test/CodeGen/SPIRV/transcoding/ExecutionMode_SPIR_to_SPIRV.ll
M llvm/test/CodeGen/SPIRV/transcoding/GlobalFunAnnotate.ll
M llvm/test/CodeGen/SPIRV/transcoding/OpenCL/atomic_cmpxchg.ll
M llvm/test/CodeGen/SPIRV/transcoding/OpenCL/atomic_legacy.ll
M llvm/test/CodeGen/SPIRV/transcoding/OpenCL/atomic_work_item_fence.ll
M llvm/test/CodeGen/SPIRV/transcoding/OpenCL/barrier.ll
M llvm/test/CodeGen/SPIRV/transcoding/OpenCL/sub_group_mask.ll
M llvm/test/CodeGen/SPIRV/transcoding/OpenCL/work_group_barrier.ll
M llvm/test/CodeGen/SPIRV/transcoding/atomic_flag.ll
M llvm/test/CodeGen/SPIRV/transcoding/atomic_load_store.ll
M llvm/test/CodeGen/SPIRV/transcoding/bitcast.ll
M llvm/test/CodeGen/SPIRV/transcoding/block_w_struct_return.ll
M llvm/test/CodeGen/SPIRV/transcoding/builtin_calls.ll
M llvm/test/CodeGen/SPIRV/transcoding/builtin_vars.ll
M llvm/test/CodeGen/SPIRV/transcoding/builtin_vars_arithmetics.ll
M llvm/test/CodeGen/SPIRV/transcoding/builtin_vars_opt.ll
M llvm/test/CodeGen/SPIRV/transcoding/check_ro_qualifier.ll
M llvm/test/CodeGen/SPIRV/transcoding/cl-types.ll
M llvm/test/CodeGen/SPIRV/transcoding/clk_event_t.ll
M llvm/test/CodeGen/SPIRV/transcoding/enqueue_kernel.ll
M llvm/test/CodeGen/SPIRV/transcoding/explicit-conversions.ll
M llvm/test/CodeGen/SPIRV/transcoding/extract_insert_value.ll
M llvm/test/CodeGen/SPIRV/transcoding/fadd.ll
M llvm/test/CodeGen/SPIRV/transcoding/fclamp.ll
M llvm/test/CodeGen/SPIRV/transcoding/fcmp.ll
M llvm/test/CodeGen/SPIRV/transcoding/fdiv.ll
M llvm/test/CodeGen/SPIRV/transcoding/fmod.ll
M llvm/test/CodeGen/SPIRV/transcoding/fmul.ll
M llvm/test/CodeGen/SPIRV/transcoding/fneg.ll
M llvm/test/CodeGen/SPIRV/transcoding/fp_contract_reassoc_fast_mode.ll
M llvm/test/CodeGen/SPIRV/transcoding/frem.ll
M llvm/test/CodeGen/SPIRV/transcoding/fsub.ll
M llvm/test/CodeGen/SPIRV/transcoding/get_image_num_mip_levels.ll
M llvm/test/CodeGen/SPIRV/transcoding/global_block.ll
M llvm/test/CodeGen/SPIRV/transcoding/group_ops.ll
M llvm/test/CodeGen/SPIRV/transcoding/isequal.ll
M llvm/test/CodeGen/SPIRV/transcoding/relationals_double.ll
M llvm/test/CodeGen/SPIRV/transcoding/relationals_float.ll
M llvm/test/CodeGen/SPIRV/transcoding/relationals_half.ll
M llvm/test/CodeGen/SystemZ/atomic-load-06.ll
A llvm/test/CodeGen/SystemZ/atomic-memops-fp128.ll
A llvm/test/CodeGen/SystemZ/atomic-memops.ll
M llvm/test/CodeGen/SystemZ/atomic-store-06.ll
M llvm/test/CodeGen/SystemZ/cond-move-04.mir
M llvm/test/CodeGen/SystemZ/cond-move-08.mir
M llvm/test/CodeGen/SystemZ/cond-move-regalloc-hints-02.mir
M llvm/test/CodeGen/SystemZ/cond-move-regalloc-hints.mir
M llvm/test/CodeGen/SystemZ/frame-28.mir
M llvm/test/CodeGen/SystemZ/int-usub-12.ll
M llvm/test/CodeGen/SystemZ/int-usub-13.ll
M llvm/test/CodeGen/WinCFGuard/cfguard-mingw.ll
M llvm/test/CodeGen/X86/apx/add.ll
A llvm/test/CodeGen/X86/apx/cfcmov.ll
M llvm/test/CodeGen/X86/apx/flags-copy-lowering.mir
M llvm/test/CodeGen/X86/apx/inc.ll
M llvm/test/CodeGen/X86/apx/shift-eflags.ll
M llvm/test/CodeGen/X86/apx/sub.ll
A llvm/test/CodeGen/X86/asm-dialect-module.ll
A llvm/test/CodeGen/X86/avgceils.ll
A llvm/test/CodeGen/X86/avgceilu.ll
A llvm/test/CodeGen/X86/avgfloors.ll
A llvm/test/CodeGen/X86/avgflooru.ll
M llvm/test/CodeGen/X86/bitcast-and-setcc-256.ll
M llvm/test/CodeGen/X86/cmov.ll
M llvm/test/CodeGen/X86/cmp.ll
M llvm/test/CodeGen/X86/combine-pavg.ll
M llvm/test/CodeGen/X86/combine-sra.ll
M llvm/test/CodeGen/X86/fast-regalloc-live-out-debug-values.mir
M llvm/test/CodeGen/X86/heap-alloc-markers.mir
M llvm/test/CodeGen/X86/instr-symbols.mir
M llvm/test/CodeGen/X86/isel-select-cmov.ll
M llvm/test/CodeGen/X86/statepoint-fixup-undef.mir
M llvm/test/CodeGen/X86/statepoint-vreg.mir
M llvm/test/CodeGen/X86/tls-align.ll
A llvm/test/CodeGen/X86/tls-desc.ll
A llvm/test/CodeGen/X86/vpdpwssd.ll
A llvm/test/DebugInfo/AArch64/ptrauth.ll
A llvm/test/DebugInfo/ARM/hardware-loop-phi-insertion.ll
M llvm/test/DebugInfo/MIR/X86/debug-loc-0.mir
M llvm/test/DebugInfo/MIR/X86/prolog-epilog-indirection.mir
M llvm/test/DebugInfo/X86/live-debug-vars-dse.mir
M llvm/test/DebugInfo/X86/prolog-params.mir
M llvm/test/DebugInfo/X86/tu-to-non-tu.ll
M llvm/test/DebugInfo/dpvalue-print-nocrash.ll
M llvm/test/DebugInfo/print-non-instruction-debug-info.ll
M llvm/test/Instrumentation/InstrProfiling/Coro/coro-split-musttail6.ll
M llvm/test/Instrumentation/InstrProfiling/Coro/coro-split-musttail7.ll
M llvm/test/Instrumentation/ThreadSanitizer/atomic.ll
M llvm/test/LTO/AArch64/link-branch-target-enforcement.ll
R llvm/test/LTO/AArch64/link-sign-return-address.ll
M llvm/test/Linker/link-arm-and-thumb.ll
M llvm/test/MC/AMDGPU/gfx11_asm_sop1.s
M llvm/test/MC/AMDGPU/gfx12_asm_sop1.s
M llvm/test/MC/AMDGPU/gfx12_asm_vbuffer_mubuf.s
M llvm/test/MC/AMDGPU/hsa-gfx12-v4.s
A llvm/test/MC/AMDGPU/mcexpr_amd.s
A llvm/test/MC/AMDGPU/mcexpr_amd_err.s
M llvm/test/MC/ARM/arm-branch-errors.s
M llvm/test/MC/ARM/arm11-hint-instr.s
M llvm/test/MC/ARM/cde-fp-vec.s
M llvm/test/MC/ARM/cde-vec-pred.s
M llvm/test/MC/ARM/cps.s
M llvm/test/MC/ARM/diagnostics.s
M llvm/test/MC/ARM/directive-arch_extension-crypto.s
M llvm/test/MC/ARM/invalid-fp-armv8.s
M llvm/test/MC/ARM/lsl-zero-errors.s
M llvm/test/MC/ARM/mve-load-store.s
M llvm/test/MC/ARM/mve-misc.s
M llvm/test/MC/ARM/neon-complex.s
M llvm/test/MC/ARM/no-mve.s
M llvm/test/MC/ARM/not-armv4.s
M llvm/test/MC/ARM/register-token-source-loc.s
M llvm/test/MC/ARM/tMOVSr.s
M llvm/test/MC/ARM/thumb-diagnostics.s
M llvm/test/MC/ARM/thumb-mov.s
M llvm/test/MC/ARM/thumb2-diagnostics.s
M llvm/test/MC/ARM/vfp4.s
M llvm/test/MC/BPF/insn-unit.s
M llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_sop1.txt
M llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_sop1.txt
A llvm/test/MC/Disassembler/X86/apx/cfcmov.txt
A llvm/test/MC/Disassembler/X86/apx/cmov.txt
M llvm/test/MC/Disassembler/X86/apx/evex-format.txt
M llvm/test/MC/Disassembler/X86/apx/reverse-encoding.txt
M llvm/test/MC/LoongArch/Macros/macros-li-bad.s
A llvm/test/MC/RISCV/xsifive-invalid.s
A llvm/test/MC/RISCV/xsifive-valid.s
A llvm/test/MC/X86/apx/cfcmov-att.s
A llvm/test/MC/X86/apx/cfcmov-intel.s
A llvm/test/MC/X86/apx/cmov-att.s
A llvm/test/MC/X86/apx/cmov-intel.s
M llvm/test/MC/X86/apx/evex-format-att.s
M llvm/test/MC/X86/apx/evex-format-intel.s
M llvm/test/TableGen/MacroFusion.td
M llvm/test/TableGen/x86-fold-tables.inc
M llvm/test/ThinLTO/X86/Inputs/devirt_single_hybrid_bar.ll
M llvm/test/ThinLTO/X86/devirt_after_filtering_unreachable.ll
M llvm/test/ThinLTO/X86/devirt_external_comdat_same_guid.ll
M llvm/test/ThinLTO/X86/devirt_local_same_guid.ll
M llvm/test/ThinLTO/X86/lower_type_test_phi.ll
M llvm/test/ThinLTO/X86/nodevirt-nonpromoted-typeid.ll
M llvm/test/ThinLTO/X86/type_test_noindircall.ll
M llvm/test/Transforms/Attributor/nofpclass-implied-by-fcmp.ll
A llvm/test/Transforms/CodeGenPrepare/AArch64/fpclass-test.ll
A llvm/test/Transforms/CodeGenPrepare/RISCV/fpclass-test.ll
A llvm/test/Transforms/CodeGenPrepare/X86/fpclass-test.ll
M llvm/test/Transforms/ConstantHoisting/AArch64/large-immediate.ll
M llvm/test/Transforms/Coroutines/coro-split-musttail6.ll
M llvm/test/Transforms/Coroutines/coro-split-musttail7.ll
M llvm/test/Transforms/DFAJumpThreading/dfa-unfold-select.ll
A llvm/test/Transforms/DFAJumpThreading/unpredictable-heuristic.ll
M llvm/test/Transforms/ExpandLargeFpConvert/X86/expand-large-fp-convert-si129tofp.ll
M llvm/test/Transforms/ExpandLargeFpConvert/X86/expand-large-fp-convert-ui129tofp.ll
M llvm/test/Transforms/HotColdSplit/outline-disjoint-diamonds.ll
M llvm/test/Transforms/IRCE/compound-loop-bound.ll
M llvm/test/Transforms/IROutliner/outlining-no-return-functions.ll
M llvm/test/Transforms/IndVarSimplify/iv-widen-elim-ext.ll
M llvm/test/Transforms/InstCombine/add-sitofp.ll
M llvm/test/Transforms/InstCombine/assume.ll
M llvm/test/Transforms/InstCombine/binop-itofp.ll
M llvm/test/Transforms/InstCombine/clamp-to-minmax.ll
M llvm/test/Transforms/InstCombine/copysign-fneg-fabs.ll
A llvm/test/Transforms/InstCombine/extract-select-agg.ll
M llvm/test/Transforms/InstCombine/fcmp.ll
M llvm/test/Transforms/InstCombine/fold-select-fmul-if-zero.ll
M llvm/test/Transforms/InstCombine/fpcast.ll
M llvm/test/Transforms/InstCombine/icmp-and-lowbit-mask.ll
A llvm/test/Transforms/InstCombine/icmp-select-implies-common-op.ll
M llvm/test/Transforms/InstCombine/intrinsic-select.ll
M llvm/test/Transforms/InstCombine/minmax-fold.ll
M llvm/test/Transforms/InstCombine/minmax-fp.ll
M llvm/test/Transforms/InstCombine/mul.ll
M llvm/test/Transforms/InstCombine/not.ll
M llvm/test/Transforms/InstCombine/powi.ll
M llvm/test/Transforms/InstCombine/pr27236.ll
M llvm/test/Transforms/InstCombine/pr63791.ll
M llvm/test/Transforms/InstCombine/select-binop-foldable-floating-point.ll
M llvm/test/Transforms/InstCombine/select.ll
M llvm/test/Transforms/InstCombine/select_meta.ll
A llvm/test/Transforms/InstCombine/shift-cttz-ctlz.ll
M llvm/test/Transforms/InstCombine/shift.ll
M llvm/test/Transforms/InstCombine/sub-xor-cmp.ll
M llvm/test/Transforms/InstCombine/zext.ll
M llvm/test/Transforms/InstSimplify/ConstProp/icmp-global.ll
M llvm/test/Transforms/InstSimplify/floating-point-arithmetic.ll
M llvm/test/Transforms/LICM/expr-reassociate-int.ll
M llvm/test/Transforms/LoopRotate/dbgvalue.ll
M llvm/test/Transforms/LoopVectorize/ARM/mve-selectandorcost.ll
M llvm/test/Transforms/LoopVectorize/X86/float-induction-x86.ll
M llvm/test/Transforms/LoopVectorize/X86/pr81872.ll
M llvm/test/Transforms/LoopVectorize/dbg-outer-loop-vect.ll
M llvm/test/Transforms/LoopVectorize/float-induction.ll
M llvm/test/Transforms/LoopVectorize/reduction-inloop-cond.ll
M llvm/test/Transforms/LoopVectorize/reduction-inloop-pred.ll
M llvm/test/Transforms/LoopVectorize/reduction-inloop.ll
M llvm/test/Transforms/LoopVectorize/reduction.ll
M llvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused-lifetime-ends.ll
M llvm/test/Transforms/NewGVN/2007-07-25-DominatedLoop.ll
M llvm/test/Transforms/NewGVN/2007-07-25-InfiniteLoop.ll
M llvm/test/Transforms/NewGVN/2007-07-25-Loop.ll
M llvm/test/Transforms/NewGVN/2007-07-25-NestedLoop.ll
M llvm/test/Transforms/NewGVN/2007-07-25-SinglePredecessor.ll
M llvm/test/Transforms/NewGVN/2007-07-26-NonRedundant.ll
M llvm/test/Transforms/NewGVN/2007-07-26-PhiErasure.ll
M llvm/test/Transforms/NewGVN/2007-07-30-PredIDom.ll
M llvm/test/Transforms/NewGVN/2007-07-31-RedundantPhi.ll
M llvm/test/Transforms/NewGVN/2008-02-13-NewPHI.ll
M llvm/test/Transforms/NewGVN/2008-07-02-Unreachable.ll
M llvm/test/Transforms/NewGVN/2008-12-09-SelfRemove.ll
M llvm/test/Transforms/NewGVN/2008-12-12-RLE-Crash.ll
M llvm/test/Transforms/NewGVN/2008-12-14-rle-reanalyze.ll
M llvm/test/Transforms/NewGVN/2008-12-15-CacheVisited.ll
M llvm/test/Transforms/NewGVN/2009-01-21-SortInvalidation.ll
M llvm/test/Transforms/NewGVN/2009-01-22-SortInvalidation.ll
M llvm/test/Transforms/NewGVN/2009-03-10-PREOnVoid.ll
M llvm/test/Transforms/NewGVN/2009-07-13-MemDepSortFail.ll
M llvm/test/Transforms/NewGVN/2009-11-12-MemDepMallocBitCast.ll
M llvm/test/Transforms/NewGVN/2010-03-31-RedundantPHIs.ll
M llvm/test/Transforms/NewGVN/2010-05-08-OneBit.ll
M llvm/test/Transforms/NewGVN/2010-11-13-Simplify.ll
M llvm/test/Transforms/NewGVN/2011-04-27-phioperands.ll
M llvm/test/Transforms/NewGVN/2011-07-07-MatchIntrinsicExtract.ll
M llvm/test/Transforms/NewGVN/2011-09-07-TypeIdFor.ll
M llvm/test/Transforms/NewGVN/2012-05-22-PreCrash.ll
M llvm/test/Transforms/NewGVN/2016-08-30-MaskedScatterGather-xfail-inseltpoison.ll
M llvm/test/Transforms/NewGVN/MemdepMiscompile.ll
M llvm/test/Transforms/NewGVN/addrspacecast.ll
M llvm/test/Transforms/NewGVN/basic-cyclic-opt.ll
M llvm/test/Transforms/NewGVN/basic-undef-test.ll
M llvm/test/Transforms/NewGVN/br-identical.ll
M llvm/test/Transforms/NewGVN/calloc-load-removal.ll
M llvm/test/Transforms/NewGVN/calls-readonly.ll
M llvm/test/Transforms/NewGVN/completeness.ll
M llvm/test/Transforms/NewGVN/cond_br.ll
M llvm/test/Transforms/NewGVN/condprop.ll
M llvm/test/Transforms/NewGVN/crash-no-aa.ll
M llvm/test/Transforms/NewGVN/crash-usecounts.ll
M llvm/test/Transforms/NewGVN/crash.ll
M llvm/test/Transforms/NewGVN/cyclic-phi-handling.ll
M llvm/test/Transforms/NewGVN/dbg-redundant-load.ll
M llvm/test/Transforms/NewGVN/edge.ll
M llvm/test/Transforms/NewGVN/eliminate-callsite-inline.ll
M llvm/test/Transforms/NewGVN/equivalent-phi.ll
M llvm/test/Transforms/NewGVN/fold-const-expr.ll
M llvm/test/Transforms/NewGVN/fpmath.ll
M llvm/test/Transforms/NewGVN/funclet.ll
M llvm/test/Transforms/NewGVN/int_sideeffect.ll
M llvm/test/Transforms/NewGVN/invariant.group.ll
M llvm/test/Transforms/NewGVN/invariant.start.ll
M llvm/test/Transforms/NewGVN/lifetime-simple.ll
M llvm/test/Transforms/NewGVN/load-constant-mem.ll
M llvm/test/Transforms/NewGVN/load-from-unreachable-predecessor.ll
M llvm/test/Transforms/NewGVN/loadforward.ll
M llvm/test/Transforms/NewGVN/malloc-load-removal.ll
M llvm/test/Transforms/NewGVN/memory-handling.ll
M llvm/test/Transforms/NewGVN/metadata-nonnull.ll
M llvm/test/Transforms/NewGVN/metadata-simplify.ll
M llvm/test/Transforms/NewGVN/noalias.ll
M llvm/test/Transforms/NewGVN/nomemlocation.ll
M llvm/test/Transforms/NewGVN/non-integral-pointers.ll
M llvm/test/Transforms/NewGVN/null-aliases-nothing.ll
M llvm/test/Transforms/NewGVN/phi-edge-handling.ll
M llvm/test/Transforms/NewGVN/phi-of-ops-simplified-to-existing-value-then-changes-again.ll
M llvm/test/Transforms/NewGVN/phi-translate-partial-alias.ll
M llvm/test/Transforms/NewGVN/pr17732.ll
M llvm/test/Transforms/NewGVN/pr17852.ll
M llvm/test/Transforms/NewGVN/pr24397.ll
M llvm/test/Transforms/NewGVN/pr24426.ll
M llvm/test/Transforms/NewGVN/pr25440.ll
M llvm/test/Transforms/NewGVN/pr28562.ll
M llvm/test/Transforms/NewGVN/pr31472.ll
M llvm/test/Transforms/NewGVN/pr31483.ll
M llvm/test/Transforms/NewGVN/pr31491.ll
M llvm/test/Transforms/NewGVN/pr31501.ll
M llvm/test/Transforms/NewGVN/pr31573.ll
M llvm/test/Transforms/NewGVN/pr31594.ll
M llvm/test/Transforms/NewGVN/pr31613.ll
M llvm/test/Transforms/NewGVN/pr31682.ll
M llvm/test/Transforms/NewGVN/pr31758.ll
M llvm/test/Transforms/NewGVN/pr32607.ll
M llvm/test/Transforms/NewGVN/pr32836.ll
M llvm/test/Transforms/NewGVN/pr32838.ll
M llvm/test/Transforms/NewGVN/pr32845.ll
M llvm/test/Transforms/NewGVN/pr32852.ll
M llvm/test/Transforms/NewGVN/pr32897.ll
M llvm/test/Transforms/NewGVN/pr32934.ll
M llvm/test/Transforms/NewGVN/pr32945.ll
M llvm/test/Transforms/NewGVN/pr32952.ll
M llvm/test/Transforms/NewGVN/pr33014.ll
M llvm/test/Transforms/NewGVN/pr33086.ll
M llvm/test/Transforms/NewGVN/pr33116.ll
M llvm/test/Transforms/NewGVN/pr33187.ll
M llvm/test/Transforms/NewGVN/pr33196.ll
M llvm/test/Transforms/NewGVN/pr33204.ll
M llvm/test/Transforms/NewGVN/pr33305.ll
M llvm/test/Transforms/NewGVN/pr33367.ll
M llvm/test/Transforms/NewGVN/pr34452.ll
M llvm/test/Transforms/NewGVN/pr42422-phi-of-ops.ll
M llvm/test/Transforms/NewGVN/pr43441.ll
M llvm/test/Transforms/NewGVN/pre-compare.ll
M llvm/test/Transforms/NewGVN/preserve-metadata-for-predicate-replacements.ll
M llvm/test/Transforms/NewGVN/readattrs.ll
M llvm/test/Transforms/NewGVN/rle-nonlocal.ll
M llvm/test/Transforms/NewGVN/rle.ll
M llvm/test/Transforms/NewGVN/simp-to-self.ll
M llvm/test/Transforms/NewGVN/stale-loop-info.ll
M llvm/test/Transforms/NewGVN/tbaa.ll
M llvm/test/Transforms/NewGVN/unreachable_block_infinite_loop.ll
M llvm/test/Transforms/NewGVN/verify-memoryphi.ll
M llvm/test/Transforms/NewGVN/volatile-nonvolatile.ll
M llvm/test/Transforms/PhaseOrdering/AArch64/hoisting-sinking-required-for-vectorization.ll
M llvm/test/Transforms/SCCP/add-nuw-nsw-flags.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/ext-trunc.ll
A llvm/test/Transforms/SLPVectorizer/AArch64/gather-buildvector-with-minbitwidth-user.ll
A llvm/test/Transforms/SLPVectorizer/AArch64/gather-with-minbith-user.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/getelementptr2.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/horizontal.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/reduce-add-i64.ll
A llvm/test/Transforms/SLPVectorizer/AArch64/slp-frem.ll
A llvm/test/Transforms/SLPVectorizer/AArch64/user-node-not-in-bitwidths.ll
M llvm/test/Transforms/SLPVectorizer/RISCV/complex-loads.ll
M llvm/test/Transforms/SLPVectorizer/RISCV/reductions.ll
M llvm/test/Transforms/SLPVectorizer/X86/PR35777.ll
M llvm/test/Transforms/SLPVectorizer/X86/crash_netbsd_decompress.ll
M llvm/test/Transforms/SLPVectorizer/X86/int-bitcast-minbitwidth.ll
A llvm/test/Transforms/SLPVectorizer/X86/minbitwidth-icmp-to-trunc.ll
M llvm/test/Transforms/SLPVectorizer/X86/minbitwidth-multiuse-with-insertelement.ll
M llvm/test/Transforms/SLPVectorizer/X86/minbitwidth-transformed-operand.ll
A llvm/test/Transforms/SLPVectorizer/X86/minbitwidth-user-not-min.ll
M llvm/test/Transforms/SLPVectorizer/X86/minimum-sizes.ll
M llvm/test/Transforms/SLPVectorizer/X86/phi-undef-input.ll
M llvm/test/Transforms/SLPVectorizer/X86/reorder-possible-strided-node.ll
M llvm/test/Transforms/SLPVectorizer/X86/reorder_phi.ll
M llvm/test/Transforms/SLPVectorizer/X86/resched.ll
M llvm/test/Transforms/SLPVectorizer/X86/reused-reductions-with-minbitwidth.ll
A llvm/test/Transforms/SLPVectorizer/X86/same-scalar-in-same-phi-extract.ll
M llvm/test/Transforms/SLPVectorizer/X86/store-insertelement-minbitwidth.ll
M llvm/test/Transforms/SLPVectorizer/X86/vect_copyable_in_binops.ll
M llvm/test/Transforms/SLPVectorizer/alt-cmp-vectorize.ll
A llvm/test/Verifier/intrinsic-cmp.ll
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/generated_funcs.ll.generated.expected
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/generated_funcs.ll.generated.globals.expected
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/generated_funcs.ll.nogenerated.expected
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/generated_funcs.ll.nogenerated.globals.expected
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/generated_funcs_prefix_reuse.ll.generated.expected
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/generated_funcs_prefix_reuse.ll.generated.globals.expected
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/generated_funcs_prefix_reuse.ll.nogenerated.expected
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/generated_funcs_prefix_reuse.ll.nogenerated.globals.expected
R llvm/test/tools/dsymutil/ARM/obfuscated.test
R llvm/test/tools/dsymutil/Inputs/obfuscated.2.arm64
R llvm/test/tools/dsymutil/Inputs/obfuscated.2.map
R llvm/test/tools/dsymutil/Inputs/obfuscated.arm64
R llvm/test/tools/dsymutil/Inputs/obfuscated.map
M llvm/test/tools/dsymutil/cmdline.test
A llvm/test/tools/llvm-ar/coff-symtab.test
A llvm/test/tools/llvm-ar/no-symtab.yaml
M llvm/test/tools/llvm-debuginfo-analyzer/DWARF/dw-at-specification.test
M llvm/test/tools/llvm-debuginfo-analyzer/DWARF/pr-57040-ignored-DW_FORM_implicit_const.test
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/01-wasm-compare-logical-elements.test
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/01-wasm-print-basic-details.test
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/01-wasm-select-logical-elements.test
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/02-wasm-logical-lines.test
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/03-wasm-incorrect-lexical-scope-typedef.test
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/04-wasm-missing-nested-enumerators.test
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/05-wasm-incorrect-lexical-scope-variable.test
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/06-wasm-full-logical-view.test
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/Inputs/definitions.h
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/Inputs/hello-world-clang.s
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/Inputs/hello-world.cpp
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/Inputs/pr-43860-clang.s
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/Inputs/pr-43860.cpp
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/Inputs/pr-44884-clang.s
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/Inputs/pr-44884.cpp
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/Inputs/pr-46466-clang.s
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/Inputs/pr-46466.cpp
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/Inputs/test-clang.s
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/Inputs/test.cpp
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/README.txt
M llvm/test/tools/llvm-mca/ARM/cortex-a57-basic-instructions.s
M llvm/test/tools/llvm-mca/RISCV/SiFive7/gpr-bypass.s
M llvm/test/tools/llvm-mca/RISCV/SiFive7/vector-integer-arithmetic.s
M llvm/test/tools/llvm-objcopy/ELF/Inputs/compress-debug-sections.yaml
M llvm/test/tools/llvm-objcopy/ELF/compress-debug-sections-zlib.test
M llvm/test/tools/llvm-objcopy/ELF/compress-debug-sections-zstd.test
A llvm/test/tools/llvm-objcopy/ELF/decompress-sections.test
A llvm/test/tools/llvm-objdump/MachO/AArch64/Inputs/rel-method-lists-arm64.dylib
A llvm/test/tools/llvm-objdump/MachO/AArch64/Inputs/rel-method-lists-arm64_32.dylib
A llvm/test/tools/llvm-objdump/MachO/AArch64/macho-relative-method-lists.test
A llvm/test/tools/llvm-profgen/Inputs/coff-profile.exe
A llvm/test/tools/llvm-profgen/Inputs/coff-profile.perfscript
A llvm/test/tools/llvm-profgen/coff-profile.test
M llvm/test/tools/llvm-readobj/ELF/decompress-zlib-unsupported.test
M llvm/test/tools/llvm-readobj/ELF/decompress-zlib.test
M llvm/test/tools/llvm-readobj/ELF/decompress-zstd-unsupported.test
M llvm/test/tools/llvm-readobj/ELF/hex-dump-multi.s
M llvm/test/tools/llvm-readobj/ELF/hex-dump.test
M llvm/test/tools/llvm-readobj/ELF/machine-specific-section-types.test
M llvm/test/tools/llvm-readobj/ELF/string-dump-multi.s
M llvm/test/tools/llvm-readobj/ELF/string-dump.test
M llvm/test/tools/llvm-reduce/remove-dp-values.ll
M llvm/tools/dsymutil/CMakeLists.txt
M llvm/tools/dsymutil/DwarfLinkerForBinary.cpp
M llvm/tools/dsymutil/LinkUtils.h
M llvm/tools/dsymutil/MachOUtils.cpp
M llvm/tools/dsymutil/MachOUtils.h
M llvm/tools/dsymutil/Options.td
R llvm/tools/dsymutil/SymbolMap.cpp
R llvm/tools/dsymutil/SymbolMap.h
M llvm/tools/dsymutil/dsymutil.cpp
M llvm/tools/llvm-ar/llvm-ar.cpp
M llvm/tools/llvm-as/llvm-as.cpp
M llvm/tools/llvm-c-test/debuginfo.c
M llvm/tools/llvm-c-test/echo.cpp
M llvm/tools/llvm-c-test/llvm-c-test.h
M llvm/tools/llvm-c-test/main.c
M llvm/tools/llvm-debuginfo-analyzer/README.txt
M llvm/tools/llvm-dis/llvm-dis.cpp
M llvm/tools/llvm-dwarfutil/DebugInfoLinker.cpp
M llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
M llvm/tools/llvm-exegesis/lib/SubprocessMemory.cpp
M llvm/tools/llvm-exegesis/lib/SubprocessMemory.h
M llvm/tools/llvm-exegesis/llvm-exegesis.cpp
M llvm/tools/llvm-objcopy/ObjcopyOptions.cpp
M llvm/tools/llvm-objdump/MachODump.cpp
M llvm/tools/llvm-profgen/PerfReader.cpp
M llvm/tools/llvm-profgen/ProfiledBinary.cpp
M llvm/tools/llvm-profgen/ProfiledBinary.h
M llvm/tools/llvm-readobj/ObjDumper.cpp
M llvm/tools/llvm-reduce/deltas/ReduceDbgRecords.cpp
M llvm/tools/llvm-reduce/deltas/ReduceDbgRecords.h
M llvm/tools/llvm-shlib/CMakeLists.txt
M llvm/tools/verify-uselistorder/verify-uselistorder.cpp
M llvm/unittests/ADT/APIntTest.cpp
M llvm/unittests/CodeGen/LowLevelTypeTest.cpp
M llvm/unittests/CodeGen/SelectionDAGPatternMatchTest.cpp
M llvm/unittests/DebugInfo/LogicalView/CMakeLists.txt
A llvm/unittests/DebugInfo/LogicalView/DWARFReaderTest.cpp
R llvm/unittests/DebugInfo/LogicalView/ELFReaderTest.cpp
M llvm/unittests/ExecutionEngine/Orc/CMakeLists.txt
A llvm/unittests/ExecutionEngine/Orc/MachOPlatformTest.cpp
M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
M llvm/unittests/IR/BasicBlockDbgInfoTest.cpp
M llvm/unittests/IR/DebugInfoTest.cpp
M llvm/unittests/IR/IRBuilderTest.cpp
M llvm/unittests/IR/MetadataTest.cpp
M llvm/unittests/IR/ValueTest.cpp
M llvm/unittests/Support/KnownBitsTest.cpp
M llvm/unittests/Support/RISCVISAInfoTest.cpp
M llvm/unittests/Support/TimeProfilerTest.cpp
M llvm/unittests/Support/VirtualFileSystemTest.cpp
M llvm/unittests/TargetParser/TargetParserTest.cpp
M llvm/unittests/Transforms/Utils/CallPromotionUtilsTest.cpp
M llvm/unittests/Transforms/Utils/DebugifyTest.cpp
M llvm/unittests/Transforms/Utils/LocalTest.cpp
M llvm/unittests/tools/llvm-exegesis/X86/SubprocessMemoryTest.cpp
M llvm/utils/TableGen/AsmMatcherEmitter.cpp
M llvm/utils/TableGen/DecoderEmitter.cpp
M llvm/utils/TableGen/MacroFusionPredicatorEmitter.cpp
M llvm/utils/TableGen/X86ManualFoldTables.def
M llvm/utils/TableGen/X86RecognizableInstr.cpp
M llvm/utils/TableGen/X86RecognizableInstr.h
M llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/bugprone/BUILD.gn
M llvm/utils/gn/secondary/clang/include/clang/Basic/BUILD.gn
M llvm/utils/gn/secondary/clang/lib/Analysis/FlowSensitive/BUILD.gn
M llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn
M llvm/utils/gn/secondary/clang/lib/InstallAPI/BUILD.gn
M llvm/utils/gn/secondary/clang/tools/clang-installapi/BUILD.gn
M llvm/utils/gn/secondary/compiler-rt/lib/scudo/standalone/BUILD.gn
M llvm/utils/gn/secondary/compiler-rt/lib/scudo/standalone/tests/BUILD.gn
M llvm/utils/gn/secondary/libcxx/include/BUILD.gn
M llvm/utils/gn/secondary/lldb/source/Host/BUILD.gn
M llvm/utils/gn/secondary/lldb/source/Plugins/Language/CPlusPlus/BUILD.gn
M llvm/utils/gn/secondary/llvm/lib/DebugInfo/LogicalView/BUILD.gn
M llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
M llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/MCTargetDesc/BUILD.gn
M llvm/utils/gn/secondary/llvm/tools/dsymutil/BUILD.gn
M llvm/utils/gn/secondary/llvm/unittests/DebugInfo/LogicalView/BUILD.gn
M llvm/utils/gn/secondary/llvm/unittests/ExecutionEngine/Orc/BUILD.gn
M llvm/utils/release/export.sh
M mlir/include/mlir-c/Dialect/LLVM.h
M mlir/include/mlir/Dialect/Affine/Analysis/LoopAnalysis.h
M mlir/include/mlir/Dialect/Affine/IR/AffineValueMap.h
M mlir/include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.h
M mlir/include/mlir/Dialect/Bufferization/Transforms/Passes.h
M mlir/include/mlir/Dialect/Bufferization/Transforms/Passes.td
M mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
M mlir/include/mlir/Dialect/EmitC/IR/EmitCTypes.td
M mlir/include/mlir/Dialect/LLVMIR/CMakeLists.txt
M mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td
M mlir/include/mlir/Dialect/LLVMIR/LLVMAttrs.h
M mlir/include/mlir/Dialect/LLVMIR/LLVMInterfaces.td
M mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
M mlir/include/mlir/Dialect/LLVMIR/ROCDLOps.td
M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
M mlir/include/mlir/Dialect/OpenMP/OpenMPOpsInterfaces.td
M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
M mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td
M mlir/include/mlir/Dialect/Vector/Utils/VectorUtils.h
M mlir/include/mlir/ExecutionEngine/SparseTensor/File.h
M mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h
M mlir/include/mlir/IR/PatternMatch.h
M mlir/include/mlir/Support/ToolUtilities.h
M mlir/include/mlir/Target/Cpp/CppEmitter.h
M mlir/include/mlir/Tools/mlir-opt/MlirOptMain.h
M mlir/include/mlir/Transforms/Inliner.h
M mlir/include/mlir/Transforms/Mem2Reg.h
M mlir/include/mlir/Transforms/Passes.td
M mlir/include/mlir/Transforms/SROA.h
M mlir/lib/CAPI/Dialect/LLVM.cpp
M mlir/lib/Conversion/ComplexToStandard/ComplexToStandard.cpp
M mlir/lib/Dialect/Affine/Analysis/LoopAnalysis.cpp
M mlir/lib/Dialect/Affine/IR/AffineOps.cpp
M mlir/lib/Dialect/Affine/IR/AffineValueMap.cpp
M mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td
M mlir/lib/Dialect/Arith/IR/ArithDialect.cpp
M mlir/lib/Dialect/Arith/IR/ArithOps.cpp
M mlir/lib/Dialect/ArmNeon/Transforms/LowerContractionToSMMLAPattern.cpp
M mlir/lib/Dialect/Bufferization/IR/BufferizableOpInterface.cpp
M mlir/lib/Dialect/Bufferization/IR/BufferizationOps.cpp
M mlir/lib/Dialect/Bufferization/Transforms/BufferResultsToOutParams.cpp
M mlir/lib/Dialect/Bufferization/Transforms/Bufferize.cpp
M mlir/lib/Dialect/ControlFlow/IR/ControlFlowOps.cpp
M mlir/lib/Dialect/EmitC/IR/EmitC.cpp
M mlir/lib/Dialect/Func/IR/FuncOps.cpp
M mlir/lib/Dialect/GPU/IR/GPUDialect.cpp
M mlir/lib/Dialect/LLVMIR/IR/LLVMAttrs.cpp
M mlir/lib/Dialect/LLVMIR/IR/LLVMMemorySlot.cpp
M mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp
M mlir/lib/Dialect/Linalg/IR/LinalgDialect.cpp
M mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
M mlir/lib/Dialect/MLProgram/IR/CMakeLists.txt
M mlir/lib/Dialect/MLProgram/IR/MLProgramDialect.cpp
M mlir/lib/Dialect/Math/Transforms/ExpandPatterns.cpp
M mlir/lib/Dialect/Math/Transforms/PolynomialApproximation.cpp
M mlir/lib/Dialect/MemRef/IR/MemRefDialect.cpp
M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
M mlir/lib/Dialect/SCF/IR/SCF.cpp
M mlir/lib/Dialect/Shape/IR/Shape.cpp
M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/BufferizableOpInterfaceImpl.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/SparseReinterpretMap.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorCodegen.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/StageSparseOperations.cpp
M mlir/lib/Dialect/Tensor/IR/TensorDialect.cpp
M mlir/lib/Dialect/Tosa/CMakeLists.txt
M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
M mlir/lib/Dialect/Transform/IR/TransformInterfaces.cpp
M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
M mlir/lib/Dialect/Vector/Utils/VectorUtils.cpp
M mlir/lib/Dialect/XeGPU/IR/XeGPUOps.cpp
M mlir/lib/ExecutionEngine/CudaRuntimeWrappers.cpp
M mlir/lib/ExecutionEngine/Float16bits.cpp
M mlir/lib/ExecutionEngine/SparseTensorRuntime.cpp
M mlir/lib/IR/AffineExpr.cpp
M mlir/lib/Interfaces/ViewLikeInterface.cpp
M mlir/lib/Support/ToolUtilities.cpp
M mlir/lib/Target/Cpp/CMakeLists.txt
M mlir/lib/Target/Cpp/TranslateRegistration.cpp
M mlir/lib/Target/Cpp/TranslateToCpp.cpp
M mlir/lib/Target/LLVMIR/DebugImporter.cpp
M mlir/lib/Target/LLVMIR/DebugImporter.h
M mlir/lib/Target/LLVMIR/DebugTranslation.cpp
M mlir/lib/Target/LLVMIR/DebugTranslation.h
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M mlir/lib/Tools/lsp-server-support/Transport.cpp
M mlir/lib/Tools/mlir-lsp-server/MLIRServer.cpp
M mlir/lib/Tools/mlir-opt/MlirOptMain.cpp
M mlir/lib/Tools/mlir-pdll-lsp-server/PDLLServer.cpp
M mlir/lib/Tools/mlir-translate/MlirTranslateMain.cpp
M mlir/lib/Transforms/InlinerPass.cpp
M mlir/lib/Transforms/Mem2Reg.cpp
M mlir/lib/Transforms/SROA.cpp
M mlir/lib/Transforms/Utils/Inliner.cpp
M mlir/test/CAPI/llvm.c
M mlir/test/Conversion/ComplexToStandard/convert-to-standard.mlir
M mlir/test/Conversion/NVVMToLLVM/nvvm-to-llvm.mlir
M mlir/test/Conversion/TensorToLinalg/tensor-ops-to-linalg.mlir
M mlir/test/Dialect/Affine/access-analysis.mlir
M mlir/test/Dialect/Arith/canonicalize.mlir
M mlir/test/Dialect/ArmNeon/lower-to-arm-neon.mlir
M mlir/test/Dialect/Bufferization/invalid.mlir
M mlir/test/Dialect/EmitC/invalid_ops.mlir
M mlir/test/Dialect/LLVMIR/mem2reg-intrinsics.mlir
M mlir/test/Dialect/LLVMIR/nvvm.mlir
M mlir/test/Dialect/LLVMIR/sroa-intrinsics.mlir
M mlir/test/Dialect/LLVMIR/sroa.mlir
M mlir/test/Dialect/Linalg/drop-unit-extent-dims.mlir
M mlir/test/Dialect/Linalg/generalize-pad-tensor.mlir
M mlir/test/Dialect/Linalg/transform-op-matmul-to-outerproduct.mlir
M mlir/test/Dialect/Linalg/vectorization-unsupported.mlir
A mlir/test/Dialect/Linalg/vectorize-conv-masked-and-scalable.mlir
A mlir/test/Dialect/MLProgram/inlining.mlir
M mlir/test/Dialect/Math/expand-math.mlir
M mlir/test/Dialect/Math/polynomial-approximation.mlir
M mlir/test/Dialect/SparseTensor/invalid.mlir
M mlir/test/Dialect/SparseTensor/roundtrip.mlir
M mlir/test/Dialect/Vector/canonicalize.mlir
M mlir/test/IR/custom-print-parse.mlir
M mlir/test/IR/invalid-custom-print-parse.mlir
M mlir/test/Integration/Dialect/Complex/CPU/correctness.mlir
M mlir/test/Integration/Dialect/Linalg/CPU/mmt4d.mlir
M mlir/test/Integration/Dialect/Linalg/CPU/test-matmul-masked-vec.mlir
M mlir/test/Integration/Dialect/Memref/reinterpret-cast-runtime-verification.mlir
M mlir/test/Integration/Dialect/Memref/subview-runtime-verification.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/dual_sparse_conv_2d.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/reshape_dot.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_block_matmul.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_2d.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conversion.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conversion_block.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conversion_dyn.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conversion_element.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conversion_ptr.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conversion_sparse2dense.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conversion_sparse2sparse.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_coo_test.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_dilated_conv_2d_nhwc_hwcf.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_dot.mlir
A mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_empty.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_expand.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_expand_shape.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_filter_conv2d.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_flatten.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_foreach_slices.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_generate.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_index.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_index_dense.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_insert_3d.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_pack.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_pack_d.mlir
M mlir/test/Integration/Dialect/Tosa/CPU/test-fully-connected.mlir
A mlir/test/Integration/GPU/CUDA/sm90/tma_load_128x128_stride_noswizzle.mlir
M mlir/test/Target/Cpp/common-cpp.mlir
M mlir/test/Target/Cpp/const.mlir
M mlir/test/Target/Cpp/for.mlir
M mlir/test/Target/Cpp/invalid.mlir
M mlir/test/Target/Cpp/stdops.mlir
A mlir/test/Target/Cpp/subscript.mlir
M mlir/test/Target/LLVMIR/Import/debug-info.ll
M mlir/test/Target/LLVMIR/Import/import-failure.ll
M mlir/test/Target/LLVMIR/llvmir-debug.mlir
A mlir/test/Target/LLVMIR/openmp-reduction-byref.mlir
M mlir/test/Target/LLVMIR/rocdl.mlir
A mlir/test/Transforms/buffer-results-to-out-params-add-result-attr.mlir
M mlir/test/Transforms/inlining-dump-default-pipeline.mlir
A mlir/test/Transforms/inlining-threshold.mlir
M mlir/test/lib/Dialect/Affine/TestAccessAnalysis.cpp
M mlir/test/lib/Dialect/Test/TestDialect.cpp
M mlir/test/lib/Dialect/Test/TestOps.td
M mlir/test/mlir-cpu-runner/test-expand-math-approx.mlir
R mlir/test/mlir-opt/nearmiss.mlir
A mlir/test/mlir-opt/split-markers.mlir
A mlir/test/mlir-pdll/split-markers.pdll
M mlir/test/mlir-tblgen/attr-or-type-format.td
M mlir/test/mlir-tblgen/op-format.td
A mlir/test/mlir-translate/split-markers.mlir
M mlir/tools/mlir-pdll/mlir-pdll.cpp
M mlir/tools/mlir-tblgen/AttrOrTypeFormatGen.cpp
M mlir/tools/mlir-tblgen/OpFormatGen.cpp
M mlir/tools/mlir-tblgen/OpInterfacesGen.cpp
A mlir/unittests/IR/AffineExprTest.cpp
M mlir/unittests/IR/CMakeLists.txt
M openmp/docs/SupportAndFAQ.rst
M openmp/libomptarget/CMakeLists.txt
M openmp/libomptarget/include/OpenMP/Mapping.h
M openmp/libomptarget/include/Shared/Debug.h
M openmp/libomptarget/include/omptarget.h
M openmp/libomptarget/plugins-nextgen/CMakeLists.txt
M openmp/libomptarget/plugins-nextgen/aarch64/CMakeLists.txt
M openmp/libomptarget/plugins-nextgen/common/include/GlobalHandler.h
M openmp/libomptarget/plugins-nextgen/common/include/PluginInterface.h
M openmp/libomptarget/plugins-nextgen/common/include/Utils/ELF.h
M openmp/libomptarget/plugins-nextgen/common/src/GlobalHandler.cpp
M openmp/libomptarget/plugins-nextgen/common/src/PluginInterface.cpp
M openmp/libomptarget/plugins-nextgen/common/src/Utils/ELF.cpp
M openmp/libomptarget/plugins-nextgen/cuda/src/rtl.cpp
M openmp/libomptarget/plugins-nextgen/ppc64/CMakeLists.txt
M openmp/libomptarget/plugins-nextgen/ppc64le/CMakeLists.txt
M openmp/libomptarget/plugins-nextgen/s390x/CMakeLists.txt
M openmp/libomptarget/plugins-nextgen/x86_64/CMakeLists.txt
M openmp/libomptarget/src/CMakeLists.txt
M openmp/libomptarget/src/OpenMP/API.cpp
M openmp/libomptarget/src/OpenMP/Mapping.cpp
M openmp/libomptarget/src/exports
M openmp/libomptarget/test/api/omp_dynamic_shared_memory.c
A openmp/libomptarget/test/api/ompx_dump_mapping_tables.cpp
M openmp/libomptarget/test/jit/empty_kernel_lvl1.c
M openmp/libomptarget/test/jit/empty_kernel_lvl2.c
M openmp/libomptarget/test/jit/type_punning.c
M openmp/libomptarget/test/mapping/auto_zero_copy.cpp
M openmp/libomptarget/test/mapping/auto_zero_copy_globals.cpp
M openmp/libomptarget/test/offloading/barrier_fence.c
M openmp/libomptarget/test/offloading/bug49334.cpp
M openmp/libomptarget/test/offloading/default_thread_limit.c
A openmp/libomptarget/test/offloading/fortran/target-nested-target-data.f90
M openmp/libomptarget/test/offloading/ompx_bare.c
M openmp/libomptarget/test/offloading/ompx_coords.c
M openmp/libomptarget/test/offloading/ompx_saxpy_mixed.c
M openmp/libomptarget/test/offloading/parallel_target_teams_reduction.cpp
M openmp/libomptarget/test/offloading/small_trip_count.c
M openmp/libomptarget/test/offloading/small_trip_count_thread_limit.cpp
M openmp/libomptarget/test/offloading/spmdization.c
M openmp/libomptarget/test/offloading/target_critical_region.cpp
M openmp/libomptarget/test/offloading/thread_limit.c
A openmp/libomptarget/test/offloading/workshare_chunk.c
M openmp/libomptarget/test/ompt/target_memcpy.c
M openmp/libomptarget/test/ompt/target_memcpy_emi.c
M openmp/libomptarget/test/ompt/veccopy.c
M openmp/libomptarget/test/ompt/veccopy_data.c
M openmp/libomptarget/test/ompt/veccopy_disallow_both.c
M openmp/libomptarget/test/ompt/veccopy_emi.c
M openmp/libomptarget/test/ompt/veccopy_emi_map.c
M openmp/libomptarget/test/ompt/veccopy_map.c
M openmp/runtime/src/include/omp.h.var
M openmp/runtime/src/kmp.h
M openmp/runtime/src/kmp_affinity.cpp
M openmp/runtime/src/z_Linux_util.cpp
M openmp/runtime/test/lit.cfg
M polly/lib/CodeGen/IslNodeBuilder.cpp
M polly/lib/CodeGen/LoopGenerators.cpp
M polly/lib/Support/ScopHelper.cpp
A utils/bazel/llvm-project-overlay/clang-tools-extra/clangd/BUILD.bazel
M utils/bazel/llvm-project-overlay/clang/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/test/UnitTest/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/test/src/__support/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/test/src/math/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/test/src/math/libc_math_test_rules.bzl
M utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
M utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
M utils/bazel/llvm-project-overlay/mlir/unittests/BUILD.bazel
Log Message:
-----------
renames
Created using spr 1.3.4
Compare: https://github.com/llvm/llvm-project/compare/4c1ae296adff...92477bdd6419
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