LLVM/project 344a7db — llvm/test/CodeGen/AMDGPU calling-conventions.ll amdgcn.bitcast.128bit.ll

Merge remote-tracking branch 'origin/main' into users/mtrofin/fix-ctxprof-under-context

# Conflicts:
#       compiler-rt/lib/ctx_profile/tests/CtxInstrProfilingTest.cpp

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot at users.noreply.github.com>
DeltaFile
+7,106-7,623llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+2,318-2,569llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+1,688-1,190llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.320bit.ll
+1,309-916llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.256bit.ll
+1,159-802llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.128bit.ll
+1,189-754llvm/test/CodeGen/AMDGPU/calling-conventions.ll
+14,769-13,854873 files not shown
+46,705-25,282879 files

LLVM/project 2b11206 — llvm/utils/gn/secondary/llvm/lib/Transforms/Utils BUILD.gn

[gn] port 31b3a32fb4f7 (#248723)
DeltaFile
+1-0llvm/utils/gn/secondary/llvm/lib/Transforms/Utils/BUILD.gn
+1-01 files

LLVM/project 8265c78 — llvm/include/llvm/ExecutionEngine/Orc HandleLookupInJITDylibSPS.h HandleLookupInJITDylib.h, llvm/lib/ExecutionEngine/Orc CMakeLists.txt HandleLookupInJITDylib.cpp

[ORC] Add controller-side handler for lookupInJITDylib (#248382)

orc-rt's sps::lookupInJITDylib lets code in the executor (the process
running JIT'd code) ask the controller (the process running ORC) to look
up symbols in one of its JITDylibs. This commit adds the controller side
of that call.

createLookupInJITDylibHandler builds the handler from a client-supplied
function that maps the executor's key (e.g. the address of an image
header) to a JITDylib. Clients register it with
bindCallControllerHandler, using the SPS spec in
HandleLookupInJITDylibSPS.h.

Results are returned in request order. A missing required symbol fails
the whole lookup without materializing anything. A missing weakly
referenced symbol is reported as nullopt, so a null address always means
a symbol defined at address zero.
DeltaFile
+178-0llvm/unittests/ExecutionEngine/Orc/HandleLookupInJITDylibTest.cpp
+70-0llvm/include/llvm/ExecutionEngine/Orc/HandleLookupInJITDylib.h
+70-0llvm/lib/ExecutionEngine/Orc/HandleLookupInJITDylib.cpp
+37-0llvm/include/llvm/ExecutionEngine/Orc/HandleLookupInJITDylibSPS.h
+1-0llvm/unittests/ExecutionEngine/Orc/CMakeLists.txt
+1-0llvm/lib/ExecutionEngine/Orc/CMakeLists.txt
+357-06 files

LLVM/project a57c4f7 — llvm/utils/gn/secondary/llvm/include/llvm/IR BUILD.gn, llvm/utils/gn/secondary/llvm/lib/IR BUILD.gn

[gn] port 09e276a01f6e (PISA) (#248724)
DeltaFile
+5-0llvm/utils/gn/secondary/llvm/include/llvm/IR/BUILD.gn
+1-0llvm/utils/gn/secondary/llvm/lib/IR/BUILD.gn
+6-02 files

LLVM/project 4340d42 — llvm/utils/gn/secondary/libcxx/include BUILD.gn

[gn] port 080ee0b212c2 (#248725)
DeltaFile
+0-2llvm/utils/gn/secondary/libcxx/include/BUILD.gn
+0-21 files

LLVM/project e00ca07 — clang/include/clang/Serialization ASTReader.h, clang/lib/Serialization ASTReader.cpp

[clang][serialization] Remove unused `ASTReader::PCHContainerRdr`

Since the AST file is now extracted before it reaches the reader, the
member is no longer used. The constructor parameter is still forwarded to
the module manager.
DeltaFile
+2-3clang/lib/Serialization/ASTReader.cpp
+0-1clang/include/clang/Serialization/ASTReader.h
+2-42 files

LLVM/project 4aa56a9 — clang/include/clang/CIR/Dialect/IR CMakeLists.txt, flang/lib/Frontend CMakeLists.txt

[CMake] Migrate CIR and Flang generated-header dependencies

Replace CIR's mlir-headers dependencies and Flang's global MLIR library
lists with their actual library dependencies. Let owners provide
generated headers through the link graph, and remove duplicate ordering
dependencies on foreign IncGen targets.

Declare CIR interface and header ownership explicitly. Keep source
shards, bytecode tables and lowering tables private to their consumers.
Scope accumulated TableGen variables and keep implementation-only
lowering tables out of Clang's global TableGen aggregate.

Include only the dialects and conversion passes registered by Flang.
Preserve the supported registrations and retain MLIR_DEPS for downstream
compatibility. Use compile-only owner links for header-only
dependencies.

Assisted-by: Codex
DeltaFile
+28-12flang/lib/Optimizer/Support/CMakeLists.txt
+16-16flang/lib/Optimizer/Builder/CMakeLists.txt
+7-17flang/lib/Lower/CMakeLists.txt
+16-7clang/include/clang/CIR/Dialect/IR/CMakeLists.txt
+4-18flang/lib/Frontend/CMakeLists.txt
+0-16flang/lib/Optimizer/OpenACC/Support/CMakeLists.txt
+71-8640 files not shown
+131-26446 files

LLVM/project 4b4f7d2 — llvm/lib/Transforms/Utils EntryExitInstrumenter.cpp, llvm/test/Transforms/EntryExitInstrumenter unknown-function.ll

EntryExitInstrumenter: Report unknown instrumentation functions as errors (#248708)

Use emitError instead of report_fatal_error when an
instrument-function-entry or instrument-function-exit attribute names a
function the pass does not know how to call.

Assisted-by: Claude
DeltaFile
+13-0llvm/test/Transforms/EntryExitInstrumenter/unknown-function.ll
+1-1llvm/lib/Transforms/Utils/EntryExitInstrumenter.cpp
+14-12 files

LLVM/project 839cfc2 — clang/test/Modules pch-container-coff-alignment.c

[clang] Make the PCM alignment test independent of the COFF writer

The test relied on the MC COFF writer happening to place the clangast
section at an unaligned offset. That offset depends on which sections the
writer emits and on the codegen of the ASan module constructor, so
unrelated changes could break the test or quietly make it test nothing.

Instead, re-wrap the AST file in a COFF object built with yaml2obj and
llvm-objcopy, which places the clangast section at a known unaligned
offset, and check that offset exactly.
DeltaFile
+25-9clang/test/Modules/pch-container-coff-alignment.c
+25-91 files

LLVM/project d56185a — mlir/lib/Dialect/OpenACC/IR OpenACCCG.cpp, mlir/test/Dialect/OpenACC invalid-cg.mlir

[MLIR][OpenACC] Reject nested acc.compute_region ops (#248712)

An acc.compute_region cannot be nested inside another one. Check this in
ComputeRegionOp::verify, which walks the ancestors of the op, so a
nested region is rejected at any depth. A declarative trait cannot
express this: HasAncestor requires an ancestor but has no negated form.

Add a case to invalid-cg.mlir that expects the diagnostic on the inner
region.
DeltaFile
+13-0mlir/test/Dialect/OpenACC/invalid-cg.mlir
+3-0mlir/lib/Dialect/OpenACC/IR/OpenACCCG.cpp
+16-02 files

LLVM/project dde248d — llvm/lib/Transforms/Vectorize SLPVectorizer.cpp

[NFC][SLP] Add CandidateState::isReductionTree() (#247090)

Directly call `Candidate.isReductionTree()`, removing `BoUpSLP::isReductionTree()`.

AI Usage: Assisted by Codex
DeltaFile
+105-91llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+105-911 files

LLVM/project b61a55c — compiler-rt/lib/ctx_profile CtxInstrProfiling.cpp, compiler-rt/lib/ctx_profile/tests CtxInstrProfilingTest.cpp

[ctxprof] Write flat profiles for non-rootable functions (#248229)

Functions that cannot become roots, such as those containing musttail
calls, have their CtxRoot field initialized to the non-rootable
sentinel. When serializing flat profiles, check whether a function is an
active root rather than requiring CtxRoot to be null and rootable, so
flat profiles collected for non-rootable functions are not dropped.
DeltaFile
+48-0compiler-rt/lib/ctx_profile/tests/CtxInstrProfilingTest.cpp
+4-4compiler-rt/lib/ctx_profile/CtxInstrProfiling.cpp
+52-42 files

LLVM/project cdb712f — llvm/lib/Transforms/Vectorize VPlanUtils.cpp VPlan.h, llvm/test/Transforms/LoopVectorize/X86 predicated-replicate-feeding-cast-cost.ll

[VPlan] Single-scalar VPInstructions only use first lane of operands. (#248702)

Single-scalar VPInstructions only use the first lane of their operands,
independent of their users. Report this in usesFirstLaneOnly and do not
propagate first-lane use through them, removing the cast special case in
replicateByVF and the cases for always-single-scalar opcodes. Assert
that vector-to-scalar opcodes are not marked single-scalar.

Blends only used by single-scalar casts are now costed as scalar
selects.
DeltaFile
+4-5llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+2-5llvm/lib/Transforms/Vectorize/VPlanUnroll.cpp
+4-2llvm/lib/Transforms/Vectorize/VPlan.h
+1-1llvm/test/Transforms/LoopVectorize/X86/predicated-replicate-feeding-cast-cost.ll
+1-1llvm/lib/Transforms/Vectorize/VPlanUtils.cpp
+12-145 files

LLVM/project d9e4a78 — mlir/lib/Dialect/OpenACC/Transforms ACCCGToGPU.cpp ACCPartitionKernelLoops.cpp, mlir/test/Dialect/OpenACC acc-partition-kernel-loops-gang-vector.mlir acc-partition-kernel-loops-grid-stride.mlir

[mlir][acc] Introduce acc-partition-kernel-loops pass (#248659)

Add a pass that maps the parallel loops of an acc.compute_region onto
the GPU dimensions they were assigned. Each scf.parallel loop carries an
acc.par_dims attribute that lists the dimensions it runs over. The pass
splits the loop so that each loop carries a single dimension, which is
the form the GPU lowering expects. For every non-sequential dimension,
the loop gets an outer loop over the launch width of that dimension. The
original loop becomes sequential and walks the iterations of one lane,
so that neighboring lanes work on neighboring iterations.

```
  acc.compute_region launch(%w = %pw_x) {
    scf.parallel (%i) = (%lb) to (%ub) step (%s) {
      ...
    } {acc.par_dims = #acc<par_dims[thread_x]>}
  }
```


    [23 lines not shown]
DeltaFile
+519-0mlir/lib/Dialect/OpenACC/Transforms/ACCPartitionKernelLoops.cpp
+307-0mlir/test/Dialect/OpenACC/acc-partition-kernel-loops-gang-static-chunk.mlir
+223-0mlir/test/Dialect/OpenACC/acc-partition-kernel-loops.mlir
+83-0mlir/test/Dialect/OpenACC/acc-partition-kernel-loops-grid-stride.mlir
+68-0mlir/test/Dialect/OpenACC/acc-partition-kernel-loops-gang-vector.mlir
+7-43mlir/lib/Dialect/OpenACC/Transforms/ACCCGToGPU.cpp
+1,207-4311 files not shown
+1,429-6817 files

LLVM/project b209e09 — lldb/source/Target Process.cpp

[lldb] Incl SC UUID in headerbytes cache for old debugservers (#248667)

I added a new caching for lldb for binaries read out of memory, saving
the binary header bytes, in
https://github.com/llvm/llvm-project/pull/231344

It creates a filename for the headerbytes cache based on the filename,
file UUID, and if the binary is inside the Darwin shared cache region,
the shared cache UUID. If the debugserver doesn't report the shared
cache VM range, it would suppress headerbytes caching.

One CI bot was using an older debugserver that did not provide the
shared cache VM region, and the test would fail because the expected
headerbytes file was not found.

This changes the behavior for an old debugserver that fails to report
the shared cache VM region bounds -- now, we will include the shared
cache UUID for the filename of every binary read out of memory on that
system, when caching the headerbytes. This means that a filename which

    [13 lines not shown]
DeltaFile
+10-5lldb/source/Target/Process.cpp
+10-51 files

LLVM/project dc963db — llvm/lib/Target/RISCV/MCTargetDesc RISCVAsmBackend.cpp, llvm/test/MC/RISCV symbol-difference-insn-relax-invalid.s pcrel-dot-difference.s

[RISCV][MC] Diagnose symbol differences in instructions under relaxation (#247981)

With linker relaxation enabled, the distance between two labels that
span a relaxable instruction is only known at link time. `addReloc()`
handles such a symbol difference by emitting an ADD/SUB relocation pair,
but those exist only for data fixups. For an instruction operand, e.g.
`li t0, (9f - 0f)`, it hit `llvm_unreachable("unsupported fixup size")`,
and release builds emitted bogus relocations.

Report an error at the operand instead, as GNU as does. Without
relaxation the difference is still folded to a constant.

A PC-relative target of the form `sym - .`, where `.` is the instruction
itself, is a reference to `sym` and is resolved or relocated as such.

The forms that reach this path past the parser are `li`, `qc.e.li`, and
branches/`jal` with a label-difference target; all are covered by the
new test.


    [5 lines not shown]
DeltaFile
+53-0llvm/test/MC/RISCV/pcrel-dot-difference.s
+40-2llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
+26-0llvm/test/MC/RISCV/symbol-difference-insn-relax-invalid.s
+119-23 files

LLVM/project df72123 — llvm/include/llvm/Analysis ScalarEvolution.h, llvm/lib/Analysis ScalarEvolution.cpp

[SCEV] Compute non-strict exit counts without widening if RHS < MAX (#237107)

For `IV <= RHS` exits, if RHS is loop invariant and less than MAX on
entry to the loop,
RHS + 1 does not wrap.
Compute the exit count as `IV < RHS + 1` in the original type before
widening, where howManyLessThans
can use loop guards to rule out IV overflow.

Updates the RHS argument of helper to allow contextual information
nsw/nuw etc.
howManyLessThans ( .. , const SCEV* RHS ) 
 -> 
howManyLessThans ( .. , SCEVUse RHS )  

Alive2: https://alive2.llvm.org/ce/z/77u3KL  unsigned and signed source.

IR diff: https://github.com/dtcxzyw/llvm-opt-benchmark-nightly/pull/1900
scalar-evolution.NumExitCountsComputed does increase for few cases.

    [4 lines not shown]
DeltaFile
+282-0llvm/test/Analysis/ScalarEvolution/exit-count-non-strict-rhs-below-max.ll
+50-0llvm/test/Transforms/IndVarSimplify/predicate-exits-non-strict-rhs-below-max.ll
+31-10llvm/lib/Analysis/ScalarEvolution.cpp
+4-12llvm/test/Analysis/ScalarEvolution/implied-via-addition.ll
+3-3llvm/test/Analysis/ScalarEvolution/backedge-taken-count-guard-info.ll
+3-2llvm/include/llvm/Analysis/ScalarEvolution.h
+373-276 files

LLVM/project 61d6b61 — llvm/lib/Target/RISCV RISCVExpandPseudoAtomics.cpp, llvm/test/CodeGen/RISCV atomic-masked-merge-zero.ll atomic-cmpxchg-branch-on-result.ll

Reapply "[RISCV] Remove unnecessary 'and' from masked cmpxchg loop." (#248699)

This reapplies #246502, with updates to the GISel ZALRSC checks.

As noted during review of #240749. loophead has already created a
register that holds 'dest & mask' and newval was already masked.

Assisted-by: Claude
DeltaFile
+336-504llvm/test/CodeGen/RISCV/GlobalISel/atomic-cmpxchg.ll
+256-384llvm/test/CodeGen/RISCV/atomic-cmpxchg.ll
+32-48llvm/test/CodeGen/RISCV/atomic-signext.ll
+16-24llvm/test/CodeGen/RISCV/atomic-cmpxchg-branch-on-result.ll
+10-11llvm/lib/Target/RISCV/RISCVExpandPseudoAtomics.cpp
+6-6llvm/test/CodeGen/RISCV/atomic-masked-merge-zero.ll
+656-9771 files not shown
+658-9807 files

LLVM/project a9d1524 — llvm/lib/Transforms/Utils EntryExitInstrumenter.cpp, llvm/test/Transforms/EntryExitInstrumenter unknown-function.ll

EntryExitInstrumenter: Report unknown instrumentation functions as errors

Use emitError instead of report_fatal_error when an
instrument-function-entry or instrument-function-exit attribute names a
function the pass does not know how to call.

Assisted-by: Claude
DeltaFile
+13-0llvm/test/Transforms/EntryExitInstrumenter/unknown-function.ll
+1-1llvm/lib/Transforms/Utils/EntryExitInstrumenter.cpp
+14-12 files

LLVM/project 9aeb5ab — llvm/lib/Transforms/Utils EntryExitInstrumenter.cpp, llvm/test/Transforms/EntryExitInstrumenter mcount-with-frompc.ll

EntryExitInstrumenter: Don't pass the return address to __cyg_profile_func_enter_bare

__cyg_profile_func_enter_bare does not take any arguments. It was
passed the return address on AArch64, LoongArch and RISC-V because it
shared the mcount path, which started passing it for _mcount in
eafbab6facb0.

Assisted-by: Claude
DeltaFile
+9-0llvm/test/Transforms/EntryExitInstrumenter/mcount-with-frompc.ll
+3-2llvm/lib/Transforms/Utils/EntryExitInstrumenter.cpp
+12-22 files

LLVM/project 6605fc6 — lldb/include/lldb/Symbol Symtab.h, lldb/source/Symbol Symtab.cpp

[lldb] Add a new UInt32 hex to DataFileCache symtab filenames (#247855)

Create a string of all Language plugins in the current lldb for
creating/loading a DataFileCache symtab file. If a user is running two
different lldb's on the same computer, one with additional Language
plugins so they may have additional demangling schemes, and the user has
symtab file creation enabled, the DataFileCache will have symtab files
for each of the different lldb's in use.

This prevents an lldb with fewer demanglers from writing its symtab to
disk, and then an lldb with additional demanglers using the symtab
as-is, and not having a chance to demangle additional names that it is
able to handle.

I outlined the two approaches that I could take in this Discourse,
https://discourse.llvm.org/t/datafilecache-symtab-issue-with-lldbs-that-have-different-language-plugins-demanglers/93018
and in the end I decided that the new 32-bit hex field in the filename
was the simplest and best choice.

assisted-by: claude
rdar://193942473
DeltaFile
+83-0lldb/test/API/functionalities/module_cache/language_plugins/TestModuleCacheLanguagePlugins.py
+75-0lldb/unittests/Symbol/SymtabTest.cpp
+22-1lldb/source/Symbol/Symtab.cpp
+7-1lldb/include/lldb/Symbol/Symtab.h
+3-0lldb/test/API/functionalities/module_cache/language_plugins/Makefile
+1-0lldb/test/API/functionalities/module_cache/language_plugins/main.c
+191-26 files

LLVM/project 28f2c3d — llvm/lib/Target/RISCV/MCTargetDesc RISCVAsmBackend.cpp, llvm/test/MC/RISCV compressed-relocations.s

[RISCV][MC] Fix crash relaxing compressed branches to symbol + offset (#247917)

The assembler accepts `symbol + offset` as the target of `c.j`, `c.jal`,
`c.beqz` and `c.bnez`. When such an instruction has to be relaxed,
`relaxInstruction()` expanded it with `RISCVRVC::uncompress()`, but the
decompression patterns only accept a constant or a bare symbol. The
expansion failed, which hit the "Can't uncompress instruction"
assertion, or "Unsupported instruction" when assertions were disabled.

Build the uncompressed BEQ/BNE/JAL directly instead, as is already done
for JAL and C_LI.

Fixes #247828

This change was written with the help of an AI tool (Claude Code); I
reviewed and tested it.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+24-0llvm/test/MC/RISCV/compressed-relocations.s
+14-8llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
+38-82 files

LLVM/project 472641a — libcxx/include/__memory allocator.h shared_ptr.h

[libc++] Fix CFI unrelated-cast failures in allocator and shared_ptr

While working on the CFI CI (https://github.com/llvm/llvm-project/issues/245696), running the tests with CFI found two new `cfi-unrelated-cast` failures in libc++. They were caused by casting newly allocated memory to a typed pointer before an object is constructed in it. We add `_LIBCPP_NO_SANITIZE("cfi-unrelated-cast")` to `__operator_new_wrapper` in `allocator.h` since it cannot avoid the cast. The other case, `__allocate_shared_unbounded_array`, was casting uninitialized storage to `_ControlBlock*` before `_ControlBlock` was constructed, so we change it to use placement new on `void*` directly like `__allocate_shared_impl` does.

Assisted-by: Gemini
DeltaFile
+2-2libcxx/include/__memory/shared_ptr.h
+1-1libcxx/include/__memory/allocator.h
+3-32 files

LLVM/project 2514c67 — llvm/lib/CodeGen/SelectionDAG ScheduleDAGSDNodes.cpp, llvm/test/CodeGen/AMDGPU sdag-sched-cloned-scc-def-value-use.ll

SelectionDAG: Fix marking used physreg defs dead on cloned nodes

94a90a694f87 marked an expensive-to-copy physreg def dead on a
scheduler-cloned node if no successor edge was associated with the
register. An edge is only associated with the register if the user
reads it through a glued CopyToReg. If the physreg result is also used
as an ordinary value operand, InstrEmitter emits a copy from the
physreg to a virtual register after each clone of the node.

This left a read of the register after its def was marked dead:

  S_CMP_EQ_U32 %16, %17, implicit-def dead $scc
  %18:sreg_32 = COPY $scc

Don't mark the def dead if InstrEmitter emitted a copy from the
physreg.

Assisted-by: Claude
DeltaFile
+42-0llvm/test/CodeGen/AMDGPU/sdag-sched-cloned-scc-def-value-use.ll
+21-12llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
+63-122 files

LLVM/project edd2218 — clang/docs ReleaseNotes.md, clang/lib/AST VTableBuilder.cpp

[clang][MS ABI] Fix non-virtual part of vtordispex this adjustment (#248414)

A vtordispex thunk locates the virtual base that contains the final
overrider
through the vbtable of the most derived class and then adds a static
offset.
`CalculateVtordispAdjustment` computed that offset relative to the
overrider's
own class (`Overrider.Offset`) instead of relative to that virtual base
(`Overrider.VirtualBase`). The two only agree when the class sits at
offset
zero inside the virtual base. Otherwise, e.g. when a base with a vfptr
is laid
out before it, the overrider is called with a `this` that is too low by
exactly that offset. In the project where I ran into this, the callee
then
read its pimpl pointer from the wrong place and crashed.

The fix computes the static part relative to `Overrider.VirtualBase`,

    [33 lines not shown]
DeltaFile
+37-0clang/test/CodeGenCXX/microsoft-abi-vtables-virtual-inheritance-vtordisps.cpp
+6-1clang/lib/AST/VTableBuilder.cpp
+6-0clang/docs/ReleaseNotes.md
+49-13 files

LLVM/project 53dad12 — llvm/include/llvm/Transforms/IPO Attributor.h

Attributor: Only store AAKindSet IDs of kinds without a mask bit (#248611)

AAKindSet::contains only searches the ID list for kinds that have no
bit in the mask, but the list held the IDs of every kind in the
set. Store only the ones without a bit, so AMDGPUAttributor searches 8
IDs instead of 18.

amdgpu-attributor pass, callgrind: -0.08% on a full-LTO rocPRIM module.

Assisted-by: Claude
DeltaFile
+17-2llvm/include/llvm/Transforms/IPO/Attributor.h
+17-21 files

LLVM/project 368e441 — llvm/test/CodeGen/SPIRV loop-unroll-nonshader.ll llc-pipeline.ll, llvm/test/CodeGen/SPIRV/instructions undef-composite.ll

Reland "[SPIR-V] Default to NewPM" (#239489) (#248672)

This reapplies #239489, reverted in #245119 because NewPM runs the
machine verifier and exposed latent SPIR-V bugs. These are fixed by
#245209 and #245610

The first reland #246273 was reverted in #246562 because of failures in
expensive checks builds. These are fixed by #247244, #247249 and #247357
DeltaFile
+0-18llvm/unittests/Target/SPIRV/SPIRVAPITest.cpp
+4-4llvm/test/CodeGen/SPIRV/llc-pipeline.ll
+0-2llvm/test/CodeGen/SPIRV/structurizer/do-continue.ll
+0-2llvm/test/CodeGen/SPIRV/structurizer/cf.while.continue.ll
+0-2llvm/test/CodeGen/SPIRV/loop-unroll-nonshader.ll
+0-2llvm/test/CodeGen/SPIRV/instructions/undef-composite.ll
+4-308 files not shown
+6-3814 files

LLVM/project e206b77 — utils/bazel/llvm-project-overlay/llvm BUILD.bazel

[Bazel] Fixes 09e276a (#248685)

This fixes 09e276a01f6ef4b29ee061534441e36e015690c3 (#214096).

Buildkite error link:
https://buildkite.com/llvm-project/upstream-bazel/builds?commit=09e276a01f6ef4b29ee061534441e36e015690c3

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+4-0utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
+4-01 files

LLVM/project d389c0b — llvm/lib/Transforms/IPO Attributor.cpp

Attributor: Use the function information already looked up when seeding (#248645)

identifyDefaultAbstractAttributes looked up the function information at
the start, and again for its opcode map. Use the one it already has.

Assisted-by: Claude
DeltaFile
+3-4llvm/lib/Transforms/IPO/Attributor.cpp
+3-41 files

LLVM/project 762909c — offload/include/Shared Debug.h, offload/test/offloading info_category.c

[Offload] Use DataTransfer as the LIBOMPTARGET_DEBUG name of data transfer INFO

Rename the LIBOMPTARGET_DEBUG category of OMP_INFOTYPE_DATA_TRANSFER
messages from "DataCopy" back to "DataTransfer", as before this change.
LIBOMPTARGET_DEBUG=DataTransfer now selects both the INFO data transfer
messages and the ODBG(ODT_DataTransfer) debug messages. The debug
messages are still compiled out without OMPTARGET_DEBUG, so release
builds print only the INFO messages.

Add checks for both build modes to info_category.c.

Co-authored-by: Copilot <223556219+Copilot at users.noreply.github.com>
DeltaFile
+14-0offload/test/offloading/info_category.c
+1-1offload/include/Shared/Debug.h
+15-12 files