[all-commits] [llvm/llvm-project] 86d8ae: [asan] Attempt to fix tests broken by #94307. (#95...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Thu Jun 13 14:28:50 PDT 2024
Branch: refs/heads/users/MaskRay/spr/mc-move-mcfragmentatom-to-mcsectionatoms
Home: https://github.com/llvm/llvm-project
Commit: 86d8aec97fd9e009e9b360ffeee744d3acce730d
https://github.com/llvm/llvm-project/commit/86d8aec97fd9e009e9b360ffeee744d3acce730d
Author: dyung <douglas.yung at sony.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M compiler-rt/test/asan/TestCases/strcpy-overlap.cpp
M compiler-rt/test/asan/TestCases/strdup_oob_test.cpp
M compiler-rt/test/asan/TestCases/use-after-free-right.cpp
Log Message:
-----------
[asan] Attempt to fix tests broken by #94307. (#95340)
Commit: 6784bf764207d267b781b4f515a2fafdcb345509
https://github.com/llvm/llvm-project/commit/6784bf764207d267b781b4f515a2fafdcb345509
Author: Ivy Zhang <yan3.zhang at intel.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Arith/IR/ArithOps.td
M mlir/lib/Dialect/Arith/IR/ArithOps.cpp
M mlir/lib/Dialect/Arith/Transforms/EmulateUnsupportedFloats.cpp
M mlir/lib/Dialect/Math/Transforms/LegalizeToF32.cpp
M mlir/test/Conversion/ArithToLLVM/arith-to-llvm.mlir
M mlir/test/Dialect/Arith/canonicalize.mlir
M mlir/test/Dialect/Arith/emulate-unsupported-floats.mlir
Log Message:
-----------
[MLIR][Arith] add fastMathAttr on arith::extf and arith::truncf (#93443)
Add an `fastMathAttr` on `arith::extf` and `arith::truncf`. If these two
ops are inserted by some promotion passes (like legalize-to-f32 /
emulate-unsupported-floats), they will be labeled as
`FastMathFlags::contract`, denoting that they can be then `eliminated by
canonicalizer`.
The `elimination` can help improve performance, while may introduce some
numerical differences.
Commit: b06da39cae0f7e2c6b8bc0bb03b734f9715c0bf3
https://github.com/llvm/llvm-project/commit/b06da39cae0f7e2c6b8bc0bb03b734f9715c0bf3
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang-tools-extra/clang-tidy/cppcoreguidelines/MacroUsageCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/macro-usage.rst
M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/macro-usage.cpp
Log Message:
-----------
[clang-tidy] ignoring macro with hash preprocessing token in cppcoreguidelines-macro-usage (#95265)
`#` and `##` preprocessing tokens cannot be replaced by constexpr
function. It should be ignored in check.
Commit: 2e1ad93961a3f444659c5d02d800e3144acccdb4
https://github.com/llvm/llvm-project/commit/2e1ad93961a3f444659c5d02d800e3144acccdb4
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang/include/clang/AST/ASTContext.h
M clang/include/clang/AST/TemplateName.h
M clang/include/clang/AST/Type.h
M clang/lib/AST/ASTContext.cpp
M clang/lib/AST/TemplateName.cpp
M clang/unittests/AST/CMakeLists.txt
A clang/unittests/AST/ProfilingTest.cpp
Log Message:
-----------
[clang] fix broken canonicalization of DeducedTemplateSpecializationType (#95202)
This reverts the functional elements of commit
3e78fa860235431323aaf08c8fa922d75a7cfffa and redoes it, by fixing the
true root cause of #61317.
A TemplateName can be non-canonical; profiling it based on the canonical
name would result in inconsistent preservation of as-written information
in the AST.
The true problem in #61317 is that we would not consider the methods
with requirements expression which contain DTSTs as the same in relation
to merging of declarations when importing modules.
The expressions would never match because they contained DTSTs pointing
to different redeclarations of the same class template, but since
canonicalization for them was broken, their canonical types would not
match either.
---
No changelog entry because #61317 was already claimed as fixed in
previous release.
Commit: 78ee473784e5ef6f0b19ce4cb111fb6e4d23c6b2
https://github.com/llvm/llvm-project/commit/78ee473784e5ef6f0b19ce4cb111fb6e4d23c6b2
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/clang/unittests/AST/BUILD.gn
Log Message:
-----------
[gn build] Port 2e1ad93961a3
Commit: 34aa6c5d9a1df7767d9758836c88ff26f72d0b05
https://github.com/llvm/llvm-project/commit/34aa6c5d9a1df7767d9758836c88ff26f72d0b05
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
M llvm/test/Instrumentation/MemorySanitizer/X86/avx-intrinsics-x86.ll
M llvm/test/Instrumentation/MemorySanitizer/X86/avx2-intrinsics-x86.ll
M llvm/test/Instrumentation/MemorySanitizer/X86/sse41-intrinsics-x86.ll
Log Message:
-----------
[msan] Handle blendv intrinsics (#94882)
blendvs are very similar to select, so we adjust
arguments and forward them into select handler.
Commit: 90a23d3a5a843086124c4b9315ee6a7617965623
https://github.com/llvm/llvm-project/commit/90a23d3a5a843086124c4b9315ee6a7617965623
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/MC/MCObjectStreamer.cpp
Log Message:
-----------
[MC] Restore setOffset(0) in emitLabel
For bolt/test/runtime/X86/exceptions-pic.test, llvm-bolt seems to call
emitLabel twice and the assert will fail. Work around it after
2cc4bc132cbcc76c5552cbc128830943ea596b3e
Commit: f941908d77e0a009351e5d5d3f01c704b5ff2ff7
https://github.com/llvm/llvm-project/commit/f941908d77e0a009351e5d5d3f01c704b5ff2ff7
Author: Ivy Zhang <yan3.zhang at intel.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Arith/IR/ArithOps.td
M mlir/lib/Dialect/Arith/IR/ArithOps.cpp
M mlir/lib/Dialect/Arith/Transforms/EmulateUnsupportedFloats.cpp
M mlir/lib/Dialect/Math/Transforms/LegalizeToF32.cpp
M mlir/test/Conversion/ArithToLLVM/arith-to-llvm.mlir
M mlir/test/Dialect/Arith/canonicalize.mlir
M mlir/test/Dialect/Arith/emulate-unsupported-floats.mlir
Log Message:
-----------
Revert "[MLIR][Arith] add fastMathAttr on arith::extf and arith::truncf" (#95344)
Reverts llvm/llvm-project#93443
Commit: 64c9a1e1266ec7bc4c4896b2df116fa12dbacf15
https://github.com/llvm/llvm-project/commit/64c9a1e1266ec7bc4c4896b2df116fa12dbacf15
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/AST/Interp/cxx11.cpp
Log Message:
-----------
[clang][Interp] Also revisit references to const types
Neither isConstant() not isConstQualified() return true for these.
Commit: 58df6467140d022c70213215c3617080ba7a7934
https://github.com/llvm/llvm-project/commit/58df6467140d022c70213215c3617080ba7a7934
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Support/BLAKE3/blake3.c
Log Message:
-----------
[Support/BLAKE3] Remove some dead stores (#95120)
These were caught by the clang static analyzer.
Commit: f33310e4508bd532778691ed68714bec8615357d
https://github.com/llvm/llvm-project/commit/f33310e4508bd532778691ed68714bec8615357d
Author: Johannes Doerfert <johannes at jdoerfert.de>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
M llvm/test/Transforms/Attributor/nonnull.ll
Log Message:
-----------
[Attributor][FIX] Ensure nonnull IR deduction is not optimistic (#93322)
We cannot use assumed dead information for nonnull IR-implied deduction
as we will never go back and re-check. This was reported in
https://github.com/llvm/llvm-project/pull/85810
Commit: 3bcd80acbac19b3066ffd09da98bf225fae93ef3
https://github.com/llvm/llvm-project/commit/3bcd80acbac19b3066ffd09da98bf225fae93ef3
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M libc/src/stdlib/CMakeLists.txt
A libc/src/stdlib/freelist_heap.h
M libc/test/src/stdlib/CMakeLists.txt
A libc/test/src/stdlib/freelist_heap_test.cpp
Log Message:
-----------
[libc][stdlib] Add the FreelistHeap (#95066)
This is the actual freelist allocator which utilizes the generic
FreeList and the Block classes. We will eventually wrap the malloc
interface around this.
This is a part of #94270 to land in smaller patches.
Commit: 22ff7c5dc96828aba967fb3bcb3f929ea4509783
https://github.com/llvm/llvm-project/commit/22ff7c5dc96828aba967fb3bcb3f929ea4509783
Author: Zain Jaffal <zain at jjaffal.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/ValueTracking.h
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
Log Message:
-----------
[ValueTracking][NFC] move isKnownInversion to ValueTracking (#95321)
I am using `isKnownInversion` in the following pr
https://github.com/llvm/llvm-project/pull/94915
it is useful to have the method in a shared class so I can reuse it. I am not sure if `ValueTracking` is the correct place but it looks like most of the methods with the pattern `isKnownX` belong there.
Commit: 092dbfaad257885692fa64559e9eb43a5c466798
https://github.com/llvm/llvm-project/commit/092dbfaad257885692fa64559e9eb43a5c466798
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/include/llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h
Log Message:
-----------
[Orc] Fix error handling (#95253)
I believe we should return after the SDR for the error case, instead of
invoking it a second time with Error::success().
Commit: 1dbd7bedc37fca1e7744dca202d0af427f399d68
https://github.com/llvm/llvm-project/commit/1dbd7bedc37fca1e7744dca202d0af427f399d68
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/lib/AST/TextNodeDumper.cpp
M clang/test/AST/ast-dump-ctad-alias.cpp
M clang/test/AST/ast-dump-template-decls.cpp
M clang/test/AST/ast-dump-using-template.cpp
M clang/test/SemaTemplate/deduction-guide.cpp
Log Message:
-----------
[clang] Don't print extra space when dumping template names (#95213)
Commit: fc19d6238af7d215b13c2af63cbce03b5c04069b
https://github.com/llvm/llvm-project/commit/fc19d6238af7d215b13c2af63cbce03b5c04069b
Author: pvanhout <pierre.vanhoutryve at amd.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/test/MC/AMDGPU/hsa-sym-expr-failure.s
Log Message:
-----------
[AMDGPU][MC] Don't rely on output ordering in hsa-sym-expr-failure.s
Commit: 9ab601fa53587bc238193e2e211f57fe4b871133
https://github.com/llvm/llvm-project/commit/9ab601fa53587bc238193e2e211f57fe4b871133
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
M llvm/lib/Target/AMDGPU/MCTargetDesc/R600InstPrinter.cpp
Log Message:
-----------
Reland "[NFC][AMDGPU] Do not flush after printing every instruction (#95237)"
It's very expensive and doesn't achieve anything.
I one test I did, it saves almost 10s on a 2m23s build, bringing it down
to 2m15s using a downstream branch.
Commit: 54b5c76d3b98c864daf39c24cda35d4a03d60747
https://github.com/llvm/llvm-project/commit/54b5c76d3b98c864daf39c24cda35d4a03d60747
Author: Johannes Doerfert <johannes at jdoerfert.de>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M offload/include/Shared/APITypes.h
M offload/plugins-nextgen/amdgpu/src/rtl.cpp
M offload/plugins-nextgen/common/include/PluginInterface.h
M offload/plugins-nextgen/common/src/PluginInterface.cpp
M offload/plugins-nextgen/cuda/dynamic_cuda/cuda.h
M offload/plugins-nextgen/cuda/src/rtl.cpp
M offload/plugins-nextgen/host/src/rtl.cpp
Log Message:
-----------
[Offload] Use flat array for cuLaunchKernel (#95116)
We already used a flat array of kernel launch parameters for the AMD GPU
launch but now we also use this scheme for the NVIDIA GPU launch. The
only remaining/required use of the indirection is the host plugin (due
ot ffi). This allows to us simplify the use for non-OpenMP kernel
launch.
Commit: 9d7299fb84bcaafc6b7368dbe5ee6de29e71e655
https://github.com/llvm/llvm-project/commit/9d7299fb84bcaafc6b7368dbe5ee6de29e71e655
Author: Rajveer Singh Bharadwaj <rajveer.developer at icloud.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaExpr.cpp
M clang/test/C/drs/dr1xx.c
A clang/test/Sema/debug-93066.cpp
M clang/test/Sema/exprs.c
M clang/test/Sema/va_arg_x86_32.c
M clang/test/SemaObjCXX/sel-address.mm
Log Message:
-----------
[Clang] Add fix-it hint to insert `*` when a modifiable lvalue is required (#94159)
This adds a fix-it hint in situations where a modifiable lvalue is expected, but a prvalue
or non-modifiable lvalue of pointer type was found, so long as dereferencing the pointer
would result in a modifiable lvalue.
Resolves #93066
Commit: a6c115291ca2973109ed7b1ff021c8c9faf044c0
https://github.com/llvm/llvm-project/commit/a6c115291ca2973109ed7b1ff021c8c9faf044c0
Author: Kristof Beyls <kristof.beyls at arm.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/docs/Security.rst
Log Message:
-----------
[docs] Document move from chromium to github to report security issues. (#95262)
I'm not aware of any other documentation changes that are needed to
complete the migration from chromium to github to report security
issues. The top-level security.md file refers to
https://llvm.org/docs/Security.html#how-to-report-a-security-issue for
documentation on reporting a security issue, which is being updated as
part of this PR.
Commit: 9890f94343053029000e3ca6ca2b9889755f415a
https://github.com/llvm/llvm-project/commit/9890f94343053029000e3ca6ca2b9889755f415a
Author: Ivan Kosarev <ivan.kosarev at amd.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/BUFInstructions.td
M llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vbuffer_mubuf.txt
Log Message:
-----------
[AMDGPU][GFX12] Support disassembling MUBUF instructions with arbitrary FORMAT values. (#95243)
Some tools generate such instructions with the FORMAT field set to 0,
which corresponds to buf_fmt_invalid, but that should not prevent them
from being recognised on decoding.
Commit: 4baea8b3156a2b0ddfb6649636c2b398647d2127
https://github.com/llvm/llvm-project/commit/4baea8b3156a2b0ddfb6649636c2b398647d2127
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
M llvm/lib/Target/SPIRV/SPIRVBuiltins.td
M llvm/test/CodeGen/SPIRV/transcoding/OpGroupAllAny.ll
M llvm/test/CodeGen/SPIRV/transcoding/group_ops.ll
Log Message:
-----------
[SPIR-V] Implement insertion of 'Group and Subgroup Instructions' using builtin functions (#95176)
This PR adds builtin functions to insert instructions from 'Group and
Subgroup' section of the SPIR-V Specification. Corresponding tests are
updated, `spirv-val` run is added where it was missed.
Commit: 9c29217a170566890d76b56ccfbbf9ceaa1193ab
https://github.com/llvm/llvm-project/commit/9c29217a170566890d76b56ccfbbf9ceaa1193ab
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVPreLegalizer.cpp
A llvm/test/CodeGen/SPIRV/keep-tracked-const.ll
Log Message:
-----------
[SPIR-V] Ensure that cleaning of temporary constants doesn't purge tracked constants (#95303)
This PR fixes a problem in logics of cleaning unused constants, ensuring
that cleaning of temporary constants doesn't purge tracked constants. On
a rare occasion when this happens SPIR-V Backend emits a code that
refers to a non-existent register, earlier related with a constant.
Attached to the PR test case is a minimal reproducer where names of
variables and instructions lead to such a rare coincidence.
Commit: f5a93c5f2a4d0916c975bbf028768d58a29b6b73
https://github.com/llvm/llvm-project/commit/f5a93c5f2a4d0916c975bbf028768d58a29b6b73
Author: Martin Storsjö <martin at martin.st>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/test/Driver/spirv-toolchain.cl
Log Message:
-----------
[clang] [test] Skip a test that sets PATH on Windows (#95096)
The same has been done in a couple other existing tests, that also are
skipped on Windows (e.g. ld-path.c). Some tests that really do want to
test setting the path on Windows does it differently, see e.g.
ps4-ps5-linker-win.c.
Since a65771fce4a2f25f16d4b3918ad6a11370637f7b, the spirv-toolchain.cl
test does one test where PATH is set. Setting PATH does work in some
build configurations - however, if built with e.g. llvm-mingw, the built
Clang executable depends on libc++.dll (and libunwind.dll) which are
found in PATH. If the PATH is overridden, the newly built Clang
executable no longer can run.
Commit: b446f9079bdc1123e1aafe5a535d8dbea835d8e8
https://github.com/llvm/llvm-project/commit/b446f9079bdc1123e1aafe5a535d8dbea835d8e8
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
M llvm/test/Transforms/InstCombine/pow-to-ldexp.ll
Log Message:
-----------
SimplifyLibCalls: Don't require ldexp to emit intrinsic in pow combine (#95277)
Do not require a libm ldexp libcall to emit the ldexp intrinsic when
transforming pow(2, x) -> ldexp(1, x)
This enables the half intrinsic case to fold.
Commit: 7adb7aa494247f2492f6207289ad90cb48807517
https://github.com/llvm/llvm-project/commit/7adb7aa494247f2492f6207289ad90cb48807517
Author: Mitch Phillips <31459023+hctim at users.noreply.github.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M compiler-rt/lib/gwp_asan/guarded_pool_allocator.cpp
M compiler-rt/lib/gwp_asan/optional/segv_handler_posix.cpp
M compiler-rt/lib/gwp_asan/tests/harness.cpp
M compiler-rt/lib/gwp_asan/tests/harness.h
M compiler-rt/lib/gwp_asan/tests/late_init.cpp
Log Message:
-----------
[GWP-ASan] Various test fixes. (#94938)
When running some tests with --gtest_repeat=100 --gtest_shuffle, I
encountered some problems because the allocator wasn't torn down
completely, and the singleton pointer ended up pointing to a
use-after-scope'd object.
This patch has a couple of fixes and niceties:
1. Removing the once-init stuff from tests, now that it's implicitly
done in GuardedPoolAllocator::installAtFork() anyway.
2. Calling uninitTestOnly() in the late_init test.
3. Resetting the HasReportedBadPoolAccess when the signal handlers are
installed (allowing for --gtest_repeat w/ recoverable mode).
4. Adding a check and resetting the singleton pointer in
uninitTestOnly().
Commit: 8b435c18314e62530367a8721883a28c532e02ad
https://github.com/llvm/llvm-project/commit/8b435c18314e62530367a8721883a28c532e02ad
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/unittests/AST/ProfilingTest.cpp
Log Message:
-----------
ASTTests: Suppress a warning in -Asserts for #95202 [-Wunused-variable]
Commit: 2b66d283bc881fd4e84f2d3fef5d83c7cdf48422
https://github.com/llvm/llvm-project/commit/2b66d283bc881fd4e84f2d3fef5d83c7cdf48422
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M flang/lib/Optimizer/Transforms/AssumedRankOpConversion.cpp
M flang/test/Fir/rebox_assumed_rank_codegen.fir
Log Message:
-----------
[flang][fir] handle poly to non poly case in rebox_assumed_rank (#95240)
Dynamic type and element size of the descriptor dummy must match the
dummy static type when the dummy is not polymorphic, otherwise
IS_CONTIGUOUS, C_SIZEOF.... won't work properly inside the callee.
When the actual argument is polymorphic the descriptor of the actual may
have a different dynamic type/element size. Hence, the dummy argument
cannot simply take or copy the descriptor of the actual argument.
Commit: 65f746e76c97b6f8aece139199aed44ce632255c
https://github.com/llvm/llvm-project/commit/65f746e76c97b6f8aece139199aed44ce632255c
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M flang/include/flang/Runtime/inquiry.h
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/runtime/inquiry.cpp
M flang/test/Lower/HLFIR/assumed-rank-inquiries-3.f90
M flang/test/Lower/Intrinsics/ubound01.f90
M flang/unittests/Runtime/Inquiry.cpp
Log Message:
-----------
[flang] Update UBOUND runtime API and lowering (#95085)
LBOUND and SHAPE runtime were added with an API that avoids making a
dynamic allocation for the small result storage. Update the UBOUND API
that was already there and used in lowering outside of the assumed-rank
case.
Add tests for the assumed-rank case.
Commit: b37f9e0bdfe160ebf90c213936323edff949233a
https://github.com/llvm/llvm-project/commit/b37f9e0bdfe160ebf90c213936323edff949233a
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.h
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDeclContext.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDeclContext.h
M lldb/source/Plugins/SymbolFile/DWARF/DWARFIndex.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
M lldb/unittests/SymbolFile/DWARF/DWARFDIETest.cpp
Log Message:
-----------
[lldb] Move DWARFDeclContext functions from DWARFDebugInfoEntry to DW… (#95227)
…ARFDIE
This puts them closer to the other two functions doing something very
similar. I've tried to stick to the original logic of the functions as
much as possible, though I did apply some easy simplifications.
The changes in DWARFDeclContext.h are there to make the unit tests
produce more useful error messages.
Commit: 453a0e4cb5d9a7e766933c8c8a862c1acae951f4
https://github.com/llvm/llvm-project/commit/453a0e4cb5d9a7e766933c8c8a862c1acae951f4
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M flang/lib/Lower/ConvertCall.cpp
A flang/test/Lower/HLFIR/assumed-rank-calls.f90
Log Message:
-----------
[flang] handle assume-rank descriptor updates in calls (#95229)
Deal with the cases where lower bounds, or attribute, or dynamic type
must be updated when passing an assumed-rank actual argument to an
assumed-rank dummy argument.
copy-in/copy-out and passing target assumed-rank to intent(in) pointers
will be handled in separate patch.
Commit: 53c06c5644f9529057c97620efd8e8f85d0ed605
https://github.com/llvm/llvm-project/commit/53c06c5644f9529057c97620efd8e8f85d0ed605
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
Log Message:
-----------
SimplifyLibCalls: Simplify fp immediate checking code (NFC)
Re-use already queried call arguments and matched APFloat, instead
of re-matching the original argument.
Commit: 705f858157305865d9c14594a6c4c9fd6e46d835
https://github.com/llvm/llvm-project/commit/705f858157305865d9c14594a6c4c9fd6e46d835
Author: Tai Ly <tai.ly at arm.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Tosa/IR/TosaOps.h
M mlir/lib/Dialect/Tosa/IR/TosaCanonicalizations.cpp
M mlir/test/Dialect/Tosa/canonicalize.mlir
Log Message:
-----------
[Tosa] Disable tosa folder for non-int/float/index types (#71757)
In order to fold, we need to create DenseElementsAttr, which does not
support quantized element types. This patch adds tests for folding
quntized element types and disable tosa folders where appropriate.
refactored canonicalize.mlir test to use --split-input-file
also fixed verifier for trait MulOperandsAndResultElementType for
quantized element types
Signed-off-by: Tai Ly <tai.ly at arm.com>
Commit: 71a5b37cc08b25e0e207296181c2c15e8927595e
https://github.com/llvm/llvm-project/commit/71a5b37cc08b25e0e207296181c2c15e8927595e
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGenTypes/MachineValueType.h
M llvm/utils/TableGen/VTEmitter.cpp
Log Message:
-----------
[CodeGenTypes] Remove unused ElSz argument from generated GET_VT_VECATTR (#95258)
Commit: f44023980de08c7554c4b735ca8e467c32b2f4f7
https://github.com/llvm/llvm-project/commit/f44023980de08c7554c4b735ca8e467c32b2f4f7
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M flang/lib/Semantics/check-omp-structure.cpp
M flang/test/Lower/OpenMP/Todo/reduction-derived-type-field.f90
M flang/test/Semantics/OpenMP/reduction09.f90
A flang/test/Semantics/OpenMP/reduction14.f90
Log Message:
-----------
[flang][Semantics][OpenMP] Check type of reduction variables (#94596)
Fixes #92440
I had to delete part of reduction09.f90 because I don't think that
should have ever worked.
Commit: 445973caceea9154b7f05a0b574ced346955be87
https://github.com/llvm/llvm-project/commit/445973caceea9154b7f05a0b574ced346955be87
Author: Björn Pettersson <bjorn.a.pettersson at ericsson.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
M llvm/test/CodeGen/AMDGPU/extract-load-i1.ll
M llvm/test/CodeGen/AMDGPU/extract_vector_dynelt.ll
A llvm/test/CodeGen/X86/legalize-ins-ext-vec-elt.ll
Log Message:
-----------
[LegalizeTypes] Handle non byte-sized elt types when splitting INSERT/EXTRACT_VECTOR_ELT (#93357)
DAGTypeLegalizer::SplitVecRes_INSERT_VECTOR_ELT and
DAGTypeLegalizer::SplitVecRes_EXTRACT_VECTOR_ELT did not handle
non byte-sized elements properly. In fact, it only dealt with
elements smaller than 8 bits (as well as byte-sized elements).
This patch generalizes the support for non byte-sized element by
always widening the the vector elements to next "round integer type"
(a power of 2 bit size). This should make sure that we can access a
single element via a simple byte-addressed scalar load/store.
Also removing a suspicious CustomLowerNode call from
SplitVecRes_INSERT_VECTOR_ELT. Considering that it did not reset
the Lo/Hi out arguments before the return I think that
DAGTypeLegalizer::SplitVectorResult could be fooled into registering
the input vector as being the result. This should however not have
caused any problems since DAGTypeLegalizer::SplitVectorResult is
doing the same CustomLowerNode call, making the code removed by
this patch redundant.
Commit: 935d3773507f87a5a920a3e19fe71a75d69bc395
https://github.com/llvm/llvm-project/commit/935d3773507f87a5a920a3e19fe71a75d69bc395
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/BUFInstructions.td
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
A llvm/test/CodeGen/AMDGPU/buffer-intrinsic-mmo-type.ll
Log Message:
-----------
AMDGPU: Fix using wrong memory type for non-image resource intrinsics (#94911)
An 8 x i16 raw load was incorrectly using a 64-bit memory type, which
would assert in the MachineMemOperand constructor.
This is preparation for a cleanup which will make the buffer intrinsics
work for all legal types.
Commit: fa9301f35b41396bdf829cfd633fa2f983798723
https://github.com/llvm/llvm-project/commit/fa9301f35b41396bdf829cfd633fa2f983798723
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Support/KnownBits.cpp
Log Message:
-----------
[KnownBits] avgCompute - don't create on-the-fly Carry. NFC.
Use the internal computeForAddCarry directly since we know the exact values of the carry bit.
Commit: 00bb18a77c6c25fa7d6150ae724ffb8a37334ecb
https://github.com/llvm/llvm-project/commit/00bb18a77c6c25fa7d6150ae724ffb8a37334ecb
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/tools/llvm-dwp/llvm-dwp.cpp
Log Message:
-----------
[llvm-dwp] Remove incorrect std::move()
DWOName is still used afterwards. The only reason this works out
right now is that SmallString does not actually have a constructor
that can take advantage of the move.
Commit: 3475116e2c37a2c8a69658b36c02871c322da008
https://github.com/llvm/llvm-project/commit/3475116e2c37a2c8a69658b36c02871c322da008
Author: Younan Zhang <zyn7109 at gmail.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/test/CXX/drs/cwg26xx.cpp
M clang/www/cxx_dr_status.html
Log Message:
-----------
[clang][NFC] Add a test for CWG2685 (#95206)
I believe it has been implemented since D139837 "Implements CTAD for
aggregates P1816R0 and P2082R1", so this just claims we have already
supported it.
Plus an update on the dr status page.
Commit: a144bf2b2511b47fc165755817eda17f79ef5476
https://github.com/llvm/llvm-project/commit/a144bf2b2511b47fc165755817eda17f79ef5476
Author: Younan Zhang <zyn7109 at gmail.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaInit.cpp
M clang/test/SemaTemplate/deduction-guide.cpp
Log Message:
-----------
[Clang] Fix handling of brace ellison when building deduction guides (#94889)
Fixes two issues in two ways:
1) The `braced-init-list` consisted of `initializer-list` and
`designated-initializer-list`, and thus the designated initializer is
subject to [over.match.class.deduct]p1.8, which means the brace elision
is also applicable on it for CTAD deduction guides.
2) When forming a deduction guide where the brace elision is applicable,
we should also consider the presence of braces within the initializer.
For example, given
template <class T, class U> struct X {
T t[2];
U u[3];
};
X x = {{1, 2}, 3, 4, 5};
we should establish such deduction guide AFAIU: `X(T (&&)[2], U, U, U) -> X<T, U>`.
Fixes https://github.com/llvm/llvm-project/issues/64625
Fixes https://github.com/llvm/llvm-project/issues/83368
Commit: b6bf4024a031a5e7b58aff1425d94841a88002d6
https://github.com/llvm/llvm-project/commit/b6bf4024a031a5e7b58aff1425d94841a88002d6
Author: Hua Tian <akiratian at tencent.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/MachinePipeliner.h
M llvm/include/llvm/CodeGen/TargetSubtargetInfo.h
A llvm/include/llvm/CodeGen/WindowScheduler.h
M llvm/lib/CodeGen/CMakeLists.txt
M llvm/lib/CodeGen/MachinePipeliner.cpp
A llvm/lib/CodeGen/WindowScheduler.cpp
A llvm/test/CodeGen/Hexagon/swp-ws-dead-def.mir
A llvm/test/CodeGen/Hexagon/swp-ws-exp-dbg.mir
A llvm/test/CodeGen/Hexagon/swp-ws-exp.mir
A llvm/test/CodeGen/Hexagon/swp-ws-fail-0.mir
A llvm/test/CodeGen/Hexagon/swp-ws-fail-1.mir
A llvm/test/CodeGen/Hexagon/swp-ws-fail-2.mir
A llvm/test/CodeGen/Hexagon/swp-ws-meta-instr.mir
A llvm/test/CodeGen/Hexagon/swp-ws-sqrt.mir
Log Message:
-----------
[llvm][CodeGen] Add a new software pipeliner 'Window Scheduler' (#84443)
This commit implements the Window Scheduler as described in the RFC:
https://discourse.llvm.org/t/rfc-window-scheduling-algorithm-for-machinepipeliner-in-llvm/74718
This Window Scheduler implements the window algorithm designed by
Steven Muchnick in the book "Advanced Compiler Design And
Implementation",
with some improvements:
1. Copy 3 times of the loop kernel and construct the corresponding DAG
to identify dependencies between MIs;
2. Use heuristic algorithm to obtain a set of window offsets.
The window algorithm is equivalent to modulo scheduling algorithm with a
stage of 2. It is mainly applied in targets where hardware resource
conflicts are severe, and the SMS algorithm often fails in such cases.
On our own DSA, this window algorithm typically can achieve a
performance
improvement of over 10%.
Co-authored-by: Kai Yan <aklkaiyan at tencent.com>
Co-authored-by: Ran Xiao <lennyxiao at tencent.com>
---------
Co-authored-by: Kai Yan <aklkaiyan at tencent.com>
Co-authored-by: Ran Xiao <lennyxiao at tencent.com>
Commit: 5c9352eb0258d506fb96f4a69e44f1d2fa284f1d
https://github.com/llvm/llvm-project/commit/5c9352eb0258d506fb96f4a69e44f1d2fa284f1d
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/include/llvm/Target/TargetSelectionDAG.td
M llvm/lib/Target/AArch64/AArch64InstrFormats.td
M llvm/lib/Target/AArch64/AArch64InstrGISel.td
M llvm/lib/Target/AMDGPU/AMDGPUInstructions.td
M llvm/lib/Target/AMDGPU/BUFInstructions.td
M llvm/lib/Target/AMDGPU/DSInstructions.td
M llvm/lib/Target/AMDGPU/EvergreenInstructions.td
M llvm/lib/Target/AMDGPU/FLATInstructions.td
M llvm/lib/Target/AMDGPU/SIInstrInfo.td
M llvm/lib/Target/AVR/AVRInstrInfo.td
M llvm/lib/Target/BPF/BPFInstrInfo.td
M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
M llvm/lib/Target/Mips/Mips64InstrInfo.td
M llvm/lib/Target/Mips/MipsInstrInfo.td
M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
M llvm/lib/Target/PowerPC/PPCInstr64Bit.td
M llvm/lib/Target/PowerPC/PPCInstrInfo.td
M llvm/lib/Target/RISCV/RISCVInstrInfoA.td
M llvm/lib/Target/RISCV/RISCVInstrInfoZa.td
M llvm/lib/Target/Sparc/SparcInstr64Bit.td
M llvm/lib/Target/Sparc/SparcInstrInfo.td
M llvm/lib/Target/SystemZ/SystemZInstrInfo.td
M llvm/lib/Target/VE/VEInstrInfo.td
M llvm/lib/Target/WebAssembly/WebAssemblyInstrAtomics.td
M llvm/lib/Target/X86/X86InstrCompiler.td
M llvm/lib/Target/X86/X86InstrMisc.td
M llvm/test/TableGen/HasNoUse.td
Log Message:
-----------
DAG: Replace bitwidth with type in suffix in atomic tablegen ops (#94845)
Commit: 846e47e7b880bcf6b8f5773fe0fe236d486f3239
https://github.com/llvm/llvm-project/commit/846e47e7b880bcf6b8f5773fe0fe236d486f3239
Author: aengelke <engelke at in.tum.de>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCFragment.h
M llvm/lib/MC/MCFragment.cpp
Log Message:
-----------
[MC] Reduce size of MCDataFragment by 8 bytes (#95293)
Due to alignment, the first two fields of MCEncodedFragment are
currently at bytes 40 and 41, so 1 byte over the 8 byte boundary,
causing 7 bytes padding to be inserted for the following pointer.
Fold two bools of MCFragment into bitfields to reduce move the two
fields of MCEncodedFragment one byte earlier to remove the padding
bytes. This works, as in the Itanium ABI, there is no padding after
base classes.
This gives a space reduction of MCDataFragment from 224 to 216 bytes.
Commit: d70d3260a8633bd872de8ca9136beeccda897c80
https://github.com/llvm/llvm-project/commit/d70d3260a8633bd872de8ca9136beeccda897c80
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn
Log Message:
-----------
[gn build] Port b6bf4024a031
Commit: 3f9e2e179a52eb50a2bcff148a5f351a4eddcb37
https://github.com/llvm/llvm-project/commit/3f9e2e179a52eb50a2bcff148a5f351a4eddcb37
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp
Log Message:
-----------
[NFC][clang-tidy] fix typo in readability-else-after-return
Commit: f991a16735c6a032f6b3ae0817a421ef94d705ca
https://github.com/llvm/llvm-project/commit/f991a16735c6a032f6b3ae0817a421ef94d705ca
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/ExpandLargeFpConvert.cpp
Log Message:
-----------
[CodeGen] ExpandLargeFpConvert - don't dereference a dyn_cast result
dyn_cast is allowed to return NULL - use cast<> to assert that the cast type is valid
Fixes static analysis warning.
Commit: 1cbafb3c3f8344570b39484ad1056596eb15c9b9
https://github.com/llvm/llvm-project/commit/1cbafb3c3f8344570b39484ad1056596eb15c9b9
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/test/CodeGen/X86/avg.ll
Log Message:
-----------
[X86] avg.ll - add common CHECK prefix
Commit: 33a24b7654b7bab229ac8140148cb9a1b1d00d1d
https://github.com/llvm/llvm-project/commit/33a24b7654b7bab229ac8140148cb9a1b1d00d1d
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/test/CodeGen/X86/avg.ll
Log Message:
-----------
[X86] Add test coverage for #95284
Commit: c0ff36ea2357aa47bbf58cefbf579b08a08fb173
https://github.com/llvm/llvm-project/commit/c0ff36ea2357aa47bbf58cefbf579b08a08fb173
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/BUFInstructions.td
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.load.bf16.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.load.ll
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.store.bf16.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.store.ll
Log Message:
-----------
AMDGPU: Fix buffer intrinsic handling for various 16-bit elements. (#95376)
Mostly fixes handling of bfloat vectors, but also some missing
i16 cases.
Commit: e439d22c7a981dfac3089cf8b6a83d2a51c0be78
https://github.com/llvm/llvm-project/commit/e439d22c7a981dfac3089cf8b6a83d2a51c0be78
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/lib/AST/ExprConstant.cpp
Log Message:
-----------
[clang][ExprConst][NFC] Replace typecheck+castAs with getAs
Commit: 5563d914a776e11c22fa6f9617e8cb6c46e977cf
https://github.com/llvm/llvm-project/commit/5563d914a776e11c22fa6f9617e8cb6c46e977cf
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/AST/Interp/references.cpp
Log Message:
-----------
[clang][Interp] Prepare return value for composite InitListExprs
Commit: 933d6be8e8c4a81f6409f4daaf704e7f363c6508
https://github.com/llvm/llvm-project/commit/933d6be8e8c4a81f6409f4daaf704e7f363c6508
Author: Alexandros Lamprineas <alexandros.lamprineas at arm.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M compiler-rt/lib/builtins/aarch64/sme-abi-vg.c
M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/android.inc
M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/freebsd.inc
M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/fuchsia.inc
M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/mrs.inc
M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/sysauxv.inc
M compiler-rt/lib/builtins/cpu_model/aarch64/hwcap.inc
Log Message:
-----------
[FMV][compiler-rt] Fix cpu features initialization. (#95149)
To detect features we either use HWCAPs or directly extract system
register bitfields and compare with a value. In many cases equality
comparisons give wrong results for example FEAT_SVE is not set if SVE2
is available (see the issue #93651). I am also making the access to
__aarch64_cpu_features atomic.
The corresponding PR for the ACLE specification is
https://github.com/ARM-software/acle/pull/322.
Commit: 7ead2d8c7e9114b3f23666209a1654939987cb30
https://github.com/llvm/llvm-project/commit/7ead2d8c7e9114b3f23666209a1654939987cb30
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/docs/SourceBasedCodeCoverage.rst
M clang/include/clang/Basic/CodeGenOptions.def
M clang/include/clang/Driver/Options.td
M clang/lib/CodeGen/CodeGenPGO.cpp
M clang/lib/CodeGen/CoverageMappingGen.cpp
M clang/lib/CodeGen/MCDCState.h
M clang/test/CoverageMapping/branch-constfolded.cpp
M clang/test/CoverageMapping/logical.cpp
M clang/test/CoverageMapping/mcdc-class.cpp
M clang/test/CoverageMapping/mcdc-error-conditions.cpp
M clang/test/CoverageMapping/mcdc-logical-scalar-ids.cpp
M clang/test/CoverageMapping/mcdc-logical-stmt-ids-all.cpp
M clang/test/CoverageMapping/mcdc-logical-stmt-ids.cpp
M clang/test/CoverageMapping/mcdc-scratch-space.c
M clang/test/CoverageMapping/mcdc-system-headers.cpp
M clang/test/Profile/c-mcdc-class.cpp
M clang/test/Profile/c-mcdc-logicalop-ternary.c
M clang/test/Profile/c-mcdc-nested-ternary.c
M clang/test/Profile/c-mcdc-not.c
M clang/test/Profile/c-mcdc.c
M llvm/docs/CoverageMappingFormat.rst
M llvm/docs/LangRef.rst
M llvm/include/llvm/IR/IntrinsicInst.h
M llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h
M llvm/include/llvm/ProfileData/InstrProf.h
M llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
M llvm/test/Instrumentation/InstrProfiling/inline-data-var-create.ll
M llvm/test/Instrumentation/InstrProfiling/mcdc.ll
M llvm/test/tools/llvm-cov/Inputs/mcdc-const-folding.o
M llvm/test/tools/llvm-cov/Inputs/mcdc-const-folding.proftext
M llvm/test/tools/llvm-cov/Inputs/mcdc-const.o
M llvm/test/tools/llvm-cov/Inputs/mcdc-const.proftext
A llvm/test/tools/llvm-cov/Inputs/mcdc-general-18.o
A llvm/test/tools/llvm-cov/Inputs/mcdc-general-18.profdata
M llvm/test/tools/llvm-cov/Inputs/mcdc-general.o
M llvm/test/tools/llvm-cov/Inputs/mcdc-general.proftext
M llvm/test/tools/llvm-cov/Inputs/mcdc-macro.o
M llvm/test/tools/llvm-cov/Inputs/mcdc-macro.proftext
M llvm/test/tools/llvm-cov/Inputs/mcdc-maxbs.o
A llvm/test/tools/llvm-cov/mcdc-general-18.test
M llvm/unittests/ProfileData/CoverageMappingTest.cpp
Log Message:
-----------
[MC/DC][Coverage] Loosen the limit of NumConds from 6 (#82448)
By storing possible test vectors instead of combinations of conditions,
the restriction is dramatically relaxed.
This introduces two options to `cc1`:
* `-fmcdc-max-conditions=32767`
* `-fmcdc-max-test-vectors=2147483646`
This change makes coverage mapping, profraw, and profdata incompatible
with Clang-18.
- Bitmap semantics changed. It is incompatible with previous format.
- `BitmapIdx` in `Decision` points to the end of the bitmap.
- Bitmap is packed per function.
- `llvm-cov` can understand `profdata` generated by `llvm-profdata-18`.
RFC:
https://discourse.llvm.org/t/rfc-coverage-new-algorithm-and-file-format-for-mc-dc/76798
Commit: 5e8cf0bf1182fc29469495e1e1377ad117b27172
https://github.com/llvm/llvm-project/commit/5e8cf0bf1182fc29469495e1e1377ad117b27172
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.store.bf16.ll
Log Message:
-----------
AMDGPU: Fix buffer intrinsic store of bfloat (#95377)
Commit: b53e0854a10fa440c955a9fd48a869619f6e0521
https://github.com/llvm/llvm-project/commit/b53e0854a10fa440c955a9fd48a869619f6e0521
Author: Younan Zhang <zyn7109 at gmail.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/test/CXX/drs/cwg26xx.cpp
M clang/www/cxx_dr_status.html
Log Message:
-----------
Revert "[clang][NFC] Add a test for CWG2685" (#95389)
I was wrong: The purpose of CWG2685 is to avoid brace elision on string
literals and we should be rejecting the case.
Reverts llvm/llvm-project#95206
Commit: 04a4254def9643bf044c69f0aae65e4f2f278e0a
https://github.com/llvm/llvm-project/commit/04a4254def9643bf044c69f0aae65e4f2f278e0a
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Target/M68k/M68kInstrAtomics.td
Log Message:
-----------
[M68k] Fix atomic_cmp_swap patterns after #94845
Commit: 7ca52cde750c980c048cde2199c720431ec2acee
https://github.com/llvm/llvm-project/commit/7ca52cde750c980c048cde2199c720431ec2acee
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/lib/Sema/SemaOverload.cpp
Log Message:
-----------
[Sema] IsVectorConversion - merge isExtVectorType() and getAs<VectorType> calls. NFC.
Use getAs<ExtVectorType> directly to avoid duplicate getAs<> calls and static analyser warnings about dereferencing potentially null pointers.
Commit: 71e4d70f0bb04bae6c8521c711c770293fd228a5
https://github.com/llvm/llvm-project/commit/71e4d70f0bb04bae6c8521c711c770293fd228a5
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/www/cxx_dr_status.html
Log Message:
-----------
[clang][NFC] Update CWG issues list
Commit: 76c5158aed52bbf21980752e38262e925cd8db8e
https://github.com/llvm/llvm-project/commit/76c5158aed52bbf21980752e38262e925cd8db8e
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/test/CodeGen/RISCV/pr95284.ll
M llvm/test/CodeGen/X86/avg.ll
Log Message:
-----------
[DAG] combineShiftToAVG - don't create avgfloor with scalar constant operands unless legal.
Converting to avgfloor and then expanding it back to shift+add later is likely to prevent other folds (re-association and value-tracking in particular) in the meantime.
Fixes #95284
Commit: 9b46838836a093d6732d47261b820f3b7bbf8a5f
https://github.com/llvm/llvm-project/commit/9b46838836a093d6732d47261b820f3b7bbf8a5f
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M flang/lib/Frontend/CMakeLists.txt
M flang/lib/Frontend/FrontendActions.cpp
M flang/test/Transforms/debug-local-var-2.f90
Log Message:
-----------
Reapply "[Flang] Use PrintModulePass to print LLVM IR from the frontend (#95142)" (#95306)
Fixed the link error that previously occurred on buildbots by adding
IRPrinter to the linked components of the Flang frontend.
This reverts commit 1d4523505e54415a270d7b13b6e203fc25585c5b.
Commit: 4f09ac7705b3b24492d521a97571404c2e9a1f8e
https://github.com/llvm/llvm-project/commit/4f09ac7705b3b24492d521a97571404c2e9a1f8e
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/lib/Lex/Lexer.cpp
M clang/test/Lexer/cxx2c-raw-strings.cpp
Log Message:
-----------
Fix off-by-one issue found by post-commit review
Commit: ffab938f50fa999f2218976f7de78cf8e4f70d4e
https://github.com/llvm/llvm-project/commit/ffab938f50fa999f2218976f7de78cf8e4f70d4e
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/AST/Interp/vectors.cpp
Log Message:
-----------
[clang][Interp] Handle BooleanToSignedIntegral casts
Commit: 3d1705d00c5f183b73d69aa0ceca481845e82fe8
https://github.com/llvm/llvm-project/commit/3d1705d00c5f183b73d69aa0ceca481845e82fe8
Author: Janek van Oirschot <janek.vanoirschot at amd.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
A llvm/lib/Target/AMDGPU/Utils/AMDGPUDelayedMCExpr.cpp
A llvm/lib/Target/AMDGPU/Utils/AMDGPUDelayedMCExpr.h
M llvm/lib/Target/AMDGPU/Utils/AMDGPUPALMetadata.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUPALMetadata.h
M llvm/lib/Target/AMDGPU/Utils/AMDKernelCodeTUtils.cpp
M llvm/lib/Target/AMDGPU/Utils/CMakeLists.txt
A llvm/lib/Target/AMDGPU/Utils/SIDefinesUtils.h
M llvm/test/CodeGen/AMDGPU/amdpal-es.ll
M llvm/test/CodeGen/AMDGPU/amdpal-gs.ll
M llvm/test/CodeGen/AMDGPU/amdpal-hs.ll
M llvm/test/CodeGen/AMDGPU/amdpal-ls.ll
M llvm/test/CodeGen/AMDGPU/amdpal-vs.ll
M llvm/unittests/Target/AMDGPU/CMakeLists.txt
A llvm/unittests/Target/AMDGPU/PALMetadata.cpp
Log Message:
-----------
MCExpr-ify AMDGPU PALMetadata (#93236)
Allows MCExprs as passed values to PALMetadata. Also adds related
`DelayedMCExpr` classes which serve as a pseudo-fixup to resolve MCExprs
as late as possible (i.e., right before emit through string or blob,
where they should be resolvable).
Commit: 24c6579ed0cb05b4e54520d118ab3a0b70693f8d
https://github.com/llvm/llvm-project/commit/24c6579ed0cb05b4e54520d118ab3a0b70693f8d
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/Utils/BUILD.gn
M llvm/utils/gn/secondary/llvm/unittests/Target/AMDGPU/BUILD.gn
Log Message:
-----------
[gn build] Port 3d1705d00c5f
Commit: 846103c7e3899a654c470fa360b22d35df888427
https://github.com/llvm/llvm-project/commit/846103c7e3899a654c470fa360b22d35df888427
Author: Spenser Bauman <sbauman at mathworks.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
M mlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp
M mlir/test/Conversion/MemRefToLLVM/memref-to-llvm.mlir
M mlir/test/Dialect/MemRef/expand-strided-metadata.mlir
Log Message:
-----------
[mlir][memref] Unranked support for extract_aligned_pointer_as_index (#93908)
memref.extract_aligned_pointer_as_index currently does not support
unranked inputs. This lack of support interferes with the folding
operations in the expand-strided-metadata pass.
%r = memref.reinterpret_cast %arg0 to
offset: [0],
sizes: [],
strides: [] : memref<*xf32> to memref<f32>
%i = memref.extract_aligned_pointer_as_index %r : memref<f32> -> index
Patterns like this occur when bufferizing operations on unranked
tensors.
This change modifies the extract_aligned_pointer_as_index operation to
support unranked inputs with corresponding support in the MemRef->LLVM
conversion.
Co-authored-by: Spenser Bauman <sabauma at fastmail>
Commit: b5c850f718e1bc4d1aa0588f65ae53086f978e1a
https://github.com/llvm/llvm-project/commit/b5c850f718e1bc4d1aa0588f65ae53086f978e1a
Author: Daniel Bertalan <dani at danielbertalan.dev>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M lld/MachO/SyntheticSections.cpp
M lld/test/MachO/arm64-reloc-pointer-to-got.s
M lld/test/MachO/compact-unwind-both-local-and-dylib-personality.s
M lld/test/MachO/compact-unwind.s
M lld/test/MachO/dead-strip.s
M lld/test/MachO/invalid/compact-unwind-personalities.s
Log Message:
-----------
[lld-macho] Mark local personality functions as `INDIRECT_SYMBOL_LOCAL` (#95171)
This expands on the fix in 4e572db. The issue is pretty similar: we
might put symbols in the GOT which don't need run-time binding, locally
defined personality symbols in this case. We should set their indirect
symbol table entries to `INDIRECT_SYMBOL_LOCAL` to help `strip` remove
these local names from the symbol table.
Checking if the symbol is private-extern doesn't cover all cases; it can
also be a non-weak extern function too, for instance; use the
`needsBinding()` helper to determine it. This was the case for the
personality function in statically linked Rust executables.
The extra non-`LOCAL` symbols triggered a bug in Apple's `strip`
implementation. As the indirect value for the personality function was
not set to the flag, but the symbol didn't require binding, it tried to
make the symbol local, overwriting the GOT entry with the function's
address in the process. This normally wouldn't be a problem, but if
chained fixups are used, the fixup also encodes the offset to the next
fixup, and it effectively zeroed this offset out, causing the remaining
relocations on the page to not be performed by dyld.
This caused the crash in https://issues.chromium.org/issues/325410295
The change in tests is a bit ugly, as a lot of symbol information is now
removed by turning more symbols `LOCAL`.
Commit: 00798354c553d48d27006a2b06a904bd6013e31b
https://github.com/llvm/llvm-project/commit/00798354c553d48d27006a2b06a904bd6013e31b
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlan.cpp
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
M llvm/lib/Transforms/Vectorize/VPlanValue.h
M llvm/test/Transforms/LoopVectorize/RISCV/riscv-vector-reverse.ll
Log Message:
-----------
[VPlan] First step towards VPlan cost modeling. (#92555)
This adds a new interface to compute the cost of recipes, VPBasicBlocks,
VPRegionBlocks and VPlan, initially falling back to the legacy cost model
for all recipes. Follow-up patches will gradually migrate recipes to
compute their own costs step-by-step.
It also adds getBestPlan function to LVP which computes the cost of all
VPlans and picks the most profitable one together with the most
profitable VF.
The VPlan selected by the VPlan cost model is executed and there is an
assert to catch cases where the VPlan cost model and the legacy cost
model disagree. Even though I checked a number of different build
configurations on AArch64 and X86, there may be some differences
that have been missed.
Additional discussions and context can be found in @arcbbb's
https://github.com/llvm/llvm-project/pull/67647 and
https://github.com/llvm/llvm-project/pull/67934 which is an earlier
version of the current PR.
PR: https://github.com/llvm/llvm-project/pull/92555
Commit: a959ad155343095fc8f73aa397a72e3ced1df354
https://github.com/llvm/llvm-project/commit/a959ad155343095fc8f73aa397a72e3ced1df354
Author: Him188 <tguan at nvidia.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp
M llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.h
M llvm/test/CodeGen/AArch64/GlobalISel/regbank-fp-use-def.mir
M llvm/test/CodeGen/AArch64/GlobalISel/regbankselect-fp-loads.mir
Log Message:
-----------
[AArch64][GISel] Assign G_LOAD defs into FPR if they feed FP instructions indirectly via PHI (#94618)
If G_LOAD def is used by a PHI, recursively check if the def of PHI is
used by any instruction that only uses FP oprand. If so, assign the def
of G_LOAD to FPR.
In other words, this change helps RBS to assign G_LOAD defs into FPR if
they are later on used in an FP instruction **indirectly via PHI**, to
avoid unnecessary copies. Before this patch, we only considered direct
usages.
It helps to fix GISel regression in TSVC kernel s3110.
GISel was 50% slower than SDAG before this change. Now GISel and SDAG
have the same runtime.
Commit: ae73706075bb2ea4bbc87c4b33f3b681555f8dfb
https://github.com/llvm/llvm-project/commit/ae73706075bb2ea4bbc87c4b33f3b681555f8dfb
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/SemaCXX/cxx0x-initializer-references.cpp
Log Message:
-----------
[clang][Interp] Fix references to objects
The previous commit tried to handle this in a way that's too general.
Move the !Initializing case down to the array type.
Commit: 0aeaa2d93dc24da427645395b9b228b15409f551
https://github.com/llvm/llvm-project/commit/0aeaa2d93dc24da427645395b9b228b15409f551
Author: agozillon <Andrew.Gozillon at amd.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/ReplaceConstant.h
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/lib/IR/ReplaceConstant.cpp
A offload/test/offloading/fortran/dtype-array-constant-index-map.f90
Log Message:
-----------
[OMPIRBuilder][OpenMP][LLVM] Modify and use ReplaceConstant utility in convertTarget (#94541)
This PR seeks to expand/replace the Constant -> Instruction conversion
that needs to occur inside of the OpenMP Target kernel generation to
allow kernel argument replacement of uses within the kernel (cannot
replace constant uses within constant expressions with non-constants).
It does so by making use of the new-ish utility
convertUsersOfConstantsToInstructions which is a much more expansive
version of what the smaller "version" of the function I wrote does,
effectively expanding uses of the input argument that are constant
expressions into instructions so that we can replace with the
appropriate kernel argument.
Also alters convertUsersOfConstantsToInstructions to optionally
restrict the replacement to a function and optionally leave
dead constants alone, the latter is necessary when lowering from
MLIR as we cannot be sure we can remove the constants at this
stage, even if rewritten to instructions the ModuleTranslation may
maintain links to the original constants and utilise them in further
lowering steps (as when we're lowering the kernel, the module is
still in the process of being lowered). This can result in unusual
ICEs later. These dead constants can be tidied up later (and
appear to be in subsequent lowering from checking with
emit-llvm).
Commit: 28d6aa90b085469e5b6355f8d739df733ebc4400
https://github.com/llvm/llvm-project/commit/28d6aa90b085469e5b6355f8d739df733ebc4400
Author: ryankima <ryankima at umich.edu>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M mlir/lib/Conversion/BufferizationToMemRef/BufferizationToMemRef.cpp
M mlir/test/Conversion/BufferizationToMemRef/bufferization-to-memref.mlir
Log Message:
-----------
[mlir][bufferization] Unranked memref support for clone (#94757)
bufferization.clone does not currently support lowering to memref for
unranked memrefs. This interferes with bufferizing unranked tensors at
boundaries where a clone operation is needed.
```
func.func @foo(%input: memref<*xf32>, %shape: memref<?xindex>) -> memref<*xf32>
{
%reshape = memref.reshape %input(%shape) : (memref<*xf32>, memref<?xindex>) -> memref<*xf32>
%copy = bufferization.clone %reshape : memref<*xf32> to memref<*xf32>
return %copy : memref<*xf32>
}
```
Patterns such as that are possibly when bufferizing functions with input
and output unranked tensors. The clone operation currently fails to
legalize during the bufferization-to-memref conversion with unranked
memrefs.
This change modifies the conversion of bufferization.clone to memref to
generate the runtime calculations and allocation to allow for cloning an
unranked memref.
Commit: d2528c08bb6e58540672d19ac28293251b53386a
https://github.com/llvm/llvm-project/commit/d2528c08bb6e58540672d19ac28293251b53386a
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/TargetLowering.h
A llvm/test/CodeGen/X86/pr95274.ll
Log Message:
-----------
[DAG] getOperationAction - always return Custom action for target opcodes (#95401)
The target must be responsible for any expansion that needs to be performed for extended types etc.
Fixes #95274
Commit: 4afd2860222ee0413213dda05e089d5aa2773c42
https://github.com/llvm/llvm-project/commit/4afd2860222ee0413213dda05e089d5aa2773c42
Author: Hans Wennborg <hans at chromium.org>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M compiler-rt/test/asan/TestCases/Linux/stack-trace-dlclose.cpp
M compiler-rt/test/asan/TestCases/Posix/strndup_oob_test.cpp
M compiler-rt/test/asan/TestCases/calloc-overflow.cpp
M compiler-rt/test/asan/TestCases/debug_stacks.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/strcpy-overlap.cpp
M compiler-rt/test/asan/TestCases/strdup_oob_test.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:
-----------
Revert "[asan] Make frame number checks more flexable (#94307)"
It broke tests on Mac, see comment on the PR.
> Use more flexable regex ([0-9]+) for frame number checks. Since the
> frame numbers might change if some functions are not inlined.
>
> Similar to
> *
> https://github.com/llvm/llvm-project/commit/0360f3218a13666123849f6699216bdbebe64833
> *
> https://github.com/llvm/llvm-project/commit/404bc5ca2ae5fffa45d5240dcf52b7f134988867
This reverts commit 98174fb6ec9784d9eb7be313ee1317ca6e703d90
and the follow-up commit 86d8aec97fd9e009e9b360ffeee744d3acce730d.
Commit: 69bc159142c6e4ed168e32a6168392d396f891de
https://github.com/llvm/llvm-project/commit/69bc159142c6e4ed168e32a6168392d396f891de
Author: Balazs Benics <benicsbalazs at gmail.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h
M clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
M clang/lib/StaticAnalyzer/Core/MemRegion.cpp
M clang/test/Analysis/Inputs/system-header-simulator-for-simple-stream.h
A clang/test/Analysis/fread.c
Log Message:
-----------
[analyzer] Refine invalidation caused by `fread` (#93408)
This change enables more accurate modeling of the write effects of
`fread`. In particular, instead of invalidating the whole buffer, in a
best-effort basis, we would try to invalidate the actually accesses
elements of the buffer. This preserves the previous value of the buffer
of the unaffected slots. As a result, diagnose more uninitialized buffer
uses for example.
Currently, this refined invalidation only triggers for `fread` if and
only if the `count` parameter and the buffer pointer's index component
are concrete or perfectly-constrained symbols.
Additionally, if the `fread` would read more than 64 elements, the whole
buffer is invalidated as before. This is to have safeguards against
performance issues.
Refer to the comments of the assertions in the following example to see
the changes in the diagnostics:
```c++
void demo() {
FILE *fp = fopen("/home/test", "rb+");
if (!fp) return;
int buffer[10]; // uninitialized
int read_items = fread(buffer+1, sizeof(int), 5, fp);
if (5 == read_items) {
int v1 = buffer[1]; // Unknown value but not garbage.
clang_analyzer_isTainted(v1); // expected-warning {{YES}} <-- Would be "NO" without this patch.
clang_analyzer_dump(v1); // expected-warning {{conj_}} <-- Not a "derived" symbol, so it's directly invalidated now.
int v0 = buffer[0]; // expected-warning {{Assigned value is garbage or undefined}} <-- Had no report here before.
(void)(v1 + v0);
} else {
// If 'fread' had an error.
int v0 = buffer[0]; // expected-warning {{Assigned value is garbage or undefined}} <-- Had no report here before.
(void)v0;
}
fclose(fp);
}
```
CPP-3247, CPP-3802
Co-authored by Marco Borgeaud (marco-antognini-sonarsource)
Commit: a9883739571f0adbe33219a74a934be7f8bd4f62
https://github.com/llvm/llvm-project/commit/a9883739571f0adbe33219a74a934be7f8bd4f62
Author: Dmitry Chernenkov <dmitryc at google.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/lib/CodeGen/MCDCState.h
Log Message:
-----------
[clang] Fix include for 7ead2d8c7e
clang/lib/CodeGen/MCDCState.h:33:11: error: no template named 'SmallVector' in namespace 'llvm'
33 | llvm::SmallVector<std::array<int, 2>> Indices;
| ~~~~~~^
Commit: ca05204f9aa258c5324d5675c7987c7e570168a0
https://github.com/llvm/llvm-project/commit/ca05204f9aa258c5324d5675c7987c7e570168a0
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/src/__support/threads/linux/CMakeLists.txt
M libc/test/IntegrationTest/test.cpp
Log Message:
-----------
[libc] fix aarch64 linux full build (#95358)
Commit: 8f795fc798f18d8e269a4a995210ec26803e6c97
https://github.com/llvm/llvm-project/commit/8f795fc798f18d8e269a4a995210ec26803e6c97
Author: Jannick Kremer <51118500+DeinAlptraum at users.noreply.github.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M .github/workflows/libclang-python-tests.yml
Log Message:
-----------
[libclang/python] Change minimum Python test version to 3.8 (#95210)
This fixes #95209
Commit: 3d35b94e3a9abcf5f703267c7653fd6ef39870b6
https://github.com/llvm/llvm-project/commit/3d35b94e3a9abcf5f703267c7653fd6ef39870b6
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/test/MC/Disassembler/X86/apx/rex2-format.txt
M llvm/test/MC/X86/apx/rex2-format-att.s
M llvm/test/MC/X86/apx/rex2-format-intel.s
Log Message:
-----------
[X86][test] Pre-commit tests for https://github.com/llvm/llvm-project/issues/95412
Commit: cc2dc0916ad6a00ebc9373a58854d77cf73af122
https://github.com/llvm/llvm-project/commit/cc2dc0916ad6a00ebc9373a58854d77cf73af122
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/test/CodeGenCUDA/managed-var.cu
M clang/test/CodeGenCXX/2011-12-19-init-list-ctor.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-pr12086.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp
M clang/test/CodeGenCXX/ms-inline-asm-fields.cpp
M clang/test/OpenMP/threadprivate_codegen.cpp
M llvm/include/llvm/IR/ConstantFold.h
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/lib/IR/ConstantFold.cpp
M llvm/lib/IR/Constants.cpp
Log Message:
-----------
Reapply [ConstantFold] Drop gep of gep fold entirely (#95126)
Reapplying without changes. The flang+openmp buildbot failure
should be addressed by https://github.com/llvm/llvm-project/pull/94541.
-----
This is a followup to https://github.com/llvm/llvm-project/pull/93823
and drops the DataLayout-unaware GEP of GEP fold entirely. All cases are
now left to the DataLayout-aware constant folder, which will fold
everything to a single i8 GEP.
We didn't have any test coverage for this fold in LLVM, but some Clang
tests change.
Commit: 93318a8b7369dde8762dcba0e8789b95b180e5ed
https://github.com/llvm/llvm-project/commit/93318a8b7369dde8762dcba0e8789b95b180e5ed
Author: alx32 <103613512+alx32 at users.noreply.github.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M lld/MachO/ObjC.cpp
M lld/MachO/ObjC.h
M lld/test/MachO/objc-category-merging-minimal.s
Log Message:
-----------
[lld-macho] Add swift support to ObjC category merger (#95124)
Currently ObjC category merger only supports categories defined in ObjC.
But swift supports generating ObjC categories also. This change adds
supports for the later categories.
Commit: 444dd9b093914a07467513760792aa2690312997
https://github.com/llvm/llvm-project/commit/444dd9b093914a07467513760792aa2690312997
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
A llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fadd.ll
A llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmax.ll
A llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmin.ll
M llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fadd.ll
A llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmax.ll
A llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmin.ll
A llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fsub.ll
A llvm/test/CodeGen/AMDGPU/global-atomicrmw-fadd-wrong-subtarget.ll
A llvm/test/CodeGen/AMDGPU/global-atomicrmw-fadd.ll
A llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmax.ll
A llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmin.ll
A llvm/test/CodeGen/AMDGPU/global-atomicrmw-fsub.ll
R llvm/test/CodeGen/AMDGPU/global-atomics-fp.ll
A llvm/test/CodeGen/AMDGPU/local-atomicrmw-fadd.ll
A llvm/test/CodeGen/AMDGPU/local-atomicrmw-fmax.ll
A llvm/test/CodeGen/AMDGPU/local-atomicrmw-fmin.ll
A llvm/test/CodeGen/AMDGPU/local-atomicrmw-fsub.ll
R llvm/test/CodeGen/AMDGPU/local-atomics-fp.ll
Log Message:
-----------
AMDGPU: Cleanup FP atomicrmw tests and cover fmin/fmax (#95131)
We apparently are missing codegen support for atomicrmw fmin/fmax. Also
clean up FP atomicrmw tests
to be more consistent and comprehensively test the relevant cases
Commit: 5dc99af4879e84660e27968aaf6e36c00fbe23f4
https://github.com/llvm/llvm-project/commit/5dc99af4879e84660e27968aaf6e36c00fbe23f4
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.cpp
M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
Log Message:
-----------
[llvm] Use llvm::is_contained (NFC) (#95362)
Commit: 525c25acd364f018b4fa55e941bd702587478b1c
https://github.com/llvm/llvm-project/commit/525c25acd364f018b4fa55e941bd702587478b1c
Author: Helena Kotas <hekotas at microsoft.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVMergeRegionExitTargets.cpp
Log Message:
-----------
[SPIRV] Fix warning in SPIRVMergeRegionExitTargets.cpp (#95283)
Fix warning in SPIRVMergeRegionExitTargets.cpp about "non-void function
does not return a value in all control paths" by changing assert to
llvm_unreachable.
Commit: 91a55cf5adbe37d33dc7b3b90de4bbb0b90761a1
https://github.com/llvm/llvm-project/commit/91a55cf5adbe37d33dc7b3b90de4bbb0b90761a1
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp
M llvm/test/MC/Disassembler/X86/apx/rex2-format.txt
Log Message:
-----------
[X86][MC] Not decode 0xf3 as rep prefix if it's right before REX2
This fixes https://github.com/llvm/llvm-project/issues/95412
Commit: 48f8d95f337a9c97c5d00eb15eb43fdaa9b23235
https://github.com/llvm/llvm-project/commit/48f8d95f337a9c97c5d00eb15eb43fdaa9b23235
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M mlir/lib/Target/LLVMIR/ConvertToLLVMIR.cpp
M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
M mlir/test/Target/LLVMIR/llvmir-debug.mlir
M mlir/test/lib/Dialect/Test/TestToLLVMIRTranslation.cpp
Log Message:
-----------
[MLIR][DebugInfo] Set debug info format in MLIR->IR translation (#95329)
MLIR's LLVM dialect does not internally support debug records, only
converting to/from debug intrinsics. To smooth the transition from
intrinsics to records, there is a step prior to IR->MLIR translation
that switches the IR module to intrinsic-form; this patch adds the
equivalent conversion to record-form at MLIR->IR translation.
This is a partial reapply of
https://github.com/llvm/llvm-project/pull/95098 which can be landed once
the flang frontend has been updated by
https://github.com/llvm/llvm-project/pull/95306. This is the counterpart
to the earlier patch https://github.com/llvm/llvm-project/pull/89735
which handled the IR->MLIR conversion.
Commit: ae4677c81aacbef17a5ecd3e693c4bad9f267c21
https://github.com/llvm/llvm-project/commit/ae4677c81aacbef17a5ecd3e693c4bad9f267c21
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
M llvm/test/CodeGen/RISCV/rvv/vfmv.v.f.ll
Log Message:
-----------
[RISCV] Remove support for vfmv.v.f with bf16 type. (#95352)
This isn't used by clang and isn't in the rvv-intrinsic-doc.
The instruction requires Zvfh.
If the F register passed to the instruction isn't nan-boxed correctly,
the instruction will generate the wrong nan. So the instruction isn't a
generic move FPR16 to vector register instruction.
Commit: 9e5428e6b02c77fb18c4bdf688a216c957fd7a53
https://github.com/llvm/llvm-project/commit/9e5428e6b02c77fb18c4bdf688a216c957fd7a53
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/src/__support/threads/linux/CMakeLists.txt
M libc/test/IntegrationTest/test.cpp
Log Message:
-----------
Revert "[libc] fix aarch64 linux full build (#95358)" (#95419)
Commit: dc8e078a59a65a8e2b4dd13954bfa497b30ef0e8
https://github.com/llvm/llvm-project/commit/dc8e078a59a65a8e2b4dd13954bfa497b30ef0e8
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-select-bf16.ll
A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vpmerge-bf16.ll
A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vselect-vp-bf16.ll
A llvm/test/CodeGen/RISCV/rvv/select-bf16.ll
A llvm/test/CodeGen/RISCV/rvv/vpmerge-sdnode-bf16.ll
A llvm/test/CodeGen/RISCV/rvv/vselect-bf16.ll
A llvm/test/CodeGen/RISCV/rvv/vselect-vp-bf16.ll
Log Message:
-----------
[RISCV] SPLAT_VECTOR of bf16 should not require Zvfhmin. (#95357)
The custom lowering converts to f32, splats as f32, then narrows the
vector to bf16. None of that requires Zvfhmin.
Add new bf16 test files without Zvfh/Zvfmin in their RUN lines. I will
remove the bf16 tests from other files in a follow up patch.
Commit: a8f80707b4bd3e87f64ce679e2d46de84937968b
https://github.com/llvm/llvm-project/commit/a8f80707b4bd3e87f64ce679e2d46de84937968b
Author: Renaud Kauffmann <rkauffmann at nvidia.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M flang/test/Analysis/AliasAnalysis/alias-analysis-9.fir
Log Message:
-----------
Adding a couple of pointer components tests (#95287)
Ahead of https://github.com/llvm/llvm-project/pull/94242 and as
requested in the technical call, I am adding a couple of tests for
pointer components that I would like to make sure are covered.
Commit: 1fb1fcf34396808e5e88d9d6a3fe6b207188f671
https://github.com/llvm/llvm-project/commit/1fb1fcf34396808e5e88d9d6a3fe6b207188f671
Author: David Stuttard <david.stuttard at amd.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/VOP3PInstructions.td
M llvm/test/CodeGen/AMDGPU/integer-mad-patterns.ll
M llvm/test/CodeGen/AMDGPU/reassoc-mul-add-1-to-mad.ll
Log Message:
-----------
Add mad support for v_pk_* 16 bit integer (#95104)
Commit: 19b43e1757b4fd3d0f188cf8a08e9febb0dbec2f
https://github.com/llvm/llvm-project/commit/19b43e1757b4fd3d0f188cf8a08e9febb0dbec2f
Author: Amy Kwan <amy.kwan1 at ibm.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
A llvm/test/CodeGen/PowerPC/merge-private.ll
Log Message:
-----------
[PowerPC][NFC] Pre-commit test case to prepare for patch to merge internal and private global data
Commit: abcbbe711410da051126ca5b11a1ea227cb238f8
https://github.com/llvm/llvm-project/commit/abcbbe711410da051126ca5b11a1ea227cb238f8
Author: Zhaoshi Zheng <zhaoshiz at quicinc.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
M mlir/test/Conversion/VectorToLLVM/vector-reduction-to-llvm.mlir
Log Message:
-----------
[MLIR][VectorToLLVM] Handle scalable dim in createVectorLengthValue() (#93361)
LLVM's Vector Predication Intrinsics require an explicit vector length
parameter:
https://llvm.org/docs/LangRef.html#vector-predication-intrinsics.
For a scalable vector type, this should be caculated as VectorScaleOp
multiplied by base vector length, e.g.: for <[4]xf32> we should return:
vscale * 4.
Commit: 9f70cd83897b36e5628057dfef2855a0b9045766
https://github.com/llvm/llvm-project/commit/9f70cd83897b36e5628057dfef2855a0b9045766
Author: cmtice <cmtice at google.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M lldb/include/lldb/Core/ValueObject.h
M lldb/include/lldb/Utility/Scalar.h
M lldb/source/API/SBValue.cpp
M lldb/source/Core/ValueObject.cpp
Log Message:
-----------
[LLDB] Add more helper functions to ValueObject class. (#87197)
Create additional helper functions for the ValueObject class, for:
- returning the value as an APSInt or APFloat
- additional type casting options
- additional ways to create ValueObjects from various types of data
- dereferencing a ValueObject
These helper functions are needed for implementing the Data Inspection
Language, described in
https://discourse.llvm.org/t/rfc-data-inspection-language/69893
Commit: 451f3fcffdeb95db8a42b1403bdf9d95dda0e6d0
https://github.com/llvm/llvm-project/commit/451f3fcffdeb95db8a42b1403bdf9d95dda0e6d0
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/test/tools/llvm-dwarfdump/X86/locstats.ll
M llvm/tools/llvm-dwarfdump/Statistics.cpp
Log Message:
-----------
[DwarfDump] Add new set of line-table-related statistics to llvm-dwarfdump (#93289)
This patch adds a new set of statistics to llvm-dwarfdump that provide
additional information about .debug_line regarding the number of bytes
covered by the line table (and how many of those are covered by line 0
entries), and the number of entries within the table and how many of
those are is_stmt, unique, or unique and non-line-0 (where "uniqueness"
is based on file, line, and column only).
Collectively these give a little more insight into the state of debug
line information, rather than variables (as most of the dwarfdump
statistics are currently oriented towards). I've added all of the stats
that were useful to some degree, but I think the most generally useful
stat is "unique line entries", since it gives the most straightforward
indication of regressions, i.e. when the number goes down it means that
fewer source lines are reachable in the program.
Commit: 890ab282781c3f78e98b5fc73a9f42d53b2220eb
https://github.com/llvm/llvm-project/commit/890ab282781c3f78e98b5fc73a9f42d53b2220eb
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/include/llvm/Support/KnownBits.h
Log Message:
-----------
[KnownBits] Remove commonBits (#95430)
commonBits has been deprecated since:
commit d8229e2f1424504f7ea81a0dcc7326d122be2872
Author: Jay Foad <jay.foad at amd.com>
Date: Wed May 10 16:50:33 2023 +0100
Commit: 8f2a4e83554abb2fb67f11d95428c3ff3147e88b
https://github.com/llvm/llvm-project/commit/8f2a4e83554abb2fb67f11d95428c3ff3147e88b
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M lldb/include/lldb/Utility/RegularExpression.h
M lldb/include/lldb/lldb-enumerations.h
M lldb/source/API/SBTarget.cpp
M lldb/source/Utility/RegularExpression.cpp
M lldb/test/API/lang/cpp/class_static/TestStaticVariables.py
Log Message:
-----------
[lldb] Support case-insensitive regex matches (#95350)
Support case-insensitive regex matches for
`SBTarget::FindGlobalFunctions` and `SBTarget::FindGlobalVariables`.
Commit: 46080abe9b136821eda2a1a27d8a13ceac349f8c
https://github.com/llvm/llvm-project/commit/46080abe9b136821eda2a1a27d8a13ceac349f8c
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlan.cpp
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
M llvm/lib/Transforms/Vectorize/VPlanValue.h
M llvm/test/Transforms/LoopVectorize/RISCV/riscv-vector-reverse.ll
Log Message:
-----------
Revert "[VPlan] First step towards VPlan cost modeling. (#92555)"
This reverts commit 00798354c553d48d27006a2b06a904bd6013e31b.
Causes crashes, see comments on https://github.com/llvm/llvm-project/pull/92555.
Commit: 93c8e0f2eb347e219077ddd4428faf9a89fff480
https://github.com/llvm/llvm-project/commit/93c8e0f2eb347e219077ddd4428faf9a89fff480
Author: Kerry McLaughlin <kerry.mclaughlin at arm.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.h
M llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.cpp
M llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.h
M llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
M llvm/test/CodeGen/AArch64/outlining-with-streaming-mode-changes.ll
M llvm/test/CodeGen/AArch64/sme-call-streaming-compatible-to-normal-fn-wihout-sme-attr.ll
M llvm/test/CodeGen/AArch64/sme-disable-gisel-fisel.ll
M llvm/test/CodeGen/AArch64/sme-lazy-save-call.ll
M llvm/test/CodeGen/AArch64/sme-pstate-sm-changing-call-disable-coalescing.ll
M llvm/test/CodeGen/AArch64/sme-streaming-body-streaming-compatible-interface.ll
M llvm/test/CodeGen/AArch64/sme-streaming-body.ll
M llvm/test/CodeGen/AArch64/sme-streaming-compatible-interface.ll
M llvm/test/CodeGen/AArch64/sme-streaming-interface.ll
M llvm/test/CodeGen/AArch64/sme-streaming-mode-changing-call-disable-stackslot-scavenging.ll
A llvm/test/CodeGen/AArch64/sme-vg-to-stack.ll
M llvm/test/CodeGen/AArch64/streaming-compatible-memory-ops.ll
Log Message:
-----------
[AArch64][SME] Save VG for unwind info when changing streaming-mode (#83301)
If a function requires any streaming-mode change, the vector granule
value must be stored to the stack and unwind info must also describe the
save of VG to this location.
This patch adds VG to the list of callee-saved registers and increases
the
callee-saved stack size if the function requires streaming-mode changes.
A new type is added to RegPairInfo, which is also used to skip restoring
the register used to spill the VG value in the epilogue.
See
https://github.com/ARM-software/abi-aa/blob/main/aadwarf64/aadwarf64.rst
Commit: 8f57f6895724f858c9db924200524fad86cc4f11
https://github.com/llvm/llvm-project/commit/8f57f6895724f858c9db924200524fad86cc4f11
Author: Adrian Prantl <aprantl at apple.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Darwin.cpp
M clang/test/Driver/debug-options.c
Log Message:
-----------
Bump the DWARF version number to 5 on Darwin. (#95164)
The default debug info format for newer versions of Darwin is DWARF 5.
https://developer.apple.com/documentation/xcode-release-notes/xcode-16-release-notes
rdar://110925733
(relanding 8f6acd973a38da6dce45faa676cbb51da37f72e5 with the bridgeOS platform check removed)
Commit: 0f53a59fa6b4a7828cf6dbabb0056a379cdc4d0a
https://github.com/llvm/llvm-project/commit/0f53a59fa6b4a7828cf6dbabb0056a379cdc4d0a
Author: Adrian Prantl <aprantl at apple.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Darwin.cpp
Log Message:
-----------
Fix typos in comment
Commit: 389142efa0976436aa9210af014a5c92bcb53cdd
https://github.com/llvm/llvm-project/commit/389142efa0976436aa9210af014a5c92bcb53cdd
Author: Florian Mayer <fmayer at google.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
A compiler-rt/test/hwasan/TestCases/hwasan_symbolize_stack_uas.cpp
Log Message:
-----------
[HWASan] add test for hwasan_symbolize of stack uas (#95186)
Commit: a2393435217a0c8832b6b34e13977bb29d722d39
https://github.com/llvm/llvm-project/commit/a2393435217a0c8832b6b34e13977bb29d722d39
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M libc/config/linux/aarch64/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/FPUtil/generic/CMakeLists.txt
M libc/src/__support/FPUtil/generic/sqrt.h
M libc/src/math/CMakeLists.txt
A libc/src/math/f16sqrtf.h
M libc/src/math/generic/CMakeLists.txt
M libc/src/math/generic/acosf.cpp
M libc/src/math/generic/acoshf.cpp
M libc/src/math/generic/asinf.cpp
M libc/src/math/generic/asinhf.cpp
A libc/src/math/generic/f16sqrtf.cpp
M libc/src/math/generic/hypotf.cpp
M libc/src/math/generic/powf.cpp
M libc/src/math/generic/sqrt.cpp
M libc/src/math/generic/sqrtf.cpp
M libc/src/math/generic/sqrtf128.cpp
M libc/src/math/generic/sqrtl.cpp
M libc/test/src/math/exhaustive/CMakeLists.txt
M libc/test/src/math/exhaustive/exhaustive_test.h
A libc/test/src/math/exhaustive/f16sqrtf_test.cpp
M libc/test/src/math/smoke/CMakeLists.txt
M libc/test/src/math/smoke/SqrtTest.h
A libc/test/src/math/smoke/f16sqrtf_test.cpp
M libc/utils/MPFRWrapper/CMakeLists.txt
M libc/utils/MPFRWrapper/MPFRUtils.cpp
M libc/utils/MPFRWrapper/MPFRUtils.h
Log Message:
-----------
[libc][math][c23] Add f16sqrtf C23 math function (#95251)
Part of #95250.
Commit: 6499c5d70c2514ff0997bac3b442bd0381591d77
https://github.com/llvm/llvm-project/commit/6499c5d70c2514ff0997bac3b442bd0381591d77
Author: Logikable <seanluchen at google.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M compiler-rt/lib/builtins/CMakeLists.txt
M compiler-rt/lib/builtins/atomic.c
Log Message:
-----------
[compiler-rt][builtins] Add opt-in pthread_mutex_t locks to libatomic (#95326)
When an uninstrumented libatomic is used with a TSan instrumented
memcpy, TSan may report a data race in circumstances where writes are
arguably safe.
This occurs because __atomic_compare_exchange won't be instrumented in
an uninstrumented libatomic, so TSan doesn't know that the subsequent
memcpy is race-free.
On the other hand, pthread_mutex_(un)lock will be intercepted by TSan,
meaning an uninstrumented libatomic will not report this false-positive.
pthread_mutexes also may try a number of different strategies to acquire
the lock, which may bound the amount of time a thread has to wait for a
lock during contention.
While pthread_mutex_lock has a larger overhead (due to the function call
and some dispatching), a dispatch to libatomic already predicates a lack
of performance guarantees.
Commit: 12f77e811b49b48df2c37f5036b05b5801a0535f
https://github.com/llvm/llvm-project/commit/12f77e811b49b48df2c37f5036b05b5801a0535f
Author: Florian Mayer <fmayer at google.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M compiler-rt/lib/hwasan/hwasan_flags.inc
M compiler-rt/lib/hwasan/hwasan_linux.cpp
R compiler-rt/test/hwasan/TestCases/Linux/fixed-shadow.c
Log Message:
-----------
Revert "[hwasan] Add fixed_shadow_base flag" (#95435)
Reverts llvm/llvm-project#73980
This broke static hwasan binaries in Android, for some reason the
fixed_shadow_base branch gets taken
Commit: e38729968bfa677b4c3a877df5fd042c25d802af
https://github.com/llvm/llvm-project/commit/e38729968bfa677b4c3a877df5fd042c25d802af
Author: Jannick Kremer <51118500+DeinAlptraum at users.noreply.github.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M .github/workflows/docs.yml
M .github/workflows/llvm-project-tests.yml
M .github/workflows/pr-code-format.yml
M .github/workflows/release-documentation.yml
M .github/workflows/release-doxygen.yml
Log Message:
-----------
[CI] Update setup-python action to v5 for GHA (#95414)
We currently receive a warning on all Github Actions workflows that use
`setup-python`, since they all use v4 of the action, which uses the
deprecated Node.js 16. This PR upgrades the action in all places to v5,
which uses Node.js 20 (see [setup-python release
page](https://github.com/actions/setup-python/releases/tag/v5.0.0))
Commit: 2fa6eaf93bfe5b638b6824f25ad1ebde686bd7d4
https://github.com/llvm/llvm-project/commit/2fa6eaf93bfe5b638b6824f25ad1ebde686bd7d4
Author: xur-llvm <59886942+xur-llvm at users.noreply.github.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/tools/llvm-profgen/PerfReader.cpp
M llvm/tools/llvm-profgen/PerfReader.h
M llvm/tools/llvm-profgen/ProfiledBinary.cpp
M llvm/tools/llvm-profgen/ProfiledBinary.h
Log Message:
-----------
[llvm-profgen] Add support for Linux kenrel profile (#92831)
Add the support to handle Linux kernel perf files. The functionality is
under option -kernel. Note that currently only main kernel (in vmlinux)
is handled: kernel modules are not handled.
---------
Co-authored-by: Han Shen <shenhan at google.com>
Commit: 3dd73dc1996940645620fd191110b57c49183531
https://github.com/llvm/llvm-project/commit/3dd73dc1996940645620fd191110b57c49183531
Author: Haowei <haowei at google.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/cmake/caches/Fuchsia-stage2.cmake
Log Message:
-----------
[Fuchsia] Add armv7m and armv8m runtimes to Fuchsia Clang toolchain (#95337)
This patch adds armv7m and armv8m runtimes to Fuchsia Clang toolchain
configuration.
Commit: 010c55bf44144f6370a0c4995c30ec51b06e1efe
https://github.com/llvm/llvm-project/commit/010c55bf44144f6370a0c4995c30ec51b06e1efe
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M flang/lib/Parser/expr-parsers.cpp
M flang/lib/Parser/program-parsers.cpp
M flang/lib/Parser/token-parsers.h
A flang/test/Parser/recovery01.f90
A flang/test/Parser/recovery02.f90
Log Message:
-----------
[flang] Improve error recovery in tricky situation (#95168)
When the very first statement of the executable part has syntax errors,
it's not at all obvious whether the error messages that are reported to
the user should be those from its failure to be the last statement of
the specification part or its failure to be the first executable
statement when both failures are at the same character in the cooked
character stream. Fortran makes this problem more exciting by allowing
statement function definitions look a lot like several executable
statements.
The current error recovery scheme for declaration constructs depends on
a look-ahead test to see whether the failed construct is actually the
first executable statement. This works fine when the first executable
statement is not in error, but should also allow for some error cases
that begin with the tokens of an executable statement.
This can obviously still go wrong for declaration constructs that are
unparseable and also have ambiguity in their leading tokens with
executable statements, but that seems to be a less likely case.
Also improves error recovery for parenthesized items.
Commit: 2414a90730d87c20d9ff8d7951ed24e3328124ed
https://github.com/llvm/llvm-project/commit/2414a90730d87c20d9ff8d7951ed24e3328124ed
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M flang/lib/Evaluate/intrinsics.cpp
M flang/test/Semantics/null01.f90
Log Message:
-----------
[flang] Catch NULL(MOLD=assumed-rank) (#95270)
An assumed-rank dummy argument is not an acceptable MOLD argument to
NULL(), whose result must have a known rank at compilation time.
Commit: 4b493e31b2c5d72d993f0e914adb711f3ce4ba05
https://github.com/llvm/llvm-project/commit/4b493e31b2c5d72d993f0e914adb711f3ce4ba05
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/include/llvm/ProfileData/InstrProf.h
M llvm/unittests/ProfileData/InstrProfTest.cpp
Log Message:
-----------
[ProfileData] Add getValueArrayForSite (#95335)
Without this patch, a typical traversal over the value data looks
like:
uint32_t NV = Func.getNumValueDataForSite(VK, S);
std::unique_ptr<InstrProfValueData[]> VD = Func.getValueForSite(VK, S);
for (uint32_t V = 0; V < NV; V++)
Do something with VD[V].Value and/or VD[V].Count;
This patch adds getValueArrayForSite, which returns
ArrayRef<InstrProfValueData>, so we can do:
for (const auto &V : Func.getValueArrayForSite(VK, S))
Do something with V.Value and/or V.Count;
I'm planning to migrate the existing uses of getValueForSite to
getValueArrayForSite in follow-up patches and remove getValueForSite
and getNumValueDataForSite.
Commit: f8fc883da951064a310e365680b4b567fad58ebc
https://github.com/llvm/llvm-project/commit/f8fc883da951064a310e365680b4b567fad58ebc
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M flang/include/flang/Optimizer/Builder/Runtime/RTBuilder.h
M flang/include/flang/Runtime/reduce.h
M flang/lib/Optimizer/Builder/Runtime/Reduction.cpp
M flang/runtime/reduce.cpp
M flang/test/Lower/Intrinsics/reduce.f90
M flang/unittests/Runtime/Reduction.cpp
Log Message:
-----------
[flang][runtime] Distinguish VALUE from non-VALUE operations in REDUCE (#95297)
Accommodate operations with VALUE dummy arguments in the runtime support
for the REDUCE intrinsic function by splitting most entry points into
Reduce...Ref and Reduce...Value variants.
Further work will be needed in lowering to call the ...Value entry
points.
Commit: 86bee819120b5ba4b7262c7800a88fbf904d4932
https://github.com/llvm/llvm-project/commit/86bee819120b5ba4b7262c7800a88fbf904d4932
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M flang/include/flang/Parser/provenance.h
M flang/include/flang/Parser/token-sequence.h
M flang/lib/Parser/prescan.cpp
M flang/lib/Parser/prescan.h
M flang/lib/Parser/provenance.cpp
M flang/lib/Parser/token-sequence.cpp
A flang/test/Preprocessing/ff-args.h
A flang/test/Preprocessing/ff-include-args.F
Log Message:
-----------
[flang][preprocessor] Fixed-form continuation across preprocessing di… (#95332)
…rective
Implement fixed-form line continuation when the continuation line is the
result of text produced by an #include or other preprocessing directive.
This accommodates the somewhat common practice of putting dummy or
actual arguments into a header file and #including it into several code
sites.
Fixes https://github.com/llvm/llvm-project/issues/78928.
Commit: 2146fd0d8d0ede4657354594c012e7543534cd87
https://github.com/llvm/llvm-project/commit/2146fd0d8d0ede4657354594c012e7543534cd87
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/include/clang/AST/ASTContext.h
M clang/lib/AST/ASTContext.cpp
M clang/lib/AST/CMakeLists.txt
M clang/lib/Basic/Targets/AArch64.cpp
M clang/lib/Basic/Targets/AArch64.h
M clang/test/CodeGen/aarch64-cpu-supports-target.c
M clang/test/CodeGen/aarch64-sme-intrinsics/aarch64-sme-attrs.cpp
M clang/test/CodeGen/aarch64-targetattr.c
M clang/test/CodeGen/attr-target-version.c
M clang/test/Sema/aarch64-neon-target.c
M llvm/include/llvm/TargetParser/AArch64TargetParser.h
M llvm/lib/TargetParser/AArch64TargetParser.cpp
Log Message:
-----------
Revert "Reland "[AArch64] Decouple feature dependency expansion. (#94279)" (#95231)"
This reverts commit 70510733af33c70ff7877eaf30d7718b9358a725.
The following code is now incorrectly rejected.
```
% cat neon.c
#include <arm_neon.h>
__attribute__((target("arch=armv8-a")))
uint64x2_t foo(uint64x2_t a, uint64x2_t b) {
return veorq_u64(a, b);
}
% newclang --target=aarch64-linux-gnu -c neon.c
neon.c:5:10: error: always_inline function 'veorq_u64' requires target feature 'outline-atomics', but would be inlined into function 'foo' that is compiled without support for 'outline-atomics'
5 | return veorq_u64(a, b);
| ^
1 error generated.
```
"+outline-atomics" seems misleading here.
Commit: cd94fa7e7595cbd0c22e898170d8ee9648b47285
https://github.com/llvm/llvm-project/commit/cd94fa7e7595cbd0c22e898170d8ee9648b47285
Author: Andrew Browne <browneee at google.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M compiler-rt/lib/dfsan/dfsan_custom.cpp
M compiler-rt/test/dfsan/sscanf.c
Log Message:
-----------
[DFSan] Fix sscanf checking that ordinary characters match. (#95333)
Fixes: #94769
Commit: d4a0154902fb9b0611ed857134b26a64a1d5ad1e
https://github.com/llvm/llvm-project/commit/d4a0154902fb9b0611ed857134b26a64a1d5ad1e
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang-tools-extra/clangd/TidyProvider.cpp
M clang/include/clang/Frontend/FrontendOptions.h
M clang/include/clang/InstallAPI/DylibVerifier.h
M clang/lib/InstallAPI/Visitor.cpp
M clang/lib/Serialization/ASTWriterStmt.cpp
M compiler-rt/test/dfsan/custom.cpp
M compiler-rt/test/orc/TestCases/Linux/ppc64/trivial-tls-pwr10.test
M flang/examples/FlangOmpReport/yaml_summarizer.py
M flang/lib/Semantics/check-omp-structure.cpp
M flang/test/Driver/mllvm_vs_mmlir.f90
M libc/src/__support/FPUtil/x86_64/FEnvImpl.h
M libc/src/stdio/printf_core/float_hex_converter.h
M libc/test/src/__support/str_to_float_comparison_test.cpp
M lld/test/wasm/data-segments.ll
M lldb/include/lldb/Expression/DWARFExpressionList.h
M lldb/include/lldb/Target/MemoryTagManager.h
M lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp
M lldb/test/API/CMakeLists.txt
M lldb/test/API/tools/lldb-server/memory-tagging/TestGdbRemoteMemoryTagging.py
M lldb/test/Shell/SymbolFile/DWARF/x86/DW_AT_data_bit_offset-DW_OP_stack_value.s
M llvm/include/llvm/CodeGen/LiveRegUnits.h
M llvm/include/llvm/CodeGen/MIRFormatter.h
M llvm/include/llvm/MC/MCAsmInfo.h
M llvm/include/llvm/Support/raw_socket_stream.h
M llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
M llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/FileCheck/FileCheck.cpp
M llvm/lib/IR/DebugInfo.cpp
M llvm/lib/MC/MCPseudoProbe.cpp
M llvm/lib/Support/VirtualFileSystem.cpp
M llvm/lib/Support/raw_socket_stream.cpp
M llvm/lib/Target/ARM/ARMISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVMachineFunctionInfo.h
M llvm/lib/TargetParser/RISCVISAInfo.cpp
M llvm/lib/TextAPI/Utils.cpp
M llvm/lib/Transforms/IPO/Attributor.cpp
M llvm/lib/Transforms/IPO/SampleProfileProbe.cpp
M llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
M llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
M llvm/test/CodeGen/X86/AMX/amx-greedy-ra.ll
M llvm/test/CodeGen/X86/apx/shift-eflags.ll
M llvm/test/CodeGen/X86/merge-consecutive-stores-nt.ll
M llvm/test/CodeGen/X86/shift-eflags.ll
M llvm/test/Transforms/InstSimplify/constant-fold-fp-denormal.ll
M llvm/test/Transforms/LoopVectorize/LoongArch/defaults.ll
M llvm/test/Transforms/LoopVectorize/RISCV/defaults.ll
M llvm/test/Transforms/SeparateConstOffsetFromGEP/split-gep-or-as-add.ll
M llvm/test/Verifier/alloc-size-failedparse.ll
M llvm/test/tools/llvm-ar/windows-path.test
M llvm/test/tools/llvm-objcopy/ELF/mirror-permissions-win.test
M llvm/tools/llvm-cov/CodeCoverage.cpp
M llvm/tools/llvm-profgen/PerfReader.cpp
M llvm/unittests/Support/Path.cpp
M mlir/include/mlir/Analysis/Presburger/IntegerRelation.h
M mlir/include/mlir/Analysis/Presburger/PresburgerSpace.h
M mlir/include/mlir/Dialect/OpenMP/OpenMPInterfaces.h
M mlir/lib/Analysis/Presburger/PresburgerSpace.cpp
M mlir/lib/Conversion/GPUCommon/GPUOpsLowering.h
M mlir/lib/Dialect/LLVMIR/IR/BasicPtxBuilderInterface.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_reduce_custom_prod.mlir
M mlir/test/Target/LLVMIR/omptarget-constant-alloca-raise.mlir
M openmp/tools/Modules/FindOpenMPTarget.cmake
Log Message:
-----------
[llvm-project] Fix typo "seperate" (#95373)
Commit: c7b5be86f00beac6d806318888c4198986b2c84c
https://github.com/llvm/llvm-project/commit/c7b5be86f00beac6d806318888c4198986b2c84c
Author: MaheshRavishankar <1663364+MaheshRavishankar at users.noreply.github.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M mlir/include/mlir/Interfaces/TilingInterface.td
Log Message:
-----------
[mlir][TilingInterface] Update documentation for `TilingInterface.td`. (#95178)
Commit: 52d29eb2874580f0fe96e5cbb96faffbbdc432a7
https://github.com/llvm/llvm-project/commit/52d29eb2874580f0fe96e5cbb96faffbbdc432a7
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/test/Transforms/LoopVectorize/X86/induction-costs.ll
Log Message:
-----------
[LV] Add extra cost model tests with truncated inductions.
Extra test cases that caused revert of
https://github.com/llvm/llvm-project/pull/92555
Commit: ba7d5ebe4bb2dc9b6885adf8346529e763cd6fce
https://github.com/llvm/llvm-project/commit/ba7d5ebe4bb2dc9b6885adf8346529e763cd6fce
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M libc/test/src/math/smoke/CMakeLists.txt
M libc/test/src/stdfix/ISqrtTest.h
M libc/test/src/stdfix/SqrtTest.h
Log Message:
-----------
[libc] Fix build breaks caused by f16sqrtf changes (#95459)
See Buildbot failures:
- https://lab.llvm.org/buildbot/#/builders/78/builds/13
- https://lab.llvm.org/buildbot/#/builders/182/builds/7
Commit: 41587739a63f7622c36715421d215f07d79f9a7d
https://github.com/llvm/llvm-project/commit/41587739a63f7622c36715421d215f07d79f9a7d
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/unittests/ProfileData/InstrProfTest.cpp
Log Message:
-----------
[ProfileData] Migrate to getValueArrayForSite (#95457)
This patch is a collection of one-liner migrations to
getValueArrayForSite.
Commit: 93181db7fb6cd738bc807e510f87e3a61fb5b3e6
https://github.com/llvm/llvm-project/commit/93181db7fb6cd738bc807e510f87e3a61fb5b3e6
Author: Jacques Pienaar <jpienaar at google.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir][bzl] Add missing dep
The file was added to MLIRBindingsPythonCoreNoCAPI but objects weren't.
Signed-off-by: Jacques Pienaar <jpienaar at google.com>
Commit: 1365ce22e9a419c992cb81824f5176390de83ee6
https://github.com/llvm/llvm-project/commit/1365ce22e9a419c992cb81824f5176390de83ee6
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/tools/llvm-profdata/llvm-profdata.cpp
Log Message:
-----------
[llvm-profdata] Clean up traverseAllValueSites (NFC) (#95467)
If NV == 0, nothing interesting happens after the "if" statement. We
should just "continue" to the next value site.
While I am at it, this patch migrates a use of getValueForSite to
getValueArrayForSite.
Commit: b6688a0b17361e1f4164f52e8d3b17defd7d432d
https://github.com/llvm/llvm-project/commit/b6688a0b17361e1f4164f52e8d3b17defd7d432d
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/MC/MCSection.cpp
Log Message:
-----------
[MC] flushPendingLabels: revert setAtom change
The setAtom call introduced by e17bc023f4e5b79f08bfc7f624f8ff0f0cf17ce4
was due to my misunderstanding of flushPendingLabels
(see https://discourse.llvm.org/t/mc-removing-aligned-bundling-support/79518).
When evaluating `.quad x-y`,
MCExpr.cpp:AttemptToFoldSymbolOffsetDifference gives different results
at parse time and layout time because the `if (FA->getAtom() ==
FB.getAtom())` condition in isSymbolRefDifferenceFullyResolvedImpl only
works when `setAtom` with a non-null pointer has been called. Calling
setAtom in flushPendingLabels does not help anything.
Commit: ee1648acbae6117b0d3aabb22498792372e75f23
https://github.com/llvm/llvm-project/commit/ee1648acbae6117b0d3aabb22498792372e75f23
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M .github/workflows/docs.yml
M .github/workflows/libclang-python-tests.yml
M .github/workflows/llvm-project-tests.yml
M .github/workflows/pr-code-format.yml
M .github/workflows/release-documentation.yml
M .github/workflows/release-doxygen.yml
M clang-tools-extra/clang-tidy/cppcoreguidelines/MacroUsageCheck.cpp
M clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp
M clang-tools-extra/clangd/TidyProvider.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/macro-usage.rst
M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/macro-usage.cpp
M clang/cmake/caches/Fuchsia-stage2.cmake
M clang/docs/ReleaseNotes.rst
M clang/docs/SourceBasedCodeCoverage.rst
M clang/include/clang/AST/ASTContext.h
M clang/include/clang/AST/TemplateName.h
M clang/include/clang/AST/Type.h
M clang/include/clang/Basic/CodeGenOptions.def
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Driver/Options.td
M clang/include/clang/Frontend/FrontendOptions.h
M clang/include/clang/InstallAPI/DylibVerifier.h
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h
M clang/lib/AST/ASTContext.cpp
M clang/lib/AST/CMakeLists.txt
M clang/lib/AST/ExprConstant.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/TemplateName.cpp
M clang/lib/AST/TextNodeDumper.cpp
M clang/lib/Basic/Targets/AArch64.cpp
M clang/lib/Basic/Targets/AArch64.h
M clang/lib/CodeGen/CodeGenPGO.cpp
M clang/lib/CodeGen/CoverageMappingGen.cpp
M clang/lib/CodeGen/MCDCState.h
M clang/lib/Driver/ToolChains/Darwin.cpp
M clang/lib/InstallAPI/Visitor.cpp
M clang/lib/Lex/Lexer.cpp
M clang/lib/Sema/SemaExpr.cpp
M clang/lib/Sema/SemaInit.cpp
M clang/lib/Sema/SemaOverload.cpp
M clang/lib/Serialization/ASTWriterStmt.cpp
M clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
M clang/lib/StaticAnalyzer/Core/MemRegion.cpp
M clang/test/AST/Interp/cxx11.cpp
M clang/test/AST/Interp/references.cpp
M clang/test/AST/Interp/vectors.cpp
M clang/test/AST/ast-dump-ctad-alias.cpp
M clang/test/AST/ast-dump-template-decls.cpp
M clang/test/AST/ast-dump-using-template.cpp
M clang/test/Analysis/Inputs/system-header-simulator-for-simple-stream.h
A clang/test/Analysis/fread.c
M clang/test/C/drs/dr1xx.c
M clang/test/CodeGen/aarch64-cpu-supports-target.c
M clang/test/CodeGen/aarch64-sme-intrinsics/aarch64-sme-attrs.cpp
M clang/test/CodeGen/aarch64-targetattr.c
M clang/test/CodeGen/attr-target-version.c
M clang/test/CodeGenCUDA/managed-var.cu
M clang/test/CodeGenCXX/2011-12-19-init-list-ctor.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-pr12086.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp
M clang/test/CodeGenCXX/ms-inline-asm-fields.cpp
M clang/test/CoverageMapping/branch-constfolded.cpp
M clang/test/CoverageMapping/logical.cpp
M clang/test/CoverageMapping/mcdc-class.cpp
M clang/test/CoverageMapping/mcdc-error-conditions.cpp
M clang/test/CoverageMapping/mcdc-logical-scalar-ids.cpp
M clang/test/CoverageMapping/mcdc-logical-stmt-ids-all.cpp
M clang/test/CoverageMapping/mcdc-logical-stmt-ids.cpp
M clang/test/CoverageMapping/mcdc-scratch-space.c
M clang/test/CoverageMapping/mcdc-system-headers.cpp
M clang/test/Driver/debug-options.c
M clang/test/Driver/spirv-toolchain.cl
M clang/test/Lexer/cxx2c-raw-strings.cpp
M clang/test/OpenMP/threadprivate_codegen.cpp
M clang/test/Profile/c-mcdc-class.cpp
M clang/test/Profile/c-mcdc-logicalop-ternary.c
M clang/test/Profile/c-mcdc-nested-ternary.c
M clang/test/Profile/c-mcdc-not.c
M clang/test/Profile/c-mcdc.c
M clang/test/Sema/aarch64-neon-target.c
A clang/test/Sema/debug-93066.cpp
M clang/test/Sema/exprs.c
M clang/test/Sema/va_arg_x86_32.c
M clang/test/SemaCXX/cxx0x-initializer-references.cpp
M clang/test/SemaObjCXX/sel-address.mm
M clang/test/SemaTemplate/deduction-guide.cpp
M clang/unittests/AST/CMakeLists.txt
A clang/unittests/AST/ProfilingTest.cpp
M clang/www/cxx_dr_status.html
M compiler-rt/lib/builtins/CMakeLists.txt
M compiler-rt/lib/builtins/aarch64/sme-abi-vg.c
M compiler-rt/lib/builtins/atomic.c
M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/android.inc
M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/freebsd.inc
M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/fuchsia.inc
M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/mrs.inc
M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/sysauxv.inc
M compiler-rt/lib/builtins/cpu_model/aarch64/hwcap.inc
M compiler-rt/lib/dfsan/dfsan_custom.cpp
M compiler-rt/lib/gwp_asan/guarded_pool_allocator.cpp
M compiler-rt/lib/gwp_asan/optional/segv_handler_posix.cpp
M compiler-rt/lib/gwp_asan/tests/harness.cpp
M compiler-rt/lib/gwp_asan/tests/harness.h
M compiler-rt/lib/gwp_asan/tests/late_init.cpp
M compiler-rt/lib/hwasan/hwasan_flags.inc
M compiler-rt/lib/hwasan/hwasan_linux.cpp
M compiler-rt/test/asan/TestCases/Linux/stack-trace-dlclose.cpp
M compiler-rt/test/asan/TestCases/Posix/strndup_oob_test.cpp
M compiler-rt/test/asan/TestCases/calloc-overflow.cpp
M compiler-rt/test/asan/TestCases/debug_stacks.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/strcpy-overlap.cpp
M compiler-rt/test/asan/TestCases/strdup_oob_test.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/dfsan/custom.cpp
M compiler-rt/test/dfsan/sscanf.c
R compiler-rt/test/hwasan/TestCases/Linux/fixed-shadow.c
A compiler-rt/test/hwasan/TestCases/hwasan_symbolize_stack_uas.cpp
M compiler-rt/test/orc/TestCases/Linux/ppc64/trivial-tls-pwr10.test
M flang/examples/FlangOmpReport/yaml_summarizer.py
M flang/include/flang/Optimizer/Builder/Runtime/RTBuilder.h
M flang/include/flang/Parser/provenance.h
M flang/include/flang/Parser/token-sequence.h
M flang/include/flang/Runtime/inquiry.h
M flang/include/flang/Runtime/reduce.h
M flang/lib/Evaluate/intrinsics.cpp
M flang/lib/Frontend/CMakeLists.txt
M flang/lib/Frontend/FrontendActions.cpp
M flang/lib/Lower/ConvertCall.cpp
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/lib/Optimizer/Builder/Runtime/Reduction.cpp
M flang/lib/Optimizer/Transforms/AssumedRankOpConversion.cpp
M flang/lib/Parser/expr-parsers.cpp
M flang/lib/Parser/prescan.cpp
M flang/lib/Parser/prescan.h
M flang/lib/Parser/program-parsers.cpp
M flang/lib/Parser/provenance.cpp
M flang/lib/Parser/token-parsers.h
M flang/lib/Parser/token-sequence.cpp
M flang/lib/Semantics/check-omp-structure.cpp
M flang/runtime/inquiry.cpp
M flang/runtime/reduce.cpp
M flang/test/Analysis/AliasAnalysis/alias-analysis-9.fir
M flang/test/Driver/mllvm_vs_mmlir.f90
M flang/test/Fir/rebox_assumed_rank_codegen.fir
A flang/test/Lower/HLFIR/assumed-rank-calls.f90
M flang/test/Lower/HLFIR/assumed-rank-inquiries-3.f90
M flang/test/Lower/Intrinsics/reduce.f90
M flang/test/Lower/Intrinsics/ubound01.f90
M flang/test/Lower/OpenMP/Todo/reduction-derived-type-field.f90
A flang/test/Parser/recovery01.f90
A flang/test/Parser/recovery02.f90
A flang/test/Preprocessing/ff-args.h
A flang/test/Preprocessing/ff-include-args.F
M flang/test/Semantics/OpenMP/reduction09.f90
A flang/test/Semantics/OpenMP/reduction14.f90
M flang/test/Semantics/null01.f90
M flang/test/Transforms/debug-local-var-2.f90
M flang/unittests/Runtime/Inquiry.cpp
M flang/unittests/Runtime/Reduction.cpp
M libc/config/linux/aarch64/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/FPUtil/generic/CMakeLists.txt
M libc/src/__support/FPUtil/generic/sqrt.h
M libc/src/__support/FPUtil/x86_64/FEnvImpl.h
M libc/src/math/CMakeLists.txt
A libc/src/math/f16sqrtf.h
M libc/src/math/generic/CMakeLists.txt
M libc/src/math/generic/acosf.cpp
M libc/src/math/generic/acoshf.cpp
M libc/src/math/generic/asinf.cpp
M libc/src/math/generic/asinhf.cpp
A libc/src/math/generic/f16sqrtf.cpp
M libc/src/math/generic/hypotf.cpp
M libc/src/math/generic/powf.cpp
M libc/src/math/generic/sqrt.cpp
M libc/src/math/generic/sqrtf.cpp
M libc/src/math/generic/sqrtf128.cpp
M libc/src/math/generic/sqrtl.cpp
M libc/src/stdio/printf_core/float_hex_converter.h
M libc/src/stdlib/CMakeLists.txt
A libc/src/stdlib/freelist_heap.h
M libc/test/src/__support/str_to_float_comparison_test.cpp
M libc/test/src/math/exhaustive/CMakeLists.txt
M libc/test/src/math/exhaustive/exhaustive_test.h
A libc/test/src/math/exhaustive/f16sqrtf_test.cpp
M libc/test/src/math/smoke/CMakeLists.txt
M libc/test/src/math/smoke/SqrtTest.h
A libc/test/src/math/smoke/f16sqrtf_test.cpp
M libc/test/src/stdfix/ISqrtTest.h
M libc/test/src/stdfix/SqrtTest.h
M libc/test/src/stdlib/CMakeLists.txt
A libc/test/src/stdlib/freelist_heap_test.cpp
M libc/utils/MPFRWrapper/CMakeLists.txt
M libc/utils/MPFRWrapper/MPFRUtils.cpp
M libc/utils/MPFRWrapper/MPFRUtils.h
M lld/MachO/ObjC.cpp
M lld/MachO/ObjC.h
M lld/MachO/SyntheticSections.cpp
M lld/test/MachO/arm64-reloc-pointer-to-got.s
M lld/test/MachO/compact-unwind-both-local-and-dylib-personality.s
M lld/test/MachO/compact-unwind.s
M lld/test/MachO/dead-strip.s
M lld/test/MachO/invalid/compact-unwind-personalities.s
M lld/test/MachO/objc-category-merging-minimal.s
M lld/test/wasm/data-segments.ll
M lldb/include/lldb/Core/ValueObject.h
M lldb/include/lldb/Expression/DWARFExpressionList.h
M lldb/include/lldb/Target/MemoryTagManager.h
M lldb/include/lldb/Utility/RegularExpression.h
M lldb/include/lldb/Utility/Scalar.h
M lldb/include/lldb/lldb-enumerations.h
M lldb/source/API/SBTarget.cpp
M lldb/source/API/SBValue.cpp
M lldb/source/Core/ValueObject.cpp
M lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.h
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDeclContext.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDeclContext.h
M lldb/source/Plugins/SymbolFile/DWARF/DWARFIndex.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
M lldb/source/Utility/RegularExpression.cpp
M lldb/test/API/CMakeLists.txt
M lldb/test/API/lang/cpp/class_static/TestStaticVariables.py
M lldb/test/API/tools/lldb-server/memory-tagging/TestGdbRemoteMemoryTagging.py
M lldb/test/Shell/SymbolFile/DWARF/x86/DW_AT_data_bit_offset-DW_OP_stack_value.s
M lldb/unittests/SymbolFile/DWARF/DWARFDIETest.cpp
M llvm/docs/CoverageMappingFormat.rst
M llvm/docs/LangRef.rst
M llvm/docs/Security.rst
M llvm/include/llvm/Analysis/ValueTracking.h
M llvm/include/llvm/CodeGen/LiveRegUnits.h
M llvm/include/llvm/CodeGen/MIRFormatter.h
M llvm/include/llvm/CodeGen/MachinePipeliner.h
M llvm/include/llvm/CodeGen/TargetLowering.h
M llvm/include/llvm/CodeGen/TargetSubtargetInfo.h
A llvm/include/llvm/CodeGen/WindowScheduler.h
M llvm/include/llvm/CodeGenTypes/MachineValueType.h
M llvm/include/llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h
M llvm/include/llvm/IR/ConstantFold.h
M llvm/include/llvm/IR/IntrinsicInst.h
M llvm/include/llvm/IR/ReplaceConstant.h
M llvm/include/llvm/MC/MCAsmInfo.h
M llvm/include/llvm/MC/MCFragment.h
M llvm/include/llvm/MC/MCSection.h
M llvm/include/llvm/MC/MCSectionMachO.h
M llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h
M llvm/include/llvm/ProfileData/InstrProf.h
M llvm/include/llvm/Support/KnownBits.h
M llvm/include/llvm/Support/raw_socket_stream.h
M llvm/include/llvm/Target/TargetSelectionDAG.td
M llvm/include/llvm/TargetParser/AArch64TargetParser.h
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
M llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
M llvm/lib/CodeGen/CMakeLists.txt
M llvm/lib/CodeGen/ExpandLargeFpConvert.cpp
M llvm/lib/CodeGen/MachinePipeliner.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
A llvm/lib/CodeGen/WindowScheduler.cpp
M llvm/lib/FileCheck/FileCheck.cpp
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/lib/IR/ConstantFold.cpp
M llvm/lib/IR/Constants.cpp
M llvm/lib/IR/DebugInfo.cpp
M llvm/lib/IR/ReplaceConstant.cpp
M llvm/lib/MC/MCFragment.cpp
M llvm/lib/MC/MCMachOStreamer.cpp
M llvm/lib/MC/MCObjectStreamer.cpp
M llvm/lib/MC/MCPseudoProbe.cpp
M llvm/lib/MC/MCSection.cpp
M llvm/lib/MC/MCSectionMachO.cpp
M llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
M llvm/lib/Support/BLAKE3/blake3.c
M llvm/lib/Support/KnownBits.cpp
M llvm/lib/Support/VirtualFileSystem.cpp
M llvm/lib/Support/raw_socket_stream.cpp
M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.h
M llvm/lib/Target/AArch64/AArch64InstrFormats.td
M llvm/lib/Target/AArch64/AArch64InstrGISel.td
M llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.cpp
M llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.h
M llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
M llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp
M llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.h
M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
M llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.cpp
M llvm/lib/Target/AMDGPU/AMDGPUInstructions.td
M llvm/lib/Target/AMDGPU/BUFInstructions.td
M llvm/lib/Target/AMDGPU/DSInstructions.td
M llvm/lib/Target/AMDGPU/EvergreenInstructions.td
M llvm/lib/Target/AMDGPU/FLATInstructions.td
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
M llvm/lib/Target/AMDGPU/MCTargetDesc/R600InstPrinter.cpp
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/AMDGPU/SIInstrInfo.td
A llvm/lib/Target/AMDGPU/Utils/AMDGPUDelayedMCExpr.cpp
A llvm/lib/Target/AMDGPU/Utils/AMDGPUDelayedMCExpr.h
M llvm/lib/Target/AMDGPU/Utils/AMDGPUPALMetadata.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUPALMetadata.h
M llvm/lib/Target/AMDGPU/Utils/AMDKernelCodeTUtils.cpp
M llvm/lib/Target/AMDGPU/Utils/CMakeLists.txt
A llvm/lib/Target/AMDGPU/Utils/SIDefinesUtils.h
M llvm/lib/Target/AMDGPU/VOP3PInstructions.td
M llvm/lib/Target/ARM/ARMISelLowering.cpp
M llvm/lib/Target/AVR/AVRInstrInfo.td
M llvm/lib/Target/BPF/BPFInstrInfo.td
M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
M llvm/lib/Target/M68k/M68kInstrAtomics.td
M llvm/lib/Target/Mips/Mips64InstrInfo.td
M llvm/lib/Target/Mips/MipsInstrInfo.td
M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
M llvm/lib/Target/PowerPC/PPCInstr64Bit.td
M llvm/lib/Target/PowerPC/PPCInstrInfo.td
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfoA.td
M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
M llvm/lib/Target/RISCV/RISCVInstrInfoZa.td
M llvm/lib/Target/RISCV/RISCVMachineFunctionInfo.h
M llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
M llvm/lib/Target/SPIRV/SPIRVBuiltins.td
M llvm/lib/Target/SPIRV/SPIRVMergeRegionExitTargets.cpp
M llvm/lib/Target/SPIRV/SPIRVPreLegalizer.cpp
M llvm/lib/Target/Sparc/SparcInstr64Bit.td
M llvm/lib/Target/Sparc/SparcInstrInfo.td
M llvm/lib/Target/SystemZ/SystemZInstrInfo.td
M llvm/lib/Target/VE/VEInstrInfo.td
M llvm/lib/Target/WebAssembly/WebAssemblyInstrAtomics.td
M llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp
M llvm/lib/Target/X86/X86InstrCompiler.td
M llvm/lib/Target/X86/X86InstrMisc.td
M llvm/lib/TargetParser/AArch64TargetParser.cpp
M llvm/lib/TargetParser/RISCVISAInfo.cpp
M llvm/lib/TextAPI/Utils.cpp
M llvm/lib/Transforms/IPO/Attributor.cpp
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
M llvm/lib/Transforms/IPO/SampleProfileProbe.cpp
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
M llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
M llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/regbank-fp-use-def.mir
M llvm/test/CodeGen/AArch64/GlobalISel/regbankselect-fp-loads.mir
M llvm/test/CodeGen/AArch64/outlining-with-streaming-mode-changes.ll
M llvm/test/CodeGen/AArch64/sme-call-streaming-compatible-to-normal-fn-wihout-sme-attr.ll
M llvm/test/CodeGen/AArch64/sme-disable-gisel-fisel.ll
M llvm/test/CodeGen/AArch64/sme-lazy-save-call.ll
M llvm/test/CodeGen/AArch64/sme-pstate-sm-changing-call-disable-coalescing.ll
M llvm/test/CodeGen/AArch64/sme-streaming-body-streaming-compatible-interface.ll
M llvm/test/CodeGen/AArch64/sme-streaming-body.ll
M llvm/test/CodeGen/AArch64/sme-streaming-compatible-interface.ll
M llvm/test/CodeGen/AArch64/sme-streaming-interface.ll
M llvm/test/CodeGen/AArch64/sme-streaming-mode-changing-call-disable-stackslot-scavenging.ll
A llvm/test/CodeGen/AArch64/sme-vg-to-stack.ll
M llvm/test/CodeGen/AArch64/streaming-compatible-memory-ops.ll
M llvm/test/CodeGen/AMDGPU/amdpal-es.ll
M llvm/test/CodeGen/AMDGPU/amdpal-gs.ll
M llvm/test/CodeGen/AMDGPU/amdpal-hs.ll
M llvm/test/CodeGen/AMDGPU/amdpal-ls.ll
M llvm/test/CodeGen/AMDGPU/amdpal-vs.ll
A llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fadd.ll
A llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmax.ll
A llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmin.ll
A llvm/test/CodeGen/AMDGPU/buffer-intrinsic-mmo-type.ll
M llvm/test/CodeGen/AMDGPU/extract-load-i1.ll
M llvm/test/CodeGen/AMDGPU/extract_vector_dynelt.ll
M llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fadd.ll
A llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmax.ll
A llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmin.ll
A llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fsub.ll
A llvm/test/CodeGen/AMDGPU/global-atomicrmw-fadd-wrong-subtarget.ll
A llvm/test/CodeGen/AMDGPU/global-atomicrmw-fadd.ll
A llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmax.ll
A llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmin.ll
A llvm/test/CodeGen/AMDGPU/global-atomicrmw-fsub.ll
R llvm/test/CodeGen/AMDGPU/global-atomics-fp.ll
M llvm/test/CodeGen/AMDGPU/integer-mad-patterns.ll
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.load.bf16.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.load.ll
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.store.bf16.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.store.ll
A llvm/test/CodeGen/AMDGPU/local-atomicrmw-fadd.ll
A llvm/test/CodeGen/AMDGPU/local-atomicrmw-fmax.ll
A llvm/test/CodeGen/AMDGPU/local-atomicrmw-fmin.ll
A llvm/test/CodeGen/AMDGPU/local-atomicrmw-fsub.ll
R llvm/test/CodeGen/AMDGPU/local-atomics-fp.ll
M llvm/test/CodeGen/AMDGPU/reassoc-mul-add-1-to-mad.ll
A llvm/test/CodeGen/Hexagon/swp-ws-dead-def.mir
A llvm/test/CodeGen/Hexagon/swp-ws-exp-dbg.mir
A llvm/test/CodeGen/Hexagon/swp-ws-exp.mir
A llvm/test/CodeGen/Hexagon/swp-ws-fail-0.mir
A llvm/test/CodeGen/Hexagon/swp-ws-fail-1.mir
A llvm/test/CodeGen/Hexagon/swp-ws-fail-2.mir
A llvm/test/CodeGen/Hexagon/swp-ws-meta-instr.mir
A llvm/test/CodeGen/Hexagon/swp-ws-sqrt.mir
A llvm/test/CodeGen/PowerPC/merge-private.ll
M llvm/test/CodeGen/RISCV/pr95284.ll
A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-select-bf16.ll
A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vpmerge-bf16.ll
A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vselect-vp-bf16.ll
A llvm/test/CodeGen/RISCV/rvv/select-bf16.ll
M llvm/test/CodeGen/RISCV/rvv/vfmv.v.f.ll
A llvm/test/CodeGen/RISCV/rvv/vpmerge-sdnode-bf16.ll
A llvm/test/CodeGen/RISCV/rvv/vselect-bf16.ll
A llvm/test/CodeGen/RISCV/rvv/vselect-vp-bf16.ll
A llvm/test/CodeGen/SPIRV/keep-tracked-const.ll
M llvm/test/CodeGen/SPIRV/transcoding/OpGroupAllAny.ll
M llvm/test/CodeGen/SPIRV/transcoding/group_ops.ll
M llvm/test/CodeGen/X86/AMX/amx-greedy-ra.ll
M llvm/test/CodeGen/X86/apx/shift-eflags.ll
M llvm/test/CodeGen/X86/avg.ll
A llvm/test/CodeGen/X86/legalize-ins-ext-vec-elt.ll
M llvm/test/CodeGen/X86/merge-consecutive-stores-nt.ll
A llvm/test/CodeGen/X86/pr95274.ll
M llvm/test/CodeGen/X86/shift-eflags.ll
M llvm/test/Instrumentation/InstrProfiling/inline-data-var-create.ll
M llvm/test/Instrumentation/InstrProfiling/mcdc.ll
M llvm/test/Instrumentation/MemorySanitizer/X86/avx-intrinsics-x86.ll
M llvm/test/Instrumentation/MemorySanitizer/X86/avx2-intrinsics-x86.ll
M llvm/test/Instrumentation/MemorySanitizer/X86/sse41-intrinsics-x86.ll
M llvm/test/MC/AMDGPU/hsa-sym-expr-failure.s
M llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vbuffer_mubuf.txt
M llvm/test/MC/Disassembler/X86/apx/rex2-format.txt
M llvm/test/MC/X86/apx/rex2-format-att.s
M llvm/test/MC/X86/apx/rex2-format-intel.s
M llvm/test/TableGen/HasNoUse.td
M llvm/test/Transforms/Attributor/nonnull.ll
M llvm/test/Transforms/InstCombine/pow-to-ldexp.ll
M llvm/test/Transforms/InstSimplify/constant-fold-fp-denormal.ll
M llvm/test/Transforms/LoopVectorize/LoongArch/defaults.ll
M llvm/test/Transforms/LoopVectorize/RISCV/defaults.ll
M llvm/test/Transforms/LoopVectorize/X86/induction-costs.ll
M llvm/test/Transforms/SeparateConstOffsetFromGEP/split-gep-or-as-add.ll
M llvm/test/Verifier/alloc-size-failedparse.ll
M llvm/test/tools/llvm-ar/windows-path.test
M llvm/test/tools/llvm-cov/Inputs/mcdc-const-folding.o
M llvm/test/tools/llvm-cov/Inputs/mcdc-const-folding.proftext
M llvm/test/tools/llvm-cov/Inputs/mcdc-const.o
M llvm/test/tools/llvm-cov/Inputs/mcdc-const.proftext
A llvm/test/tools/llvm-cov/Inputs/mcdc-general-18.o
A llvm/test/tools/llvm-cov/Inputs/mcdc-general-18.profdata
M llvm/test/tools/llvm-cov/Inputs/mcdc-general.o
M llvm/test/tools/llvm-cov/Inputs/mcdc-general.proftext
M llvm/test/tools/llvm-cov/Inputs/mcdc-macro.o
M llvm/test/tools/llvm-cov/Inputs/mcdc-macro.proftext
M llvm/test/tools/llvm-cov/Inputs/mcdc-maxbs.o
A llvm/test/tools/llvm-cov/mcdc-general-18.test
M llvm/test/tools/llvm-dwarfdump/X86/locstats.ll
M llvm/test/tools/llvm-objcopy/ELF/mirror-permissions-win.test
M llvm/tools/llvm-cov/CodeCoverage.cpp
M llvm/tools/llvm-dwarfdump/Statistics.cpp
M llvm/tools/llvm-dwp/llvm-dwp.cpp
M llvm/tools/llvm-profdata/llvm-profdata.cpp
M llvm/tools/llvm-profgen/PerfReader.cpp
M llvm/tools/llvm-profgen/PerfReader.h
M llvm/tools/llvm-profgen/ProfiledBinary.cpp
M llvm/tools/llvm-profgen/ProfiledBinary.h
M llvm/unittests/ProfileData/CoverageMappingTest.cpp
M llvm/unittests/ProfileData/InstrProfTest.cpp
M llvm/unittests/Support/Path.cpp
M llvm/unittests/Target/AMDGPU/CMakeLists.txt
A llvm/unittests/Target/AMDGPU/PALMetadata.cpp
M llvm/utils/TableGen/VTEmitter.cpp
M llvm/utils/gn/secondary/clang/unittests/AST/BUILD.gn
M llvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn
M llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/Utils/BUILD.gn
M llvm/utils/gn/secondary/llvm/unittests/Target/AMDGPU/BUILD.gn
M mlir/include/mlir/Analysis/Presburger/IntegerRelation.h
M mlir/include/mlir/Analysis/Presburger/PresburgerSpace.h
M mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
M mlir/include/mlir/Dialect/OpenMP/OpenMPInterfaces.h
M mlir/include/mlir/Dialect/Tosa/IR/TosaOps.h
M mlir/include/mlir/Interfaces/TilingInterface.td
M mlir/lib/Analysis/Presburger/PresburgerSpace.cpp
M mlir/lib/Conversion/BufferizationToMemRef/BufferizationToMemRef.cpp
M mlir/lib/Conversion/GPUCommon/GPUOpsLowering.h
M mlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp
M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
M mlir/lib/Dialect/LLVMIR/IR/BasicPtxBuilderInterface.cpp
M mlir/lib/Dialect/Tosa/IR/TosaCanonicalizations.cpp
M mlir/lib/Target/LLVMIR/ConvertToLLVMIR.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
M mlir/test/Conversion/BufferizationToMemRef/bufferization-to-memref.mlir
M mlir/test/Conversion/MemRefToLLVM/memref-to-llvm.mlir
M mlir/test/Conversion/VectorToLLVM/vector-reduction-to-llvm.mlir
M mlir/test/Dialect/MemRef/expand-strided-metadata.mlir
M mlir/test/Dialect/Tosa/canonicalize.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_reduce_custom_prod.mlir
M mlir/test/Target/LLVMIR/llvmir-debug.mlir
M mlir/test/Target/LLVMIR/omptarget-constant-alloca-raise.mlir
M mlir/test/lib/Dialect/Test/TestToLLVMIRTranslation.cpp
M offload/include/Shared/APITypes.h
M offload/plugins-nextgen/amdgpu/src/rtl.cpp
M offload/plugins-nextgen/common/include/PluginInterface.h
M offload/plugins-nextgen/common/src/PluginInterface.cpp
M offload/plugins-nextgen/cuda/dynamic_cuda/cuda.h
M offload/plugins-nextgen/cuda/src/rtl.cpp
M offload/plugins-nextgen/host/src/rtl.cpp
A offload/test/offloading/fortran/dtype-array-constant-index-map.f90
M openmp/tools/Modules/FindOpenMPTarget.cmake
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
move to MCSectionMachO
Created using spr 1.3.5-bogner
Compare: https://github.com/llvm/llvm-project/compare/f96e3074f7e1...ee1648acbae6
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