LLVM/project 703f654 — llvm/lib/Target/CSKY CSKYTargetMachine.h CSKYTargetMachine.cpp

CSKY: Use LastSubtargetCache in getSubtargetImpl (#242778)

Migrate to the new common pattern for targets to cache the last
result.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+25-14llvm/lib/Target/CSKY/CSKYTargetMachine.cpp
+15-0llvm/lib/Target/CSKY/CSKYTargetMachine.h
+40-142 files

LLVM/project c2b6ded — offload/liboffload/plugins/amdgpu/src rtl.cpp AMDGPUDeviceOptions.h, offload/liboffload/plugins/common/include DeviceOptions.h

[Offload][AMDGPU][NFC] Introduce per-device runtime options (#239816)

This PR:
- Introduce per-device runtime options;
- Enable flexible setting for default values;
- Move AMDGPU queue and SDMA settings into the new options structure to
show the usage;
- No changes to the existing behaviors and defaults;
- Can be extended to support configurations from profiles.

RFC can be found:
https://discourse.llvm.org/t/rfc-offload-amdgpu-device-specific-runtime-defaults-for-the-openmp-amdgpu-plugin/91613

Assisted by GPT5.6
DeltaFile
+44-0offload/liboffload/plugins/common/include/DeviceOptions.h
+39-0offload/liboffload/plugins/amdgpu/src/AMDGPUDeviceOptions.h
+12-10offload/liboffload/plugins/amdgpu/src/rtl.cpp
+95-103 files

LLVM/project 7e007dc — clang/test/CodeGen/X86 x86_64-member-pointer-abi.cpp, llvm/lib/ABI TargetInfo.cpp

[LLVMABI] Treat data member pointers as scalars (#244140)

Match Clang, which passes atomic data member pointers directly on x86-64

Required for https://github.com/llvm/llvm-project/pull/223259
DeltaFile
+16-0clang/test/CodeGen/X86/x86_64-member-pointer-abi.cpp
+4-0llvm/lib/ABI/TargetInfo.cpp
+20-02 files

LLVM/project dfcf2f7 — clang/lib/CodeGen CGExprCXX.cpp, clang/test/CodeGenCXX cxx1z-aligned-allocation.cpp

CGExprCXX: emit family and allockind attributes (#239732)

This allows us to remove the special knowledge about C++ allocation from
LLVM's MemoryBuiltins.cpp, instead trusting attributes to communicate
the important properties.

Annoyingly, clang has to grow a little bit of hard-coded knowledge about
mangled symbol names in order to actually get the most-basic-matching
::operator::new when working out the alloc-family attribute. I spent
some time trying to do this "right" by looking up the available
operators new and finding the best one, but that's super tricky and this
has the virtue of working and being pretty obviously correct when
compared to the old code.

Happily, clang now emits allocator family attributes for custom
allocators like the `__hot_cold_t` overloads in `new_hot_cold.cpp`
(which `isReplaceableGlobalAllocationFunction` in clang recognizes),
allowing us to remove that special knowledge from LLVM.


    [6 lines not shown]
DeltaFile
+2-120llvm/lib/Analysis/MemoryBuiltins.cpp
+51-51llvm/test/Transforms/InstCombine/new-delete-itanium.ll
+34-10clang/test/CodeGenCXX/cxx1z-aligned-allocation.cpp
+38-3clang/lib/CodeGen/CGExprCXX.cpp
+10-22clang/test/Headers/openmp_new_nothrow.cpp
+14-14llvm/test/Transforms/InstCombine/new-delete-itanium-32.ll
+149-22018 files not shown
+198-26024 files

LLVM/project 39971de — clang/test/CIR/Tools cir-offload-merge.cir

[CIR] Check lowering options are kept in cir-offload-merge test
DeltaFile
+4-4clang/test/CIR/Tools/cir-offload-merge.cir
+4-41 files

LLVM/project ecdde84 — clang/lib/Driver/ToolChains CommonArgs.cpp, clang/test/Driver relocatable-dwarf.c

[clang] Don't relocate DWARF on 32-bit ARM and x86 Mach-O (#244069)

On 32-bit ARM and x86, Mach-O uses scattered relocations, which identify
their target by address. Relocatable DWARF puts every __DWARF section at
address 0, so these relocations become ambiguous: a line table's
reference to a file name in __debug_line_str resolves to the first
function in __text instead.

Don't enable relocatable DWARF for these architectures.

Assisted-by: Claude
DeltaFile
+15-2clang/test/Driver/relocatable-dwarf.c
+3-0clang/lib/Driver/ToolChains/CommonArgs.cpp
+18-22 files

LLVM/project 7bd6265 — utils/bazel/llvm-project-overlay/libc/src/signal BUILD.bazel, utils/bazel/llvm-project-overlay/libc/test/src/signal BUILD.bazel

[bazel][libc] Add missing copts for __restore.cpp (#244351)

`sigaction_test` fails w/o the copts and passes with them. `copts` are
taken from:
https://github.com/llvm/llvm-project/blob/d56bc48c9c0ea19b58427b3c6f114bd669710cbd/libc/src/signal/linux/CMakeLists.txt#L62-L68
DeltaFile
+25-0utils/bazel/llvm-project-overlay/libc/src/signal/BUILD.bazel
+23-0utils/bazel/llvm-project-overlay/libc/test/src/signal/BUILD.bazel
+48-02 files

LLVM/project eb9bb7d — lldb CMakeLists.txt, llvm-libgcc CMakeLists.txt

[CMake] Bump the minimum required version to 3.31 (#223854)

This is a follow up to e192ec42b426f6ffbc25419238a90f3c59088587 which
changes the warning to an error when using CMake older than 3.31.

See https://discourse.llvm.org/t/rfc-raising-minimum-required-cmake-version-to-3-31/91086.

Co-authored-by: Mehdi Amini <joker.eph at gmail.com>
DeltaFile
+1-9polly/CMakeLists.txt
+1-9openmp/CMakeLists.txt
+1-9offload/CMakeLists.txt
+1-9mlir/CMakeLists.txt
+1-9llvm-libgcc/CMakeLists.txt
+1-9lldb/CMakeLists.txt
+6-5431 files not shown
+43-19337 files

LLVM/project fffc865 — llvm/test/tools/dsymutil/AArch64 pseudo-probe.test

[dsymutil][test] Use FileCheck --ignore-case in pseudo-probe.test (#243999)

Follow-up to #243925, addressing the post-merge review comment from
@perry-ca.

Use FileCheck's `--ignore-case` option instead of piping `od` output
through `tr A-F a-f`, consistent with other tests (e.g.
`llvm/test/tools/yaml2obj/XCOFF/string-table.yaml`).
DeltaFile
+4-4llvm/test/tools/dsymutil/AArch64/pseudo-probe.test
+4-41 files

LLVM/project 1326542 — openmp/runtime/src z_Linux_asm.S

[OpenMP] Fix __kmp_invoke_microtask for arm64_32 (#243956)

On arm64_32 pointers are 4 bytes. Use 4 byte loads and stores for the
p_argv entries, the stack arguments and *exit_frame_ptr.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+23-10openmp/runtime/src/z_Linux_asm.S
+23-101 files

LLVM/project 91fed89 — llvm/test/Transforms/SLPVectorizer/RISCV revec-strided-load.ll

[SLP] Precommit tests for Compressed vs Strided loads (#244338)

Tests for #235944.
DeltaFile
+127-40llvm/test/Transforms/SLPVectorizer/RISCV/revec-strided-load.ll
+127-401 files

LLVM/project 41fad11 — llvm/lib/Transforms/InstCombine InstCombineSelect.cpp, llvm/test/Transforms/InstCombine usub_sat_to_msb_mask.ll

[InstCombine] Check the select type in the usub.sat sign mask fold (#244281)

`foldICmpUSubSatWithAndForMostSignificantBitCmp` replaces a select with
an `and` that has the type of the `usub.sat` operands. We can't do the
replacement when the select has a different type.

This PR was assisted by AI but I reviewed all the changes.
DeltaFile
+37-0llvm/test/Transforms/InstCombine/usub_sat_to_msb_mask.ll
+5-0llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
+42-02 files

LLVM/project 6eeb7b9 — lldb/include/lldb/API SBCommandReturnObject.h, lldb/source/API SBCommandReturnObject.cpp

[lldb] Fix SBCommandReturnObject::SetError dropping the error (#244317)

8789c96698e0 inverted the check, so only a successful SBError was
forwarded.

Assisted-by: Claude
DeltaFile
+40-0lldb/unittests/API/SBCommandReturnObjectTest.cpp
+9-0lldb/test/API/commands/command/script/TestCommandScript.py
+6-0lldb/test/API/commands/command/script/welcome.py
+3-0lldb/include/lldb/API/SBCommandReturnObject.h
+1-1lldb/source/API/SBCommandReturnObject.cpp
+1-0lldb/unittests/API/CMakeLists.txt
+60-16 files

LLVM/project 8830f95 — lldb/packages/Python/lldbsuite/test lldbtest.py, lldb/source/Plugins/LanguageRuntime/CPlusPlus MicrosoftABIRuntime.h MicrosoftABIRuntime.cpp

[lldb][MS ABI] Use special demangle flags for templates (#238970)

In #236572, I added some flags to mimic the formatting MSVC (and Clang)
use for templates in PDB. Specifically, they don't insert spaces in
parameter lists and closing braces do have a space. DWARF only differs
in that it puts spaces between parameters.

When we detect a template name, we now demangle that manually, since
`Mangled` doesn't use the right flags. This is a bit more overhead, but
the result is cached anyway.
DeltaFile
+62-9lldb/source/Plugins/LanguageRuntime/CPlusPlus/MicrosoftABIRuntime.cpp
+61-0lldb/test/API/lang/cpp/dynamic-value-templates/TestDynamicValueTemplates.py
+36-0lldb/test/API/lang/cpp/dynamic-value-templates/main.cpp
+9-4lldb/packages/Python/lldbsuite/test/lldbtest.py
+5-0lldb/test/API/lang/cpp/dynamic-value-templates/Makefile
+4-0lldb/source/Plugins/LanguageRuntime/CPlusPlus/MicrosoftABIRuntime.h
+177-136 files

LLVM/project dcfc3d4 — clang/lib/Driver/ToolChains Clang.cpp

[Clang][Driver][NFC] Simplify fp-contract state tracking (#243282)

Simplify -ffp-contract state tracking by replacing
'LastSeenFfpContractOption' and 'SeenUnsafeMathModeOption' with a single
optional fallback value 'FPContractFallback';

Explicit -ffp-contract options set the fallback 'FPContractFallback' to
their value. Unsafe-math options establish "on" as the fallback only
when none exists. Disabling unsafe math restores that fallback,
preserving existing option-ordering behavior and CUDA/HIP exceptions.

Share the contraction-enabling logic through enableUnsafeFPContract()
and remove a redundant diagnostic-state reset.

Assisted by Copilot GPT-6.1 Sol
DeltaFile
+19-26clang/lib/Driver/ToolChains/Clang.cpp
+19-261 files

LLVM/project c042bf3 — clang/docs ReleaseNotes.md, clang/lib/Sema SemaOpenMP.cpp

[clang][OpenMP] Fix APSInt bit-width mismatch in ordered depend/doacross check (#238672)

In `ProcessOpenMPDoacrossClauseCommon`, both `DepCounter` and
`TotalDepCount` were initialized as `32-bit APSInts`, after which
`TotalDepCount` was overwritten by
`OrderedCountExpr->EvaluateKnownConstInt(...)`. When the `ordered(n)`
clause expression had a bit-width other than 32 bits, `TotalDepCount`
took on that expression's bit-width while `DepCounter` remained 32-bit,
triggering an APInt bit-width assertion in `DepCounter >=
TotalDepCount`.

Initialize `DepCounter` after `TotalDepCount` is evaluated using
`TotalDepCount.getBitWidth()` so both unsigned APSInts always have
matching bit-widths.

Fixes #235971

Assisted-by: Gemini
DeltaFile
+26-0clang/test/OpenMP/ordered_messages.cpp
+4-0clang/docs/ReleaseNotes.md
+2-1clang/lib/Sema/SemaOpenMP.cpp
+32-13 files

LLVM/project 1d73203 — clang/test/CIR/CodeGenOpenMP target-parallel-for.c parallel-for.c

[CIR][OpenMP] Specify target triple in OpenMP loop codegen tests (#244278)

Add `-triple x86_64-unknown-linux-gnu` to tests added in 
61067a5096e (#229256) to avoid defaulting to the host target triple
and failing on non-x86 builders like
https://lab.llvm.org/buildbot/#/builders/231/builds/2223.
DeltaFile
+2-1clang/test/CIR/CodeGenOpenMP/target-parallel-for.c
+2-1clang/test/CIR/CodeGenOpenMP/parallel-for.c
+2-1clang/test/CIR/CodeGenOpenMP/for-loop-forms.c
+6-33 files

LLVM/project ad409d6 — utils/bazel/llvm-project-overlay/libc/test libc_test_rules.bzl

[bazel][libc] Enable fullbuild-only tests in CI (#244324)

These were previously excluded from CI, but now have support in
Buildkite and github CI (19b0091751d8c786c92e749a2d3404595edd359b). This
PR also adds `target_compatible_with` for overlay builds.
DeltaFile
+5-10utils/bazel/llvm-project-overlay/libc/test/libc_test_rules.bzl
+5-101 files

LLVM/project abfdc8f — flang/lib/Semantics openmp-utils.cpp, flang/test/Lower/OpenMP metadirective-implementation.f90

[OpenMP][flang] Score unknown context selector properties by selector

Flang records an unknown property such as kind(bogus) or vendor(bogus)
as TraitProperty::invalid, which belongs to no selector. Under
match_any or match_none, where such a variant can still be selected,
the property therefore lost its selector's weight: kind(bogus) added
nothing, while an unmatched kind(gpu) adds 2^l, where l is the number of
constructs in the context. A score on a selector that mixes known and
unknown properties was also added twice, once for the known property and
once for invalid, and unknown properties in different selectors shared
a single score.

Add VariantMatchInfo::addUnknownTrait, which keeps the property
unmatched and records its selector and score, and score that selector
like any other. Use it in Flang. Clang drops unknown properties while
parsing and is unaffected.

Fixes: https://github.com/llvm/llvm-project/issues/233029

Assisted-by: GitHub Copilot (Claude Opus 5.5)
DeltaFile
+38-1llvm/unittests/Frontend/OpenMPContextTest.cpp
+30-0flang/test/Lower/OpenMP/metadirective-implementation.f90
+15-0llvm/include/llvm/Frontend/OpenMP/OMPContext.h
+6-2llvm/lib/Frontend/OpenMP/OMPContext.cpp
+2-4flang/lib/Semantics/openmp-utils.cpp
+91-75 files

LLVM/project 4f51825 — clang/docs ReleaseNotes.md, clang/lib/CodeGen CGStmtOpenMP.cpp

[Clang][OpenMP] Use the associated loop's range in loop metadata (#240649)

The start and end locations in the `!llvm.loop` metadata of an OpenMP
loop came from the directive's source range, which covers only the
pragma line. Consumers of these locations, such as optimization remarks,
therefore reported the loop at the `#pragma omp` line rather than at the
loop.

Use the range of the associated loop instead, looking through loop
transformation directives such as `unroll` and `tile`. This covers the
inner loop and the outer dispatch loop of dynamic, guided and chunked
schedules. `sections` has no associated loop and keeps the directive
range.

For example, with `-fopenmp -O2 -Rpass=loop-vectorize`:

    2  #pragma omp simd
    3    for (int i = 0; i < n; ++i)
    4      a[i] += b[i];

    [4 lines not shown]
DeltaFile
+81-0clang/test/OpenMP/loop_debug_location.c
+13-2clang/lib/CodeGen/CGStmtOpenMP.cpp
+3-0clang/docs/ReleaseNotes.md
+97-23 files

LLVM/project 7c82956 — clang/lib/CodeGen CGExprCXX.cpp, clang/test/CodeGenCXX cxx1z-aligned-allocation.cpp

CGExprCXX: emit family and allockind attributes

This allows us to remove the special knowledge about C++ allocation from
LLVM's MemoryBuiltins.cpp, instead trusting attributes to communicate
the important properties.

Annoyingly, clang has to grow a little bit of hard-coded knowledge about
mangled symbol names in order to actually get the most-basic-matching
::operator::new when working out the alloc-family attribute. I spent
some time trying to do this "right" by looking up the available
operators new and finding the best one, but that's super tricky and this
has the virtue of working and being pretty obviously correct when
compared to the old code.

Happily, clang now emits allocator family attributes for custom
allocators like the `__hot_cold_t` overloads in `new_hot_cold.cpp`
(which `isReplaceableGlobalAllocationFunction` in clang recognizes),
allowing us to remove that special knowledge from LLVM.


    [7 lines not shown]
DeltaFile
+2-120llvm/lib/Analysis/MemoryBuiltins.cpp
+51-51llvm/test/Transforms/InstCombine/new-delete-itanium.ll
+34-10clang/test/CodeGenCXX/cxx1z-aligned-allocation.cpp
+38-3clang/lib/CodeGen/CGExprCXX.cpp
+10-22clang/test/Headers/openmp_new_nothrow.cpp
+14-14llvm/test/Transforms/InstCombine/new-delete-itanium-32.ll
+149-22018 files not shown
+198-26024 files

LLVM/project ea5311e — clang/test/CodeGen memprof-mempgo.cpp, clang/test/CodeGen/distributed-thin-lto memprof-mempgo.cpp

SimplifyLibCalls: preserve allocation attributes in optimizeNew (#239731)

When `LibCallSimplifier::optimizeNew` rewrites an `operator new` call
into a `__hot_cold_t` allocation call, forward the allocation attributes
(`allockind`, `allocsize`, `"alloc-family"`, and parameter `allocalign`)
from the original call onto the synthesized call instruction alongside
its metadata.

This is a new patch since 2023 (unlike most of the rest of the stack)
and allows the next patch to remove more specialized C++ knowledge from
the LLVM layer, instead leaving it in clang where it seems more
sensible.

This patch was authored with the assistance of an LLM and was reviewed
by me before posting.
DeltaFile
+90-0llvm/test/Transforms/InstCombine/simplify-libcalls-new-attrs.ll
+13-1llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
+2-2clang/test/CodeGen/memprof-mempgo.cpp
+2-2clang/test/CodeGen/distributed-thin-lto/memprof-mempgo.cpp
+1-1llvm/test/Transforms/InstCombine/simplify-libcalls-new.ll
+108-65 files

LLVM/project fa21ccb — llvm/lib/Target/AMDGPU AMDGPUISelLowering.cpp AMDGPUInstCombineIntrinsic.cpp, llvm/lib/Target/AMDGPU/Disassembler AMDGPUDisassembler.cpp

[AMDGPU] Fix more MSVC signed/unsigned and shift warnings (#241461)

Fix three MSVC warnings in the AMDGPU backend:

- AMDGPUISelLowering.cpp: C4018 (signed/unsigned mismatch) comparing the
unsigned DivBits against the int literals 23 and 22.

- AMDGPUDisassembler.cpp: C4334 (32-bit shift implicitly converted to 64
bits) in an assert comparing a uint64_t against 1U << EncSize. Use a
64-bit shift.

- AMDGPUInstCombineIntrinsic.cpp: C4334 EnBits is a uint64_t but the
masks were built with 32-bit shifts. Use 64-bit shifts.
DeltaFile
+2-2llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
+1-1llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
+1-1llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
+4-43 files

LLVM/project 1ca16c3 — llvm/lib/Analysis InstructionSimplify.cpp, llvm/test/CodeGen/AMDGPU simplify-libcalls.ll amdgpu-simplify-libcall-rootn.ll

[InstSimplify] Fold infinity arms of scalar ninf selects

A scalar ninf select produces poison when it selects a constant
infinity. Replace the select with its other arm, which preserves the
result whenever the select is defined. This removes infinity arms
from AMDGPU libcalls that already use ninf selects.

AI assisted.
DeltaFile
+61-84llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-pow.ll
+40-0llvm/test/Transforms/InstSimplify/select-ninf.ll
+13-26llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-rootn.ll
+8-0llvm/lib/Analysis/InstructionSimplify.cpp
+2-5llvm/test/CodeGen/AMDGPU/simplify-libcalls.ll
+124-1155 files

LLVM/project 6f7faa4 — llvm/lib/Transforms/Utils InlineFunction.cpp, llvm/test/Transforms/Inline ret_attr_nofpclass-select.ll

[Inline] Preserve nofpclass(inf) on returned selects

Inlining can lose a call's nofpclass(inf) return constraint when the
callee returns a select. Carry the constraint over as ninf on eligible
scalar selects whose only use is the return. This lets later passes
simplify overflow paths that would return infinity.

AI assisted.
DeltaFile
+58-0llvm/test/Transforms/Inline/ret_attr_nofpclass-select.ll
+14-0llvm/lib/Transforms/Utils/InlineFunction.cpp
+72-02 files

LLVM/project 3bc88d5 — llvm/lib/Transforms/InstCombine InstCombineSelect.cpp, llvm/test/CodeGen/AMDGPU simplify-libcalls.ll amdgpu-simplify-libcall-rootn.ll

[InstCombine] Propagate ninf through single-use scalar selects

When an ninf select chooses the result of an inner select, an
infinity from the inner select makes the outer result poison.
If the inner select has no other uses, give it ninf so InstSimplify
can fold a constant infinity arm. This also propagates ninf through
nested selects in AMDGPU libcalls.

AI assisted.
DeltaFile
+39-0llvm/test/Transforms/InstCombine/select-ninf.ll
+16-0llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
+7-7llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-pow.ll
+3-3llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-rootn.ll
+2-2llvm/test/CodeGen/AMDGPU/simplify-libcalls.ll
+67-125 files

LLVM/project 2b7c640 — clang/lib/Driver/ToolChains MSVC.cpp, llvm/include/llvm/Support VirtualFileSystem.h

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+27-0llvm/unittests/Support/VirtualFileSystemTest.cpp
+5-0llvm/include/llvm/Support/VirtualFileSystem.h
+1-3clang/lib/Driver/ToolChains/MSVC.cpp
+4-0llvm/lib/Support/VirtualFileSystem.cpp
+37-34 files

LLVM/project aa702f4 — lldb/include/lldb/Target DynamicRegisterInfo.h, lldb/source/Plugins/ABI/AArch64 ABIAArch64.cpp

[lldb] Remove ConstString from DynamicRegisterInfo (#243644)

RegisterInfo and RegisterSet both have `const char *` values. In many
cases, they are backed by static data and so their lifetime is
guaranteed. The one case where this is not true is DynamicRegisterInfo.

DynamicRegisterInfo produces RegisterInfo and RegisterSet objects for
register information that lldb is not aware of ahead of time. Currently
it stores strings in the ConstString pool to guarantee their lifetimes
for the remainder of lldb's run time. As a part of removing ConstString
from LLDB in general, this change ties those strings to the lifetime of
the DynamicRegisterInfo itself.

There are a few cases where RegisterInfo objects are pulled out of
DynamicRegisterInfo or a DynamicRegisterInfo object is copied. Those
cases are handled carefully, sometimes with ConstString, to make sure we
are not producing dangling pointers. Future changes will fix them.
DeltaFile
+67-16lldb/source/Target/DynamicRegisterInfo.cpp
+35-35lldb/source/Plugins/ABI/RISCV/ABISysV_riscv.cpp
+16-41lldb/include/lldb/Target/DynamicRegisterInfo.h
+10-10lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+7-10lldb/source/Plugins/ABI/AArch64/ABIAArch64.cpp
+5-9lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterFallback.cpp
+140-12110 files not shown
+179-15316 files

LLVM/project d15b704 — llvm/docs AMDGPUUsage.md

[NFC][AMDGPU][Doc] Fix the private null value in the AMDHSA memory spaces table (#244333)
DeltaFile
+1-1llvm/docs/AMDGPUUsage.md
+1-11 files

LLVM/project 0468efd — llvm/test/tools/lto target-options.ll, llvm/tools/lto lto.cpp

[libLTO] Apply late -mllvm options to the target options (#244090)

lto_codegen_debug_options and lto_codegen_debug_options_array only
record the options. They are parsed when the first output is produced,
but the target options, including the MC options, are read from the
library options when the generator is created. Options that ld64 passes
with -mllvm, such as -macho-relocatable-dwarf or
-nozero-initialized-in-bss, were parsed and then ignored.

Read the target options again after the late options are parsed.
lto_set_debug_options and thinlto_debug_options parse before the
generator is created and are unchanged.
DeltaFile
+41-0llvm/test/tools/lto/target-options.ll
+6-0llvm/tools/lto/lto.cpp
+47-02 files