[all-commits] [llvm/llvm-project] e5cfa0: Revert "[lldb][headers] Create script to fix up ve...
Florian Mayer via All-commits
all-commits at lists.llvm.org
Wed Jun 4 20:04:12 PDT 2025
Branch: refs/heads/users/fmayer/spr/main.lsan-skip-leaks-from-dlerror
Home: https://github.com/llvm/llvm-project
Commit: e5cfa0a15d58c278be6169aedba817ae5edd2235
https://github.com/llvm/llvm-project/commit/e5cfa0a15d58c278be6169aedba817ae5edd2235
Author: Chelsea Cassanova <chelsea_cassanova at apple.com>
Date: 2025-06-04 (Wed, 04 Jun 2025)
Changed paths:
M lldb/scripts/framework-header-fix.sh
R lldb/scripts/version-header-fix.py
M lldb/source/API/CMakeLists.txt
R lldb/test/Shell/Scripts/Inputs/lldb-defines.h
R lldb/test/Shell/Scripts/TestVersionFixScript.test
Log Message:
-----------
Revert "[lldb][headers] Create script to fix up versioning" (#142864)
Reverts llvm/llvm-project#141116. It's breaking the Xcode build as well
as the build on AIX.
Commit: 62fc146801d5355379019f931cc7aafb747ce5f2
https://github.com/llvm/llvm-project/commit/62fc146801d5355379019f931cc7aafb747ce5f2
Author: Kazu Hirata <kazu at google.com>
Date: 2025-06-04 (Wed, 04 Jun 2025)
Changed paths:
M llvm/lib/Debuginfod/HTTPServer.cpp
Log Message:
-----------
[Debuginfod] Restore an include
A breakage has been reported in:
https://github.com/llvm/llvm-project/issues/142852
Commit: bac4aa440c12b2f90a1e12ab8aa6e3f842beb387
https://github.com/llvm/llvm-project/commit/bac4aa440c12b2f90a1e12ab8aa6e3f842beb387
Author: Kareem Ergawy <kareem.ergawy at amd.com>
Date: 2025-06-05 (Thu, 05 Jun 2025)
Changed paths:
A flang/include/flang/Lower/Support/PrivateReductionUtils.h
M flang/include/flang/Lower/Support/Utils.h
M flang/lib/Lower/Bridge.cpp
M flang/lib/Lower/CMakeLists.txt
M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
R flang/lib/Lower/OpenMP/PrivateReductionUtils.cpp
R flang/lib/Lower/OpenMP/PrivateReductionUtils.h
M flang/lib/Lower/OpenMP/ReductionProcessor.cpp
A flang/lib/Lower/Support/PrivateReductionUtils.cpp
M flang/lib/Lower/Support/Utils.cpp
M flang/test/Lower/do_concurrent_local_assoc_entity.f90
M flang/test/Lower/do_concurrent_local_default_init.f90
Log Message:
-----------
[flang] Extend localization support for `do concurrent` (`init` regions) (#142564)
Extends support for locality specifiers in `do concurrent` by supporting
data types that need `init` regions.
This further unifies the paths taken by the compiler for OpenMP
privatization clauses and `do concurrent` locality specifiers.
Commit: 479f9922912e3385655f0ca6e6238aaf09e6320d
https://github.com/llvm/llvm-project/commit/479f9922912e3385655f0ca6e6238aaf09e6320d
Author: A. Jiang <de34 at live.cn>
Date: 2025-06-05 (Thu, 05 Jun 2025)
Changed paths:
M libcxx/include/string
M libcxx/test/std/strings/basic.string/string.capacity/shrink_to_fit.pass.cpp
Log Message:
-----------
[libc++] Fix `basic_string::shrink_to_fit` for constant evaluation (#142712)
Currently, when the string shrink into the SSO buffer, the `__rep_.__s`
member isn't activated before the `traits_type::copy` call
yet, so internal `__builtin_memmove` call writing to the buffer causes
constant evaluation failure. The existing test coverage seems a bit
defective and doesn't cover this case - `shrink_to_fit` is called on the
copy of string after erasure, not the original string object.
This PR reorders the `__set_short_size` call, which starts the lifetime
of the SSO buffer, before the copy operation. Test coverage is achieved
by calling `shrink_to_fit` on the original erased string.
Commit: d4d2f069dec4fb8b13447f52752d4ecd08d976d6
https://github.com/llvm/llvm-project/commit/d4d2f069dec4fb8b13447f52752d4ecd08d976d6
Author: royitaqi <royitaqi at users.noreply.github.com>
Date: 2025-06-04 (Wed, 04 Jun 2025)
Changed paths:
M lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
M lldb/unittests/ObjectFile/MachO/TestObjectFileMachO.cpp
Log Message:
-----------
[lldb] Set default object format to `MachO` in `ObjectFileMachO` (#142704)
# The Change
This patch sets the **default** object format of `ObjectFileMachO` to be
`MachO` (instead of what currently ends up to be `ELF`, see below). This
should be **the correct thing to do**, because the code before the line
of change has already verified the Mach-O header.
The existing logic:
* In `ObjectFileMachO`, the object format is unassigned by default. So
it's `UnknownObjectFormat` (see
[code](https://github.com/llvm/llvm-project/blob/54d544b83141dc0b20727673f68793728ed54793/llvm/lib/TargetParser/Triple.cpp#L1024)).
* The code then looks at load commands like `LC_VERSION_MIN_*`
([code](https://github.com/llvm/llvm-project/blob/54d544b83141dc0b20727673f68793728ed54793/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp#L5180-L5217))
and `LC_BUILD_VERSION`
([code](https://github.com/llvm/llvm-project/blob/54d544b83141dc0b20727673f68793728ed54793/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp#L5231-L5252))
and assign the Triple's OS and Environment if they exist.
* If the above sets the Triple's OS to macOS, then the object format
defaults to `MachO`; otherwise it is `ELF`
([code](https://github.com/llvm/llvm-project/blob/54d544b83141dc0b20727673f68793728ed54793/llvm/lib/TargetParser/Triple.cpp#L936-L937))
# Impact
For **production usage** where Mach-O files have the said load commands
(which is
[expected](https://www.google.com/search?q=Are+mach-o+files+expected+to+have+the+LC_BUILD_VERSION+load+command%3F)),
this patch won't change anything.
* **Important note**: It's not clear if there are legitimate production
use cases where the Mach-O files don't have said load commands. If there
is, the exiting code think they are `ELF`. This patch changes it to
`MachO`. This is considered a fix for such files.
For **unit tests**, this patch will simplify the yaml data by not
requiring the said load commands.
# Test
See PR.
Commit: 7278805ccd46732445b7f1b365bea64135e4537b
https://github.com/llvm/llvm-project/commit/7278805ccd46732445b7f1b365bea64135e4537b
Author: John Harrison <harjohn at google.com>
Date: 2025-06-04 (Wed, 04 Jun 2025)
Changed paths:
M lldb/test/API/tools/lldb-dap/attach/TestDAP_attachByPortNum.py
Log Message:
-----------
[lldb-dap] Test Gardening, attach tests. (#141981)
Trimming unused imports, adjusting the test to use the `DEFAULT_TIMEOUT`
instead of a custom timeout and adjusting the flow to stopOnEntry for
improving consistency.
Commit: 9cd53787df54d45f29d66fd8eff75a052456ac04
https://github.com/llvm/llvm-project/commit/9cd53787df54d45f29d66fd8eff75a052456ac04
Author: Aiden Grossman <aidengrossman at google.com>
Date: 2025-06-04 (Wed, 04 Jun 2025)
Changed paths:
M .github/workflows/docs.yml
Log Message:
-----------
[Github] Test docs-flang-man target in documentation job (#142860)
This was recently added in 47171ac3f911541453a69f3d9c6b4c1777409b95. We
should be supporting testing this inside the docs job.
Commit: c1e0faecfc47cc078014f4d64214f90c492b7db8
https://github.com/llvm/llvm-project/commit/c1e0faecfc47cc078014f4d64214f90c492b7db8
Author: Farzon Lotfi <farzonlotfi at microsoft.com>
Date: 2025-06-04 (Wed, 04 Jun 2025)
Changed paths:
M llvm/lib/Target/DirectX/DXILLegalizePass.cpp
A llvm/test/CodeGen/DirectX/legalize-i64-high-low-vec-split.ll
Log Message:
-----------
[DirectX] replace byte splitting via vector bitcast with scalar (#140167)
instructions
- instead of bitcasting and extract element lets use trunc or trunc and
logical shift right to split.
- fixes #139020
Commit: 59725c7486d7c37d942e2f45469a8d79ac37fcd3
https://github.com/llvm/llvm-project/commit/59725c7486d7c37d942e2f45469a8d79ac37fcd3
Author: Joseph Huber <huberjn at outlook.com>
Date: 2025-06-04 (Wed, 04 Jun 2025)
Changed paths:
M libc/src/__support/GPU/allocator.cpp
Log Message:
-----------
[libc] Coalesce bitfield access in GPU malloc (#142692)
Summary:
This improves performance by reducing the amount of RMW operations we
need to do to a single slot. This improves repeated allocations without
much contention about ten percent.
Commit: 9ab4c16042a38d5b80084afff52699e246ca9ea8
https://github.com/llvm/llvm-project/commit/9ab4c16042a38d5b80084afff52699e246ca9ea8
Author: Farzon Lotfi <farzonlotfi at microsoft.com>
Date: 2025-06-04 (Wed, 04 Jun 2025)
Changed paths:
M llvm/lib/Target/DirectX/DXILFlattenArrays.cpp
M llvm/test/CodeGen/DirectX/flatten-array.ll
M llvm/test/CodeGen/DirectX/flatten-bug-117273.ll
M llvm/test/CodeGen/DirectX/llc-vector-load-scalarize.ll
M llvm/test/CodeGen/DirectX/scalar-bug-117273.ll
Log Message:
-----------
[DirectX] Array GEPs need two indices (#142853)
partially fixes #142836
- Update DXILFlattenArrays.cpp GEPs to use two indicies since they are
array GEPs
- Update flatten test cases
- This change reduces dxv bitcast validation errors by 364 (Total now is
1070x)
- This change reduces dxv out of bounds validation errors by 124 (Total
is now 24)
- We are also able to successfully compile 4 more shaders
Commit: 7263cd48e622b8527911b40eb753d1bf76b3f586
https://github.com/llvm/llvm-project/commit/7263cd48e622b8527911b40eb753d1bf76b3f586
Author: Acthink Yang <yangzhh at mail.ustc.edu.cn>
Date: 2025-06-05 (Thu, 05 Jun 2025)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
A llvm/test/CodeGen/MSP430/fake_use_float.ll
Log Message:
-----------
[LegalizeTypes][MSP430] Soften FAKE_USE operand (#142714)
Adds support for softening FAKE_USE operands.
Adds MSP430 tests that exercise the new softening code.
Fixes #137572
Commit: 8ca220f1ddc710ba334576563502733b2698f995
https://github.com/llvm/llvm-project/commit/8ca220f1ddc710ba334576563502733b2698f995
Author: Harrison Hao <57025411+harrisonGPU at users.noreply.github.com>
Date: 2025-06-05 (Thu, 05 Jun 2025)
Changed paths:
A llvm/test/CodeGen/AMDGPU/fold-freeze-fmul-to-fma.ll
Log Message:
-----------
[NFC][AMDGPU] Add lit tests for FMA combining with freeze and nnan variants (#142628)
`freeze` on `fmul` (without `nnan`) followed by `fadd` or `fsub` into a
single `fma` is supported.
This patch adds lit tests to verify the optimization behavior for both
nnan and non-nnan variants.
Commit: f6260daf30fdd0eca9b6f5447433da4386bd0e54
https://github.com/llvm/llvm-project/commit/f6260daf30fdd0eca9b6f5447433da4386bd0e54
Author: Rahman Lavaee <rahmanl at google.com>
Date: 2025-06-04 (Wed, 04 Jun 2025)
Changed paths:
M llvm/lib/Object/ELF.cpp
A llvm/test/tools/llvm-readobj/ELF/bb-addr-map-compressed-zstd.test
Log Message:
-----------
[SHT_LLVM_BB_ADDR_MAP] Support decompressing the SHT_LLVM_BB_ADDR_MAP section. (#142825)
Compression of SHT_LLVM_BB_ADDR_MAP with zstd can give 3X compression
ratio, which is especially beneficial with PGO_analysis_map. To read the
data back, we must decompress it. Though we can use llvm-objcopy to do
this, it's much better to do this decompression internally in the
library API.
Commit: dbee0d5644787d19521f663940c272cfb4dbc0da
https://github.com/llvm/llvm-project/commit/dbee0d5644787d19521f663940c272cfb4dbc0da
Author: Florian Mayer <fmayer at google.com>
Date: 2025-06-04 (Wed, 04 Jun 2025)
Changed paths:
A compiler-rt/test/hwasan/TestCases/Posix/dlerror.cpp
Log Message:
-----------
[NFCI] [hwasan] Add test demonstrating hwasan lsan false positive (#142874)
Commit: f1a2f6dc37c2539d56d69dd370473fde00e7680f
https://github.com/llvm/llvm-project/commit/f1a2f6dc37c2539d56d69dd370473fde00e7680f
Author: Florian Mayer <fmayer at google.com>
Date: 2025-06-04 (Wed, 04 Jun 2025)
Changed paths:
M .github/workflows/docs.yml
A flang/include/flang/Lower/Support/PrivateReductionUtils.h
M flang/include/flang/Lower/Support/Utils.h
M flang/lib/Lower/Bridge.cpp
M flang/lib/Lower/CMakeLists.txt
M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
R flang/lib/Lower/OpenMP/PrivateReductionUtils.cpp
R flang/lib/Lower/OpenMP/PrivateReductionUtils.h
M flang/lib/Lower/OpenMP/ReductionProcessor.cpp
A flang/lib/Lower/Support/PrivateReductionUtils.cpp
M flang/lib/Lower/Support/Utils.cpp
M flang/test/Lower/do_concurrent_local_assoc_entity.f90
M flang/test/Lower/do_concurrent_local_default_init.f90
M libc/src/__support/GPU/allocator.cpp
M libcxx/include/string
M libcxx/test/std/strings/basic.string/string.capacity/shrink_to_fit.pass.cpp
M lldb/scripts/framework-header-fix.sh
R lldb/scripts/version-header-fix.py
M lldb/source/API/CMakeLists.txt
M lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
M lldb/test/API/tools/lldb-dap/attach/TestDAP_attachByPortNum.py
R lldb/test/Shell/Scripts/Inputs/lldb-defines.h
R lldb/test/Shell/Scripts/TestVersionFixScript.test
M lldb/unittests/ObjectFile/MachO/TestObjectFileMachO.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
M llvm/lib/Debuginfod/HTTPServer.cpp
M llvm/lib/Object/ELF.cpp
M llvm/lib/Target/DirectX/DXILFlattenArrays.cpp
M llvm/lib/Target/DirectX/DXILLegalizePass.cpp
A llvm/test/CodeGen/AMDGPU/fold-freeze-fmul-to-fma.ll
M llvm/test/CodeGen/DirectX/flatten-array.ll
M llvm/test/CodeGen/DirectX/flatten-bug-117273.ll
A llvm/test/CodeGen/DirectX/legalize-i64-high-low-vec-split.ll
M llvm/test/CodeGen/DirectX/llc-vector-load-scalarize.ll
M llvm/test/CodeGen/DirectX/scalar-bug-117273.ll
A llvm/test/CodeGen/MSP430/fake_use_float.ll
A llvm/test/tools/llvm-readobj/ELF/bb-addr-map-compressed-zstd.test
Log Message:
-----------
[𝘀𝗽𝗿] changes introduced through rebase
Created using spr 1.3.4
[skip ci]
Compare: https://github.com/llvm/llvm-project/compare/3f8158d1f0b1...f1a2f6dc37c2
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