[all-commits] [llvm/llvm-project] b5f2db: [docs] Fix code-block formating (#100772)
Fangrui Song via All-commits
all-commits at lists.llvm.org
Sat Jul 27 10:56:31 PDT 2024
Branch: refs/heads/users/MaskRay/spr/elf-support-relocatable-files-using-crel
Home: https://github.com/llvm/llvm-project
Commit: b5f2db20d6403923f31313763c592a20c12527ff
https://github.com/llvm/llvm-project/commit/b5f2db20d6403923f31313763c592a20c12527ff
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/docs/ProgrammersManual.rst
Log Message:
-----------
[docs] Fix code-block formating (#100772)
Commit: d683d378998c85c12d7f0549944f807bb44c7b76
https://github.com/llvm/llvm-project/commit/d683d378998c85c12d7f0549944f807bb44c7b76
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/test/Transforms/lower-builtin-allow-check.ll
Log Message:
-----------
[NFC][ubsan] Expand lower-builtin-allow-check test (#100677)
Commit: 481eb4f5159b753497ef20cb646eb6169f3eb078
https://github.com/llvm/llvm-project/commit/481eb4f5159b753497ef20cb646eb6169f3eb078
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticSemaKinds.td
Log Message:
-----------
[clang] Enable the -Wdangling-assignment-gsl diagnostic by default. (#100708)
Commit: ca69f515fe29fa98b7ab52e49c5b401bb22f64f6
https://github.com/llvm/llvm-project/commit/ca69f515fe29fa98b7ab52e49c5b401bb22f64f6
Author: Martin Storsjö <martin at martin.st>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_double.hex.pass.cpp
M libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long_double.hex.pass.cpp
M libcxx/utils/libcxx/test/features.py
M libcxxabi/test/test_demangle.pass.cpp
Log Message:
-----------
[libcxx] [test] Detect the UCRT printf("%a") formatting bug (#99846)
This fixes testing with MinGW, if built without
__USE_MINGW_ANSI_STDIO=1.
On x86 MinGW, such a configuration fails printf tests with long doubles
due to mismatches between 80 and 64 bit long doubles - but on ARM,
there's no such issue, so building without __USE_MINGW_ANSI_STDIO=1 is
perfectly valid there.
Add another similar XFAIL to a libcxxabi test; this test isn't executed
in MSVC environments, so no XFAIL has been needed so far.
Commit: 599a91a7df6b75f93b91507e0caedd8dd1996641
https://github.com/llvm/llvm-project/commit/599a91a7df6b75f93b91507e0caedd8dd1996641
Author: Angel Zhang <anzhouzhang913 at gmail.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M mlir/lib/Conversion/VectorToSPIRV/VectorToSPIRV.cpp
M mlir/test/Conversion/VectorToSPIRV/vector-to-spirv.mlir
Log Message:
-----------
[mlir][spirv] Support `vector.step` in vector to spirv conversion (#100651)
Added a conversion pattern and LIT tests for lowering `vector.step` to
SPIR-V.
Fixes: #100602
---------
Co-authored-by: Jakub Kuderski <kubakuderski at gmail.com>
Commit: 3e593b9b3b86ebf28e24c3a33791be49e0735af5
https://github.com/llvm/llvm-project/commit/3e593b9b3b86ebf28e24c3a33791be49e0735af5
Author: Kendal Harland <3987220+kendalharland at users.noreply.github.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M lldb/packages/Python/lldbsuite/test/lldbplatformutil.py
M lldb/packages/Python/lldbsuite/test/lldbtest.py
Log Message:
-----------
[lldb] Remove python helper getCompilerBinary() (#100660)
This causes a number of tests be `UNRESOLVED` on Windows if
`getCompiler()` has a space in the name, because `getCompilerBinary()`
unconditionally splits on whitespace and returns the first result, which
might just be`"C:\Program"` if using a compiler such as `clang-cl` `cl`
from the absolute path to Visual studio's installation directory.
Co-authored-by: kendal <kendal at thebrowser.company>
Commit: 60e5892e6928dec29306e5749e70ac9e26e1f6c5
https://github.com/llvm/llvm-project/commit/60e5892e6928dec29306e5749e70ac9e26e1f6c5
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M .github/workflows/release-asset-audit.yml
Log Message:
-----------
Workflows: Fix copy-paste mistake in release-asset-audit
The comment file in this workflow is plain-text not json.
Commit: 761372ef1563f9f14f43afd800d4d017a3472c99
https://github.com/llvm/llvm-project/commit/761372ef1563f9f14f43afd800d4d017a3472c99
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-constant.mir
Log Message:
-----------
AMDGPU/GlobalISel: Add some more select of pointer typed constant tests
Commit: cc1dfb37aa84d1524243b83fadb8ff0f821e03e9
https://github.com/llvm/llvm-project/commit/cc1dfb37aa84d1524243b83fadb8ff0f821e03e9
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M libcxx/include/__atomic/atomic_ref.h
A libcxx/test/std/atomics/atomics.lockfree/is_always_lock_free.cpp
R libcxx/test/std/atomics/atomics.lockfree/isalwayslockfree.pass.cpp
M libcxx/test/std/atomics/atomics.ref/is_always_lock_free.pass.cpp
M libcxx/test/support/atomic_helpers.h
Log Message:
-----------
[libc++] Fix bug in atomic_ref's calculation of lock_free-ness (#99570)
The builtin __atomic_always_lock_free takes into account the type of the
pointer provided as the second argument. Because we were passing void*,
rather than T*, the calculation failed. This meant that
atomic_ref<T>::is_always_lock_free was only true for char & bool.
This bug exists elsewhere in the atomic library (when using GCC, we fail
to pass a pointer at all, and we fail to correctly align the atomic like
_Atomic would).
This change also attempts to start sorting out testing difficulties with
this function that caused the bug to exist by using the
__GCC_ATOMIC_(CHAR|SHORT|INT|LONG|LLONG|POINTER)_IS_LOCK_FREE predefined
macros to establish an expected value for `is_always_lock_free` and
`is_lock_free` for the respective types, as well as types with matching
sizes and compatible alignment values.
Using these compiler pre-defines we can actually validate that certain
types, like char and int, are actually always lock free like they are on
every platform in the wild.
Note that this patch was actually authored by Eric Fiselier but I picked
up the patch and GitHub won't let me set Eric as the primary author.
Co-authored-by: Eric Fiselier <eric at efcs.ca>
Commit: 372a6beac65851abe6d8016df397f5cea32ffe9b
https://github.com/llvm/llvm-project/commit/372a6beac65851abe6d8016df397f5cea32ffe9b
Author: vporpo <vporpodas at google.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/include/llvm/SandboxIR/SandboxIR.h
M llvm/include/llvm/SandboxIR/SandboxIRValues.def
M llvm/include/llvm/SandboxIR/Use.h
M llvm/lib/SandboxIR/SandboxIR.cpp
M llvm/unittests/SandboxIR/SandboxIRTest.cpp
M llvm/unittests/SandboxIR/TrackerTest.cpp
Log Message:
-----------
[SandboxIR] Implement CallBase and CallInst (#100218)
This patch adds the `CallBase` SandboxIR class and its subclass:
`CallInst`. Both are mirrors of `llvm::CallBase` and `llvm::CallInst`
respectively. Since `llvm::CallBase` contains a large number of member
functions so this patch implements only some of them.
The `CallBase` unit tests uncovered an issue with the class hierarchy,
where `sandboxir::Function` was not a subclass of `sandboxir::Constant`,
so this was fixed.
Testing tracking of the `CallBase` setters showed that
`sandboxir::Use::set()` was not being tracked. So this is also part of
this patch.
Commit: f8cd4c505fd9c0be329630b6b82e3a3ff53107cc
https://github.com/llvm/llvm-project/commit/f8cd4c505fd9c0be329630b6b82e3a3ff53107cc
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M libc/cmake/modules/LLVMLibCLibraryRules.cmake
M libc/cmake/modules/prepare_libc_gpu_build.cmake
M libc/lib/CMakeLists.txt
Log Message:
-----------
[libc] Fix building bitcode library for GPU (#100491)
Summary:
The GPU build provides a bitcode version of the library to mimic how
NVIDIA and AMD provide their libraries. Previously we had the fatbinary
archive that created the necessary dependency for this to actually
build. Since it was removed we no longer had anything triggering this to
build.
I have no idea if there's a better way to force a custom command to
actually be run in the same space as libraries, but the only thing I
could come up with was a dummy target.
Commit: 247251aee0d4314385a3fea86e31484d3d792ffb
https://github.com/llvm/llvm-project/commit/247251aee0d4314385a3fea86e31484d3d792ffb
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
A .github/workflows/release-binaries-all.yml
A .github/workflows/release-binaries-save-stage/action.yml
A .github/workflows/release-binaries-setup-stage/action.yml
M .github/workflows/release-binaries.yml
M .github/workflows/release-tasks.yml
M clang/cmake/caches/Release.cmake
Log Message:
-----------
Build release binaries for multiple targets (#98431)
This adds release binary builds for the 4 platforms currently supported
by the free GitHub Action runners:
* Linux x86_64
* Windows x86_64
* Mac x86_64
* Mac AArch64
The test stages for these are known to fail, but the creating and
upoading of the release binaries should pass.
Commit: 134b4484d8dda0ea75d9cf971ffc2f44e18fcead
https://github.com/llvm/llvm-project/commit/134b4484d8dda0ea75d9cf971ffc2f44e18fcead
Author: RoseZhang03 <rosezhang at google.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M libc/docs/dev/header_generation.rst
M llvm/docs/GettingStarted.rst
Log Message:
-----------
[libc] Updated GettingStarted.rst with PyYAML version (#100649)
New Headergen requires PyYAML version 5.1 or newer in order to generate
header files .
Commit: 361d4cf5331d76d5ea5ddef48ea35e2515e870b6
https://github.com/llvm/llvm-project/commit/361d4cf5331d76d5ea5ddef48ea35e2515e870b6
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/test/CodeGen/X86/is_fpclass.ll
Log Message:
-----------
DAG: Lower is.fpclass fcSubnormal|fcZero to fabs(x) < smallest_normal (#100390)
Produces better code on x86_64 only in the unordered case. Not
sure what the exact condition should be to avoid the regression. Free
fabs might do it, or maybe requires legality checks for the alternative
integer expansion.
Commit: c80c09f3e380a0a2b00b36bebf72f43271a564c1
https://github.com/llvm/llvm-project/commit/c80c09f3e380a0a2b00b36bebf72f43271a564c1
Author: Dimitry Andric <dimitry at andric.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/include/llvm/Support/MathExtras.h
M llvm/lib/CodeGen/CalcSpillWeights.cpp
A llvm/test/CodeGen/X86/pr99396.ll
Log Message:
-----------
[CalcSpillWeights] Avoid x87 excess precision influencing weight result
Fixes #99396
The result of `VirtRegAuxInfo::weightCalcHelper` can be influenced by
x87 excess precision, which can result in slightly different register
choices when the compiler is hosted on x86_64 or i386. This leads to
different object file output when cross-compiling to i386, or native.
Similar to 7af3432e22b0, we need to add a `volatile` qualifier to the
local `Weight` variable to force it onto the stack, and avoid the excess
precision. Define `stack_float_t` in `MathExtras.h` for this purpose,
and use it.
Commit: 09542052351380a455bb23a28df86b80db461eb2
https://github.com/llvm/llvm-project/commit/09542052351380a455bb23a28df86b80db461eb2
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
M llvm/lib/Transforms/Instrumentation/LowerAllowCheckPass.cpp
M llvm/test/Instrumentation/HWAddressSanitizer/pgo-opt-out.ll
M llvm/test/Transforms/lower-builtin-allow-check.ll
Log Message:
-----------
[ubsan][hwasan] Let mixing filters (#100680)
Now the check will be enabled only if each filter is satisfied.
Commit: 2c391a5902446a19603873ecb4dc12ecf0f01e1c
https://github.com/llvm/llvm-project/commit/2c391a5902446a19603873ecb4dc12ecf0f01e1c
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/test/Analysis/CostModel/RISCV/rvv-load-store.ll
Log Message:
-----------
[RISCV] Add <X x i1> cost model coverage for load/store
Commit: 18dee70168bcd7259daade4c86462ba859e7bed5
https://github.com/llvm/llvm-project/commit/18dee70168bcd7259daade4c86462ba859e7bed5
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M .github/workflows/release-binaries.yml
Log Message:
-----------
workflows: Remove left over debugging step from release-binaries job
Commit: d3fd28a13478786b3ebf092b8ebfcfd0c5e34928
https://github.com/llvm/llvm-project/commit/d3fd28a13478786b3ebf092b8ebfcfd0c5e34928
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
M llvm/test/Analysis/CostModel/RISCV/rvv-load-store.ll
M llvm/test/Transforms/LoopVectorize/RISCV/short-trip-count.ll
Log Message:
-----------
[RISCV][TTI] Properly model odd vector sized LD/ST operations (#100436)
The motivation for this change is the costing of a LD or ST with nearly
power of 2 vectors (e.g. <3 x i32> or <7 x i32>) on V. There's an
experimental option in SLP to allow emitting these if the cost model
says they're profitable. This really helps with e.g. RGB vectors.
Our actual lowering for these depends on whether a wider container type
is known available. If so, we use a vle or vse on the wider type with a
restricted VL. If not, we split until a legal type is found, and then
apply the vle/vse on the sub-pieces.
This change is intentionally restricted to only the case where promotion
(widening w/VL predication) is involved. We appear to have at least one
bug in our splitting lowering (see discussion on review), and to avoid
exposing this more widely, I chose to not adjust costs for the splitting
case. The current splitting costing assumes scalarization (which is not
true of the actual lowering), but that has the effect of biasing
vectorization away from such cases strongly.
For the widening case, the true cost scales with the next largest legal
type. The default implementation assumes that such a type is scalarized.
Changing that brings our cost in line with our actual lowering decision.
Note that since scalarization is not possible for scalable types, the
prior costing falsely returned Invalid for that case.
Commit: 7f3dcf4b2e1001c829ec431996d4ee2662a229fa
https://github.com/llvm/llvm-project/commit/7f3dcf4b2e1001c829ec431996d4ee2662a229fa
Author: Mircea Trofin <mtrofin at google.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/tools/llvm-ctxprof-util/CMakeLists.txt
M llvm/tools/llvm-ctxprof-util/llvm-ctxprof-util.cpp
Log Message:
-----------
[ctx_prof] Don't use `GENERATE_DRIVER` (#100777)
Commit: 53283dc4645ee13f33dd9b98cc935b376bf78232
https://github.com/llvm/llvm-project/commit/53283dc4645ee13f33dd9b98cc935b376bf78232
Author: Daniil Kovalev <dkovalev at accesssoftek.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/test/CodeGen/AArch64/ptrauth-fpac.ll
M llvm/test/CodeGen/AArch64/ptrauth-intrinsic-auth-resign-with-blend.ll
M llvm/test/CodeGen/AArch64/ptrauth-intrinsic-auth-resign.ll
Log Message:
-----------
[PAC][test] Add tests against Linux triples for auth/resign lowering (#100744)
The lowering implementation and tests against arm64e-apple-darwin triple
were added previously in #79024.
Commit: 745aa48165dae85dd30d964d0ade8e533df034ee
https://github.com/llvm/llvm-project/commit/745aa48165dae85dd30d964d0ade8e533df034ee
Author: Julius Alexandre <61852278+medievalghoul at users.noreply.github.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/include/llvm/SandboxIR/SandboxIR.h
M llvm/unittests/SandboxIR/SandboxIRTest.cpp
Log Message:
-----------
[SandboxIR] Implement isVolatile() for LoadInst (#100717)
Commit: 7ebd97b852b7535d22f93a90e7627853ffe7f0e1
https://github.com/llvm/llvm-project/commit/7ebd97b852b7535d22f93a90e7627853ffe7f0e1
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M offload/DeviceRTL/src/Debug.cpp
M offload/test/libc/assert.c
Log Message:
-----------
[OpenMP] Do not define '__assert_fail' if we have the GPU libc (#100409)
Summary:
The C library is intended to provide `__assert_fail`, so in the cases
that we have both we should defer to that. This means that if you build
the C library for GPUs you'll get the RPC based asser, and if not you'll
get the trap based one.
Commit: 5a9b9ef66084c84fe4cbe71f0bace82498b13def
https://github.com/llvm/llvm-project/commit/5a9b9ef66084c84fe4cbe71f0bace82498b13def
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Log Message:
-----------
[VPlan] Remove now redundant VF assertion.
The assertion was added in preparation for
https://github.com/llvm/llvm-project/pull/9882. Remove assertion now
the PR has landed.
Commit: efd13eb305dcc394cd038d6c332df64e96276baa
https://github.com/llvm/llvm-project/commit/efd13eb305dcc394cd038d6c332df64e96276baa
Author: Vasileios Porpodas <vporpodas at google.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/include/llvm/SandboxIR/SandboxIR.h
M llvm/unittests/SandboxIR/SandboxIRTest.cpp
Log Message:
-----------
[SandboxIR][NFC] Remove trailing whitespaces
Commit: 26d92826a5ed7894fb6d604c8e0e755daa50cdf7
https://github.com/llvm/llvm-project/commit/26d92826a5ed7894fb6d604c8e0e755daa50cdf7
Author: khaki3 <47756807+khaki3 at users.noreply.github.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M flang/lib/Optimizer/Builder/FIRBuilder.cpp
M flang/test/Lower/OpenACC/acc-loop.f90
M mlir/include/mlir/Dialect/OpenACC/CMakeLists.txt
M mlir/include/mlir/Dialect/OpenACC/OpenACC.h
M mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
A mlir/include/mlir/Dialect/OpenACC/OpenACCOpsInterfaces.td
M mlir/lib/Dialect/OpenACC/IR/CMakeLists.txt
M mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
M mlir/lib/Dialect/OpenACC/Transforms/CMakeLists.txt
Log Message:
-----------
[mlir][flang] Add an interface of OpenACC compute regions for further getAllocaBlock support (#100675)
This PR implements `ComputeRegionOpInterface` to define `getAllocaBlock`
of OpenACC loop and compute constructs (parallel/kernels/serial). The
primary objective here is to accommodate local variables in OpenACC
compute regions. The change in `fir::FirOpBuilder::getAllocaBlock`
allows local variable allocation inside loops and kernels.
Commit: 069e8bcd82c4420239f95c7e6a09e1f756317cfc
https://github.com/llvm/llvm-project/commit/069e8bcd82c4420239f95c7e6a09e1f756317cfc
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/CodeGen/CGGPUBuiltin.cpp
M clang/lib/CodeGen/CodeGenFunction.h
M libc/config/gpu/entrypoints.txt
M libc/spec/gpu_ext.td
M libc/src/gpu/CMakeLists.txt
R libc/src/gpu/rpc_fprintf.cpp
R libc/src/gpu/rpc_fprintf.h
M llvm/lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
M offload/DeviceRTL/include/LibC.h
M offload/DeviceRTL/src/LibC.cpp
Log Message:
-----------
[OpenMP][libc] Remove special handling for OpenMP printf (#98940)
Summary:
Currently there are several layers to handle `printf`. Since we now have
varargs and an implementation of `printf` this can be heavily
simplified.
1. The frontend renames `printf` into `omp_vprintf` and gives it an
argument buffer.
Removing 1. triggered some code in the AMDGPU backend menat for HIP /
OpenCL, so I hadded an exception to it.
2. Forward this to CUDA vprintf or ignore it.
We no longer need special handling for it since we have varargs. So now
we just forward this to CUDA vprintf if we have libc, otherwise just
leave `printf` as an external function and expect that `libc` will be
linked in.
Commit: b33ef5bd68ca142775ab653c84f0cb5448a8a0f2
https://github.com/llvm/llvm-project/commit/b33ef5bd68ca142775ab653c84f0cb5448a8a0f2
Author: Sayhaan Siddiqui <49014204+sayhaan at users.noreply.github.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M bolt/lib/Rewrite/DWARFRewriter.cpp
Log Message:
-----------
[BOLT][DWARF][NFC] Add mc opt to DWARFRewriter.cpp (#100800)
Running into an error with removing DWP where the assertion
`RelaxAllView &&
"RegisterMCTargetOptionsFlags not created."'` failed. This is a result
of DWP bringing the mc::RegisterMCTargetOptionsFlags option in, and the
option being removed with DWP. The need for this option didn't
originally exist because we didn't use MC in DWARFRewriter, but we
switched to using DWARFStreamer which needed the option.
https://reviews.llvm.org/D75579
https://reviews.llvm.org/D106417
Commit: 1978c21d967a2cd2e11cd3b2147d135f4d9e680b
https://github.com/llvm/llvm-project/commit/1978c21d967a2cd2e11cd3b2147d135f4d9e680b
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M lld/ELF/ScriptLexer.cpp
M lld/ELF/ScriptLexer.h
M lld/ELF/ScriptParser.cpp
M lld/test/ELF/linkerscript/invalid.test
M lld/test/ELF/linkerscript/map-file.test
M lld/test/ELF/linkerscript/map-file2.test
M lld/test/ELF/linkerscript/unquoted.test
Log Message:
-----------
[ELF] ScriptLexer: generate tokens lazily
The current tokenize-whole-file approach has a few limitations.
* Lack of state information: `maybeSplitExpr` is needed to parse
expressions. It's infeasible to add new states to behave more like GNU
ld.
* `readInclude` may insert tokens in the middle, leading to a time
complexity issue with N-nested `INCLUDE`.
* line/column information for diagnostics are inaccurate, especially
after an `INCLUDE`.
* `getLineNumber` cannot be made more efficient without significant code
complexity and memory consumption. https://reviews.llvm.org/D104137
The patch switches to a traditional lexer that generates tokens lazily.
* `atEOF` behavior is modified: we need to call `peek` to determine EOF.
* `peek` and `next` cannot call `setError` upon `atEOF`.
* Since `consume` no longer reports an error upon `atEOF`, the idiom `while (!errorCount() && !consume(")"))`
would cause a dead loop. Use `while (peek() != ")" && !atEOF()) { ... } expect(")")` instead.
* An include stack is introduced to handle `readInclude`. This can be
utilized to address #93947 properly.
* `tokens` and `pos` are removed.
* `commandString` is reimplemented. Since it is used in -Map output,
`\n` needs to be replaced with space.
Pull Request: https://github.com/llvm/llvm-project/pull/100493
Commit: fea5914c926e2f013a8b5e27eaa74c7047fb2c71
https://github.com/llvm/llvm-project/commit/fea5914c926e2f013a8b5e27eaa74c7047fb2c71
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/CodeGen/CGGPUBuiltin.cpp
M clang/lib/CodeGen/CodeGenFunction.h
M libc/config/gpu/entrypoints.txt
M libc/spec/gpu_ext.td
M libc/src/gpu/CMakeLists.txt
A libc/src/gpu/rpc_fprintf.cpp
A libc/src/gpu/rpc_fprintf.h
M llvm/lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
M offload/DeviceRTL/include/LibC.h
M offload/DeviceRTL/src/LibC.cpp
Log Message:
-----------
Revert "[OpenMP][libc] Remove special handling for OpenMP printf (#98940)"
This reverts commit 069e8bcd82c4420239f95c7e6a09e1f756317cfc.
Summary:
Some tests failing, revert this for now.
Commit: b0860b20878d2c84fc3ce56ea608c5186872faa2
https://github.com/llvm/llvm-project/commit/b0860b20878d2c84fc3ce56ea608c5186872faa2
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M .github/workflows/release-binaries.yml
Log Message:
-----------
workflows/release-binaries: Always pull composite actions from main branch (#100805)
If we pull from the release tag, then if there is a bug in one of the
actions on the release tag, then we can never do a build for that tag.
Pulling from main will allows us to fix bugs in the actions we use to
build the releases.
Commit: d41f565318e2a414acfd7eec1cfb2fbf515391ba
https://github.com/llvm/llvm-project/commit/d41f565318e2a414acfd7eec1cfb2fbf515391ba
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M .github/workflows/release-binaries.yml
Log Message:
-----------
workflow/release-binaries: Fix typo
Introduced in b0860b20878d2c84fc3ce56ea608c5186872faa2.
Commit: db2aa50ec4a9f47d2710cdae1608ef99de4b5ed3
https://github.com/llvm/llvm-project/commit/db2aa50ec4a9f47d2710cdae1608ef99de4b5ed3
Author: vporpo <vporpodas at google.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/include/llvm/SandboxIR/SandboxIR.h
M llvm/lib/SandboxIR/SandboxIR.cpp
M llvm/unittests/SandboxIR/SandboxIRTest.cpp
M llvm/unittests/SandboxIR/TrackerTest.cpp
Log Message:
-----------
[SandboxIR] Implement InvokeInst (#100796)
This patch implements sandboxir::InvokeInst which mirrors
llvm::InvokeInst.
Commit: dbb8b7a0f4eea1aa333cec9a38aa6eb7ecf6c1dc
https://github.com/llvm/llvm-project/commit/dbb8b7a0f4eea1aa333cec9a38aa6eb7ecf6c1dc
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/CodeGen/CGGPUBuiltin.cpp
M clang/lib/CodeGen/CodeGenFunction.h
R clang/test/OpenMP/nvptx_target_printf_codegen.c
M libc/config/gpu/entrypoints.txt
M libc/spec/gpu_ext.td
M libc/src/gpu/CMakeLists.txt
R libc/src/gpu/rpc_fprintf.cpp
R libc/src/gpu/rpc_fprintf.h
M llvm/lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
M offload/DeviceRTL/include/LibC.h
M offload/DeviceRTL/src/LibC.cpp
Log Message:
-----------
Reapply "[OpenMP][libc] Remove special handling for OpenMP printf (#98940)"
This reverts commit fea5914c926e2f013a8b5e27eaa74c7047fb2c71.
Commit: 0ff92593d2d8f35c99332471ef6c42df997341aa
https://github.com/llvm/llvm-project/commit/0ff92593d2d8f35c99332471ef6c42df997341aa
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M flang/include/flang/Evaluate/tools.h
Log Message:
-----------
[flang][cuda][NFC] Extract is cuda device attribute logic (#100809)
Commit: 06429a4fbc6c49c9cd1a68da2e2728ec66ddaddf
https://github.com/llvm/llvm-project/commit/06429a4fbc6c49c9cd1a68da2e2728ec66ddaddf
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[bazel] Port 26d92826a5ed7894fb6d604c8e0e755daa50cdf7 (#100829)
Commit: 4f5ad22b95ba2ee44f6207fc71b81860a48854ef
https://github.com/llvm/llvm-project/commit/4f5ad22b95ba2ee44f6207fc71b81860a48854ef
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
R lld/test/ELF/linkerscript/header-phdr.test
R lld/test/ELF/linkerscript/phdr-check.s
M lld/test/ELF/linkerscript/phdrs.s
Log Message:
-----------
[ELF,test] Improve PHDRS tests
Commit: 6cf1ea99c6c022bf2ca59362775ba36aaa688d79
https://github.com/llvm/llvm-project/commit/6cf1ea99c6c022bf2ca59362775ba36aaa688d79
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M lld/test/ELF/linkerscript/memory-err.s
M lld/test/ELF/linkerscript/overlay.test
M lld/test/ELF/linkerscript/phdrs.s
M lld/test/ELF/linkerscript/sections.s
Log Message:
-----------
[ELF,test] Improve unclosed tests
Commit: c901b739b67476b00209b7ee706de94c0595d763
https://github.com/llvm/llvm-project/commit/c901b739b67476b00209b7ee706de94c0595d763
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVMergeBaseOffset.cpp
M llvm/test/CodeGen/RISCV/inline-asm-mem-constraint.ll
Log Message:
-----------
[RISCV] Don't crash in RISCVMergeBaseOffset if INLINE_ASM uses address register in a non-memory constraint. (#100790)
If the register is used by a non-memory constraint we should disable the
fold. Otherwise, we may leave CommonOffset unassigned.
Fixes #100779.
Commit: 2a89356d64a274f7171b45d8b7b05b6315a6f627
https://github.com/llvm/llvm-project/commit/2a89356d64a274f7171b45d8b7b05b6315a6f627
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M lld/ELF/ScriptLexer.cpp
M lld/ELF/ScriptLexer.h
M lld/ELF/ScriptParser.cpp
M lld/test/ELF/linkerscript/phdrs.s
M lld/test/ELF/linkerscript/sections.s
Log Message:
-----------
[ELF] Add till and rewrite while (... consume("}"))
After #100493, the idiom `while (!errorCount() && !consume("}"))` could
lead to inaccurate diagnostics or dead loops. Introduce till to change
the code pattern.
Commit: 10bb296dfcefcb13fdead32e35822767e59c70da
https://github.com/llvm/llvm-project/commit/10bb296dfcefcb13fdead32e35822767e59c70da
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M lld/ELF/ScriptParser.cpp
Log Message:
-----------
[ELF] Replace some while (peek() != ")" && !atEOF()) with till
Commit: 497e2e8cf8d27d0488b089757f1569c4c7d8635e
https://github.com/llvm/llvm-project/commit/497e2e8cf8d27d0488b089757f1569c4c7d8635e
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/test/Transforms/VectorCombine/X86/load-inseltpoison.ll
M llvm/test/Transforms/VectorCombine/X86/load-widening.ll
Log Message:
-----------
[NFC][VectorCombine] Add negative sanitizer tests (#100832)
They are already work as expected.
Commit: 5f3758530ab86b0dff2890b36fe1a040083fc4ab
https://github.com/llvm/llvm-project/commit/5f3758530ab86b0dff2890b36fe1a040083fc4ab
Author: Nico Weber <thakis at chromium.org>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/tools/llvm-ctxprof-util/BUILD.gn
Log Message:
-----------
[gn] port 7f3dcf4b2e10 (llvm-ctxprof-util no driver)
Commit: cd354e37ab76828ed3f02b63f7d0c0c006f38564
https://github.com/llvm/llvm-project/commit/cd354e37ab76828ed3f02b63f7d0c0c006f38564
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/test/Transforms/SROA/phi-with-duplicate-pred.ll
Log Message:
-----------
[NFC][SROA] Regenerate a test
New update_test_checks.py use a difference spacing.
Commit: b32c38ab5b4cf5c66469180ba3594e98eff2c124
https://github.com/llvm/llvm-project/commit/b32c38ab5b4cf5c66469180ba3594e98eff2c124
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M lld/ELF/ScriptParser.cpp
Log Message:
-----------
[ELF] Replace some while (peek() != ")" && !atEOF()) with till
Commit: 47aea6162457aa816d8349bef571e9fdcd651a5c
https://github.com/llvm/llvm-project/commit/47aea6162457aa816d8349bef571e9fdcd651a5c
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/multiple-uses-load-bitcast-select.ll
Log Message:
-----------
[NFC] Fix upate_test_checks warning
Commit: a09c0f676d3c61ba8f74a24172543c1e44d70628
https://github.com/llvm/llvm-project/commit/a09c0f676d3c61ba8f74a24172543c1e44d70628
Author: jameshu15869 <55058507+jameshu15869 at users.noreply.github.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M libc/benchmarks/gpu/LibcGpuBenchmark.cpp
M libc/benchmarks/gpu/LibcGpuBenchmark.h
Log Message:
-----------
[libc] Add Minimum Time and Iterations, Reduce Epsilon (#100838)
This PR adds minimums (50 iterations, 500 us, and epsilon of 0.0001) to
ensure that all benchmarks run at least a set number of times before
outputting a final measurement.
Commit: 558315a0ea8cae8613c3a0061bc6cbe50c5b392f
https://github.com/llvm/llvm-project/commit/558315a0ea8cae8613c3a0061bc6cbe50c5b392f
Author: Shivam Gupta <shivam98.tkg at gmail.com>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M lldb/source/Commands/CommandObjectTarget.cpp
Log Message:
-----------
[LLDB] Remove the redundent 'properties' variable (#95675)
This is described in (N3) https://pvs-studio.com/en/blog/posts/cpp/1126/
Warning message -
V547 Expression 'properties ++ > 0' is always false.
CommandObjectTarget.cpp:100
I could not understand it properly but the properties++ operation is
performed twice when the target architecture is valid.
First increment seems unnecessary since it is always false '0>0'.
---------
Co-authored-by: xgupta <shivma98.tkg at gmail.com>
Commit: 9a3e66e314e698ffb08dba151bc098b6b8867c61
https://github.com/llvm/llvm-project/commit/9a3e66e314e698ffb08dba151bc098b6b8867c61
Author: Sayhaan Siddiqui <49014204+sayhaan at users.noreply.github.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M bolt/include/bolt/Core/DebugData.h
M bolt/lib/Core/DIEBuilder.cpp
M bolt/lib/Core/DebugData.cpp
M bolt/lib/Rewrite/DWARFRewriter.cpp
A bolt/test/X86/dwarf5-df-larger-batch-size.test
Log Message:
-----------
[BOLT][DWARF][NFC] Fix DebugStrOffsetsWriter (#100672)
Fix DebugStrOffsetsWriter so updateAddressMap can't be called after it
is finalized.
Commit: 13996378d81c8fa9a364aeaafd7382abbc1db83a
https://github.com/llvm/llvm-project/commit/13996378d81c8fa9a364aeaafd7382abbc1db83a
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.h
M llvm/lib/Target/RISCV/RISCVInstrInfoD.td
M llvm/lib/Target/RISCV/RISCVInstrInfoF.td
M llvm/lib/Target/RISCV/RISCVInstrInfoZfh.td
M llvm/test/CodeGen/RISCV/double-arith.ll
M llvm/test/CodeGen/RISCV/float-arith.ll
M llvm/test/CodeGen/RISCV/half-arith.ll
Log Message:
-----------
[RISCV][ISel] Fold FSGNJX idioms (#100718)
This patch folds `fmul X, (fcopysign 1.0, Y)` into `fsgnjx X, Y`. This
pattern exists in some graphics applications/math libraries.
Alive2: https://alive2.llvm.org/ce/z/epyL33
Since fpimm +1.0 is lowered to a load from constant pool after
OpLegalization, I have to introduce a new RISCVISD node FSGNJX and fold
this pattern in DAGCombine.
Closes https://github.com/dtcxzyw/llvm-opt-benchmark/issues/1072.
Commit: 299c700a22460edb7bb6fe937cd23a5b823d4081
https://github.com/llvm/llvm-project/commit/299c700a22460edb7bb6fe937cd23a5b823d4081
Author: wr7 <winterred7 at gmail.com>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M llvm/include/llvm-c/Target.h
Log Message:
-----------
[llvm-c][documentation] fix typo in `LLVMSizeOfTypeInBits` (#100839)
`LLVMSizeOfTypeInBits`:
- `Computes the size of a type in bytes for a target` -> `Computes the
size of a type in bits for a target`
Commit: fe07d9aa410518c5b631a065ddc5782a623af030
https://github.com/llvm/llvm-project/commit/fe07d9aa410518c5b631a065ddc5782a623af030
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M mlir/lib/Dialect/ArmSME/Transforms/OuterProductFusion.cpp
M mlir/lib/Dialect/ArmSME/Transforms/VectorLegalization.cpp
M mlir/lib/Dialect/Vector/Utils/VectorUtils.cpp
Log Message:
-----------
[mlir][vector] Switch to using `getNumScalableDims` (nfc) (#100806)
Commit: f2d2ae3f5a8e45c1386bf71e403d78cfee52cb7b
https://github.com/llvm/llvm-project/commit/f2d2ae3f5a8e45c1386bf71e403d78cfee52cb7b
Author: David Green <david.green at arm.com>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/PhaseOrdering/AArch64/slpordering.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/loadorder.ll
Log Message:
-----------
[SLP] Order clustered load base pointers by ascending offsets (#100653)
This attempts to fix a regression from #98025, where the new order of
reduction nodes causes later passes to not be able to produce as nice
shuffles. The issue boils down to picking an order of [0 1 3 2] for
loaded v4i8 values, which meant later parts could not find a simpler
ordering for the shuffles given the legal nodes available in AArch64. If
instead we make sure they are ordered [0 1 2 3] then everything can fall
into place.
In order to produce a better order that is more likely to work in more
cases, this patch takes the existing clustered loads and sort the base
pointers if there is an order between them. i.e if `V2 == gep (V1, X)`
then V1 is sorted before V2.
Commit: 66ce4f771ee294fc4a2e0ead86976fc731ff5d87
https://github.com/llvm/llvm-project/commit/66ce4f771ee294fc4a2e0ead86976fc731ff5d87
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/test/Transforms/LoopVectorize/AArch64/scalable-alloca.ll
M llvm/test/Transforms/LoopVectorize/AArch64/scalable-call.ll
Log Message:
-----------
[VPlan] Port invalid cost remarks to VPlan. (#99322)
This patch moves the logic to create remarks for instructions with
invalid costs to work on recipes and decoupling it from
selectVectorizationFactor. This is needed to replace the remaining uses
of selectVectorizationFactor with getBestPlan using the VPlan-based cost
model.
The current implementation iterates over all VPlans and their recipes
again, to find recipes with invalid costs, which is more work but will
only be done when remarks for LV are enabled. Once the remaining uses of
selectVectorizationFactor are retired, we can collect VPlans with
invalid costs as part of getBestPlan if we want to optimize the remarks
case a bit, at the cost of adding additional complexity.
PR: https://github.com/llvm/llvm-project/pull/99322
Commit: 79afb94da1c508e90945df2f05d9cf80d2942ba1
https://github.com/llvm/llvm-project/commit/79afb94da1c508e90945df2f05d9cf80d2942ba1
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M libc/benchmarks/gpu/CMakeLists.txt
M libc/cmake/modules/LLVMLibCTestRules.cmake
Log Message:
-----------
[libc] Make NVPTX benchmarks use LTO for linking
Summary:
Now that we can do LTO, we can make the benchmarks more accurate by
allowing optimization + inlining of the implementation.
Commit: ae4f2495a460d973e471626fb6fdaeec6d5c494e
https://github.com/llvm/llvm-project/commit/ae4f2495a460d973e471626fb6fdaeec6d5c494e
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M mlir/lib/IR/Verifier.cpp
Log Message:
-----------
[IR] Verifier: Use a SmallPtrSet for a small set of pointers. NFC
Commit: ea98dc8b8f508b8393651992830e5e51d3876728
https://github.com/llvm/llvm-project/commit/ea98dc8b8f508b8393651992830e5e51d3876728
Author: Jacek Caban <jacek at codeweavers.com>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Basic/AttrDocs.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
A clang/test/CodeGen/arm64ec-hybrid-patchable.c
M clang/test/Misc/pragma-attribute-supported-attributes-list.test
Log Message:
-----------
[clang][ARM64EC] Add support for hybrid_patchable attribute. (#99478)
Commit: e83ba1e9ebda4f757c0738b21ffd9eafcf2be3b1
https://github.com/llvm/llvm-project/commit/e83ba1e9ebda4f757c0738b21ffd9eafcf2be3b1
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M llvm/test/CodeGen/AArch64/exp10-libcall-names.ll
M llvm/test/CodeGen/X86/exp10-libcall-names.ll
Log Message:
-----------
[Darwin] Add exp10(f) tests for BridgeOS & Driverkit.
Commit: 154d00d5d0416c42388d6e82cac96fbc091101d2
https://github.com/llvm/llvm-project/commit/154d00d5d0416c42388d6e82cac96fbc091101d2
Author: Nathan James <n.james93 at hotmail.co.uk>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M clang-tools-extra/clang-tidy/add_new_check.py
M clang-tools-extra/test/clang-tidy/check_clang_tidy.py
Log Message:
-----------
Extend support for specifying languages and version in add_new_check.py (#100129)
- Allow specifying a language standard when adding a new check
- Simplify the language standards(and or-later) handlnig in
check_clang_tidy
Commit: 803eaf29267c6aae9162d1a83a4a2ae508b440d3
https://github.com/llvm/llvm-project/commit/803eaf29267c6aae9162d1a83a4a2ae508b440d3
Author: Vladislav Khmelevsky <och95 at yandex.ru>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M bolt/test/AArch64/dummy-return.s
Log Message:
-----------
[BOLT][NFC] Fix test requirement (#100867)
Tests that are using instrumentation should have bolt-runtime in
requirements
Commit: 1e8df9e85a1ff213e5868bd822877695f27504ad
https://github.com/llvm/llvm-project/commit/1e8df9e85a1ff213e5868bd822877695f27504ad
Author: Aiden Grossman <aidengrossman at google.com>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
Log Message:
-----------
[llvm-exegesis] Use correct rseq struct size (#100804)
Glibc v2.40 changes the definition of __rseq_size to the usable area of
the struct rather than the actual size of the struct to accommodate
users trying to figure out what features can be used. This change breaks
llvm-exegesis trying to disable rseq as the size registered in the
kernel is no longer equal to __rseq_size. This patch adds a check to see
if __rseq_size is less than 32 bytes and uses 32 as a value if it is
given alignment requirements.
Fixes #100791.
Commit: 6efc3774bd8c5fcb105cda73ec27c05ef850dc19
https://github.com/llvm/llvm-project/commit/6efc3774bd8c5fcb105cda73ec27c05ef850dc19
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M lld/ELF/ICF.cpp
M lld/ELF/InputSection.cpp
M lld/ELF/InputSection.h
M lld/ELF/Relocations.cpp
M lld/ELF/Relocations.h
M lld/ELF/SyntheticSections.cpp
M lld/ELF/SyntheticSections.h
Log Message:
-----------
[ELF] Add Relocs and invokeOnRelocs. NFC
Relocs is to simplify CREL support (#98115) while invokeOnRelocs
simplifies some relsOrRelas call sites that will use the CREL iterator.
Commit: da5c41c9f201403b6d3b2fd3aa3bd46aa6b8db1d
https://github.com/llvm/llvm-project/commit/da5c41c9f201403b6d3b2fd3aa3bd46aa6b8db1d
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M .github/workflows/release-asset-audit.yml
A .github/workflows/release-binaries-all.yml
A .github/workflows/release-binaries-save-stage/action.yml
A .github/workflows/release-binaries-setup-stage/action.yml
M .github/workflows/release-binaries.yml
M .github/workflows/release-tasks.yml
M bolt/include/bolt/Core/DebugData.h
M bolt/lib/Core/DIEBuilder.cpp
M bolt/lib/Core/DebugData.cpp
M bolt/lib/Rewrite/DWARFRewriter.cpp
M bolt/test/AArch64/dummy-return.s
A bolt/test/X86/dwarf5-df-larger-batch-size.test
M clang-tools-extra/clang-tidy/add_new_check.py
M clang-tools-extra/test/clang-tidy/check_clang_tidy.py
M clang/cmake/caches/Release.cmake
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Basic/AttrDocs.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/CodeGen/CGGPUBuiltin.cpp
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/lib/CodeGen/CodeGenFunction.h
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
A clang/test/CodeGen/arm64ec-hybrid-patchable.c
M clang/test/Misc/pragma-attribute-supported-attributes-list.test
R clang/test/OpenMP/nvptx_target_printf_codegen.c
M flang/include/flang/Evaluate/tools.h
M flang/lib/Optimizer/Builder/FIRBuilder.cpp
M flang/test/Lower/OpenACC/acc-loop.f90
M libc/benchmarks/gpu/CMakeLists.txt
M libc/benchmarks/gpu/LibcGpuBenchmark.cpp
M libc/benchmarks/gpu/LibcGpuBenchmark.h
M libc/cmake/modules/LLVMLibCLibraryRules.cmake
M libc/cmake/modules/LLVMLibCTestRules.cmake
M libc/cmake/modules/prepare_libc_gpu_build.cmake
M libc/config/gpu/entrypoints.txt
M libc/docs/dev/header_generation.rst
M libc/lib/CMakeLists.txt
M libc/spec/gpu_ext.td
M libc/src/gpu/CMakeLists.txt
R libc/src/gpu/rpc_fprintf.cpp
R libc/src/gpu/rpc_fprintf.h
M libcxx/include/__atomic/atomic_ref.h
A libcxx/test/std/atomics/atomics.lockfree/is_always_lock_free.cpp
R libcxx/test/std/atomics/atomics.lockfree/isalwayslockfree.pass.cpp
M libcxx/test/std/atomics/atomics.ref/is_always_lock_free.pass.cpp
M libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_double.hex.pass.cpp
M libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long_double.hex.pass.cpp
M libcxx/test/support/atomic_helpers.h
M libcxx/utils/libcxx/test/features.py
M libcxxabi/test/test_demangle.pass.cpp
M lld/ELF/InputSection.cpp
M lld/ELF/InputSection.h
M lld/ELF/Relocations.cpp
M lld/ELF/ScriptLexer.cpp
M lld/ELF/ScriptLexer.h
M lld/ELF/ScriptParser.cpp
M lld/ELF/SyntheticSections.cpp
M lld/ELF/SyntheticSections.h
R lld/test/ELF/linkerscript/header-phdr.test
M lld/test/ELF/linkerscript/invalid.test
M lld/test/ELF/linkerscript/map-file.test
M lld/test/ELF/linkerscript/map-file2.test
M lld/test/ELF/linkerscript/memory-err.s
M lld/test/ELF/linkerscript/overlay.test
R lld/test/ELF/linkerscript/phdr-check.s
M lld/test/ELF/linkerscript/phdrs.s
M lld/test/ELF/linkerscript/sections.s
M lld/test/ELF/linkerscript/unquoted.test
M lldb/packages/Python/lldbsuite/test/lldbplatformutil.py
M lldb/packages/Python/lldbsuite/test/lldbtest.py
M lldb/source/Commands/CommandObjectTarget.cpp
M llvm/docs/GettingStarted.rst
M llvm/docs/ProgrammersManual.rst
M llvm/include/llvm-c/Target.h
M llvm/include/llvm/SandboxIR/SandboxIR.h
M llvm/include/llvm/SandboxIR/SandboxIRValues.def
M llvm/include/llvm/SandboxIR/Use.h
M llvm/include/llvm/Support/MathExtras.h
M llvm/lib/CodeGen/CalcSpillWeights.cpp
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/lib/SandboxIR/SandboxIR.cpp
M llvm/lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.h
M llvm/lib/Target/RISCV/RISCVInstrInfoD.td
M llvm/lib/Target/RISCV/RISCVInstrInfoF.td
M llvm/lib/Target/RISCV/RISCVInstrInfoZfh.td
M llvm/lib/Target/RISCV/RISCVMergeBaseOffset.cpp
M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
M llvm/lib/Transforms/Instrumentation/LowerAllowCheckPass.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Analysis/CostModel/RISCV/rvv-load-store.ll
M llvm/test/CodeGen/AArch64/exp10-libcall-names.ll
M llvm/test/CodeGen/AArch64/ptrauth-fpac.ll
M llvm/test/CodeGen/AArch64/ptrauth-intrinsic-auth-resign-with-blend.ll
M llvm/test/CodeGen/AArch64/ptrauth-intrinsic-auth-resign.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-constant.mir
M llvm/test/CodeGen/RISCV/double-arith.ll
M llvm/test/CodeGen/RISCV/float-arith.ll
M llvm/test/CodeGen/RISCV/half-arith.ll
M llvm/test/CodeGen/RISCV/inline-asm-mem-constraint.ll
M llvm/test/CodeGen/X86/exp10-libcall-names.ll
M llvm/test/CodeGen/X86/is_fpclass.ll
A llvm/test/CodeGen/X86/pr99396.ll
M llvm/test/Instrumentation/HWAddressSanitizer/pgo-opt-out.ll
M llvm/test/Transforms/InstCombine/multiple-uses-load-bitcast-select.ll
M llvm/test/Transforms/LoopVectorize/AArch64/scalable-alloca.ll
M llvm/test/Transforms/LoopVectorize/AArch64/scalable-call.ll
M llvm/test/Transforms/LoopVectorize/RISCV/short-trip-count.ll
M llvm/test/Transforms/PhaseOrdering/AArch64/slpordering.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/loadorder.ll
M llvm/test/Transforms/SROA/phi-with-duplicate-pred.ll
M llvm/test/Transforms/VectorCombine/X86/load-inseltpoison.ll
M llvm/test/Transforms/VectorCombine/X86/load-widening.ll
M llvm/test/Transforms/lower-builtin-allow-check.ll
M llvm/tools/llvm-ctxprof-util/CMakeLists.txt
M llvm/tools/llvm-ctxprof-util/llvm-ctxprof-util.cpp
M llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
M llvm/unittests/SandboxIR/SandboxIRTest.cpp
M llvm/unittests/SandboxIR/TrackerTest.cpp
M llvm/utils/gn/secondary/llvm/tools/llvm-ctxprof-util/BUILD.gn
M mlir/include/mlir/Dialect/OpenACC/CMakeLists.txt
M mlir/include/mlir/Dialect/OpenACC/OpenACC.h
M mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
A mlir/include/mlir/Dialect/OpenACC/OpenACCOpsInterfaces.td
M mlir/lib/Conversion/VectorToSPIRV/VectorToSPIRV.cpp
M mlir/lib/Dialect/ArmSME/Transforms/OuterProductFusion.cpp
M mlir/lib/Dialect/ArmSME/Transforms/VectorLegalization.cpp
M mlir/lib/Dialect/OpenACC/IR/CMakeLists.txt
M mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
M mlir/lib/Dialect/OpenACC/Transforms/CMakeLists.txt
M mlir/lib/Dialect/Vector/Utils/VectorUtils.cpp
M mlir/lib/IR/Verifier.cpp
M mlir/test/Conversion/VectorToSPIRV/vector-to-spirv.mlir
M offload/DeviceRTL/include/LibC.h
M offload/DeviceRTL/src/Debug.cpp
M offload/DeviceRTL/src/LibC.cpp
M offload/test/libc/assert.c
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
rebase
Created using spr 1.3.5-bogner
Compare: https://github.com/llvm/llvm-project/compare/b9f8a55eba00...da5c41c9f201
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