LLVM/project f838efa — llvm/lib/Transforms/Vectorize LoopVectorizationLegality.cpp

[LV] Fix a read after move (#245589)

Sink the move to be last - now `RedDes` is first being asserted and only
lastly moved from.
DeltaFile
+1-1llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
+1-11 files

LLVM/project 40c2fe3 — clang/include/clang/CIR/Dialect/IR CIRAttrs.td, clang/test/CIR/CodeGen fast-math-constrained.c pragma-fenv_access.c

[CIR] Shorten the #cir.fenv parameter names

Rename the #cir.fenv parameters dynamic_rounding_mode, except_mode and
strict_except to rounding, except and strict, so a constrained op prints as
fenv<rounding = tonearest, except = unknown, strict = true>. The fields stay
optional with the same meaning and defaults; the OrDefault helpers follow the
new getter names. No functional change.

Assisted-by: Claude Code (Opus 5.5).
DeltaFile
+392-392clang/test/CIR/CodeGen/pragma-fenv_access.c
+58-58clang/test/CIR/Lowering/fenv.cir
+54-54clang/test/CIR/IR/fenv.cir
+24-24clang/test/CIR/CodeGen/fast-math-constrained.c
+20-24clang/include/clang/CIR/Dialect/IR/CIRAttrs.td
+16-17clang/unittests/CIR/FenvOpTest.cpp
+564-56922 files not shown
+656-66328 files

LLVM/project 95e8abe — clang/include/clang/CIR/Dialect/IR CIROps.td, clang/test/CIR/Transforms complex-fenv-effects.cir

[CIR] Give complex FP add/sub the fenv memory effects

cir.complex.fadd and cir.complex.fsub were Pure even with a constrained
fenv attribute, so they could be speculated or erased like unconstrained
ops. Derive them from CIR_FenvOp, as the other fenv ops are: constrained
ops read and write the FP environment and are only conditionally
speculatable, unconstrained ops stay effect-free.

Assisted-by: Claude Code (Opus 5.5).
DeltaFile
+26-0clang/test/CIR/Transforms/complex-fenv-effects.cir
+3-4clang/include/clang/CIR/Dialect/IR/CIROps.td
+29-42 files

LLVM/project 270a7d6 — llvm/lib/Target/Mips NanoMipsInstrInfo.td, llvm/lib/Target/Mips/Disassembler MipsDisassembler.cpp

[ASM 1][nanoMIPS] Add basic disassembler support
DeltaFile
+150-5llvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp
+133-0llvm/test/MC/Mips/nanomips/valid.s
+24-0llvm/test/MC/Mips/crc/valid-nanomips.s
+11-0llvm/test/MC/Mips/ginv/valid-nanomips.s
+6-0llvm/lib/Target/Mips/NanoMipsInstrInfo.td
+2-1llvm/lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp
+326-66 files

LLVM/project bc19637 — llvm/lib/Target/Mips NanoMipsInstrInfo.td, llvm/lib/Target/Mips/MCTargetDesc MipsInstPrinter.cpp

[ASM 1][nanoMIPS] Add basic operand print methods
DeltaFile
+255-0llvm/test/MC/Mips/nanomips/valid.s
+45-3llvm/lib/Target/Mips/MCTargetDesc/MipsInstPrinter.cpp
+18-0llvm/lib/Target/Mips/NanoMipsInstrInfo.td
+7-7llvm/test/CodeGen/Mips/nanomips/32bit-system.mir
+6-6llvm/test/CodeGen/Mips/nanomips/16bit.mir
+5-5llvm/test/CodeGen/Mips/nanomips/32bit-alu.mir
+336-212 files not shown
+342-238 files

LLVM/project a83e28f — llvm/lib/Target/Mips NanoMipsInstrInfo.td, llvm/lib/Target/Mips/AsmParser MipsAsmParser.cpp

[ASM 1][nanoMIPS] Add basic assembler support
DeltaFile
+419-57llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
+299-0llvm/test/MC/Mips/nanomips/valid.s
+175-18llvm/lib/Target/Mips/NanoMipsInstrInfo.td
+142-0llvm/test/MC/Mips/nanomips/cp0sel-names.s
+33-0llvm/test/MC/Mips/crc/invalid-nanomips.s
+20-8llvm/lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp
+1,088-838 files not shown
+1,140-9114 files

LLVM/project e5bc2da — llvm/lib/Target/AMDGPU SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU llvm.prefetch.ll

[AMDGPU] Expand AS6 prefetch addresses during selection (#245568)

Keep 32-bit constant addresses through SelectionDAG lowering so the
scalar prefetch selector can fold nonwrapping offsets. Widen the address
after any wrapping arithmetic has completed.

Assisted by: GPT 6.2-Sol
DeltaFile
+205-0llvm/test/CodeGen/AMDGPU/llvm.prefetch.ll
+1-10llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+206-102 files

LLVM/project f21ac29 — llvm/lib/Target/Mips MipsRegisterInfo.td NanoMipsInstrInfo.td, llvm/lib/Target/Mips/MCTargetDesc MipsMCCodeEmitter.h MipsMCCodeEmitter.cpp

[ASM 1][nanoMIPS] Add register and immediate encodings
DeltaFile
+121-0llvm/lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp
+32-7llvm/lib/Target/Mips/NanoMipsInstrInfo.td
+33-0llvm/lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.h
+2-2llvm/test/CodeGen/Mips/nanomips/48bit.mir
+2-2llvm/test/CodeGen/Mips/nanomips/32bit-alu.mir
+2-0llvm/lib/Target/Mips/MipsRegisterInfo.td
+192-116 files

LLVM/project fb4a330 — llvm/lib/Target/Mips MicroMipsDSPInstrFormats.td MicroMipsInstrFormats.td, llvm/lib/Target/Mips/AsmParser MipsAsmParser.cpp

[ASM 1][nanoMIPS] Name the asm parser variant and tag Mips instruction classes
DeltaFile
+8-1llvm/lib/Target/Mips/Mips.td
+6-2llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
+5-0llvm/lib/Target/Mips/MCTargetDesc/MipsBaseInfo.h
+3-1llvm/lib/Target/Mips/MipsInstrInfo.td
+2-0llvm/lib/Target/Mips/MicroMipsInstrFormats.td
+1-0llvm/lib/Target/Mips/MicroMipsDSPInstrFormats.td
+25-43 files not shown
+28-49 files

LLVM/project f9af0a5 — llvm/test/CodeGen/Mips/nanomips 48bit.mir 32bit-branch.mir

[ASM 1][nanoMIPS] Print ABI register names for P32
DeltaFile
+56-56llvm/test/CodeGen/Mips/nanomips/32bit-alu.mir
+54-54llvm/test/CodeGen/Mips/nanomips/32bit-load-store.mir
+35-35llvm/test/CodeGen/Mips/nanomips/16bit.mir
+20-20llvm/test/CodeGen/Mips/nanomips/32bit-system.mir
+19-19llvm/test/CodeGen/Mips/nanomips/32bit-branch.mir
+7-7llvm/test/CodeGen/Mips/nanomips/48bit.mir
+191-1913 files not shown
+204-1959 files

LLVM/project 0f6ed96 — clang/lib/Sema SemaOpenMP.cpp, clang/test/OpenMP declare_variant_member_call_codegen.cpp

[Clang][OpenMP] Fix declare variant calls to member functions

When a declare variant is selected for a call to a member function,
ActOnOpenMPCall built the call to the variant from the original call
treated as a CXXMemberCallExpr, through a '.' MemberExpr. That is wrong
in two ways:

- A call to a member function is not always a CXXMemberCallExpr. Calls
  to static member functions, and member calls in a template (even with
  non-dependent arguments), are CallExprs with a MemberExpr callee.
  The existing dereference of a CXXMemberCallExpr would crash on e.g.:

    template <typename T> struct CT {
      void m_v(T);
      #pragma omp declare variant(m_v) match(user = {condition(1)})
      void m(T);
      void use(T t) { m(t); }
    };


    [6 lines not shown]
DeltaFile
+104-0clang/test/OpenMP/declare_variant_member_call_codegen.cpp
+14-5clang/lib/Sema/SemaOpenMP.cpp
+118-52 files

LLVM/project b2e8f76 — clang/include/clang/AST StmtOpenMP.h, clang/lib/CodeGen CGStmtOpenMP.cpp

[Clang][OpenMP] Add code generation for the dispatch construct

I had previously made a start on dispatch directive support (#126914)
but saw that another implementation was underway (#117904, then #131838)
so stopped to avoid duplicate effort.  Now it seems that the latter
effort stalled, so I've tried to synthesize the two patches together
into a new version (with Claude's help).

The resulting patch implements code generation for the 'dispatch'
construct, with its 'novariants', 'nocontext' and 'depend' clauses.
Other features ('device', 'adjust_args', 'append_args') are still TBD.

Sema builds the alternative forms of the associated statement
that the clauses select at run time, and stores them as children of
OMPDispatchDirective: one with the target-call replaced by a call to the
base function ('novariants'), and one with it replaced by the variant
selected without 'dispatch' ('nocontext'). Codegen emits the dispatch
region inline and selects between them:


    [9 lines not shown]
DeltaFile
+275-0clang/test/OpenMP/dispatch_codegen.cpp
+237-0clang/test/OpenMP/dispatch_clauses_codegen.cpp
+136-8clang/lib/Sema/SemaOpenMP.cpp
+80-0clang/lib/CodeGen/CGStmtOpenMP.cpp
+73-5clang/test/OpenMP/dispatch_unsupported.c
+51-1clang/include/clang/AST/StmtOpenMP.h
+852-1411 files not shown
+1,003-2317 files

LLVM/project ec2c531 — clang/include/clang/CIR/Dialect/IR CIRAttrs.td CIROps.td, clang/include/clang/CIR/Interfaces CIROpInterfaces.td

[CIR] Reject the empty fenv attribute

`#cir.fenv<>` with no parameter set was accepted, printed as `fenv<>` and
lowered to a constrained intrinsic, so an unconstrained operation had two
spellings. Give `#cir.fenv` a verifier that requires at least one
parameter, leaving a missing `fenv` attribute as the only way to say an
operation is unconstrained. An absent parameter takes its value in the
default FP environment (tonearest, masked, non-strict). Speculation,
lowering and VecFCmpOp::fold share one FenvAttr::canIgnoreExceptions()
check (masked and not strict): such ops are speculatable, lower to
fpexcept.ignore and fold, and a strict op stays fpexcept.strict even when
masked. Drop FPEnvConstrainedOpInterface, whose only user was FenvOpTrait,
and let the trait read the attribute from the concrete op. Add a
CIR_FenvOp base class carrying the fenv traits and argument, which the
fenv ops prepend their operands to.

Assisted-by: Claude Code (Opus 5.5).
DeltaFile
+46-55clang/include/clang/CIR/Dialect/IR/CIROps.td
+21-23clang/unittests/CIR/FenvOpTest.cpp
+0-41clang/include/clang/CIR/Interfaces/CIROpInterfaces.td
+19-16clang/include/clang/CIR/Dialect/IR/CIRAttrs.td
+31-0clang/test/CIR/Transforms/vector-cmp-fold.cir
+9-9clang/test/CIR/IR/fenv.cir
+126-14410 files not shown
+182-18216 files

LLVM/project e8ab13d — mlir/include/mlir/Dialect/OpenACC/Transforms Passes.h Passes.td, mlir/lib/Dialect/OpenACC/Transforms CMakeLists.txt ACCLoopCollapse.cpp

[MLIR][OpenACC] Add acc-loop-collapse pass (#245448)

Collapse each multi-dimensional scf.parallel inside an
acc.compute_region into a one-dimensional scf.parallel. The original
induction variables are recovered with remsi and divsi. Reductions are
carried over by mlir::collapseParallelLoops.

The collapsed loop keeps all discardable attributes of the original
loop, such as acc.par_dims, acc.gpu_block_redundant and acc.chunk_size.
The pass sets acc.collapse_count to the number of collapsed dimensions,
which remark emission reads. Loops outside an acc.compute_region are
unchanged.
DeltaFile
+230-0mlir/test/Dialect/OpenACC/acc-loop-collapse.mlir
+109-0mlir/lib/Dialect/OpenACC/Transforms/ACCLoopCollapse.cpp
+35-0mlir/include/mlir/Dialect/OpenACC/Transforms/Passes.td
+8-5mlir/lib/Dialect/OpenACC/Transforms/CMakeLists.txt
+1-0mlir/include/mlir/Dialect/OpenACC/Transforms/Passes.h
+383-55 files

LLVM/project 568ec24 — llvm/test/Transforms/ScalarizeMaskedMemIntrin/SPIRV lit.local.cfg

[NFC] Add lit.local.cfg to SPIRV test directory (#245588)

The SPIR-V tests run opt with -mtriple=spirv64, and since #244345 their
checks depend on the SPIR-V TTI. In a build without the SPIR-V target,
opt falls back to the generic expansion and the checks fail. Mark the
tests unsupported in that case, as the other target directories here do.

Assisted by: Cursor

Co-authored-by: Cursor <cursoragent at cursor.com>
DeltaFile
+2-0llvm/test/Transforms/ScalarizeMaskedMemIntrin/SPIRV/lit.local.cfg
+2-01 files

LLVM/project f3f6b15 — clang/include/clang/CIR/Dialect/IR CIRAttrs.td, clang/test/CIR/CodeGen fast-math-constrained.c pragma-fenv_access.c

[CIR] Shorten the #cir.fenv parameter names

Rename the #cir.fenv parameters dynamic_rounding_mode, except_mode and
strict_except to rounding, except and strict, so a constrained op prints as
fenv<rounding = tonearest, except = unknown, strict = true>. The fields stay
optional with the same meaning and defaults; the OrDefault helpers follow the
new getter names. No functional change.

Assisted-by: Claude Code (Opus 5.5).
DeltaFile
+392-392clang/test/CIR/CodeGen/pragma-fenv_access.c
+58-58clang/test/CIR/Lowering/fenv.cir
+54-54clang/test/CIR/IR/fenv.cir
+24-24clang/test/CIR/CodeGen/fast-math-constrained.c
+20-24clang/include/clang/CIR/Dialect/IR/CIRAttrs.td
+16-17clang/unittests/CIR/FenvOpTest.cpp
+564-56921 files not shown
+650-65727 files

LLVM/project ade4eeb — mlir/lib/Dialect/ControlFlow/IR ControlFlowOps.cpp, mlir/test/Dialect/ControlFlow ops.mlir invalid.mlir

[mlir][cf] Reject duplicate case values in cf.switch (#245483)

The verifier of cf.switch accepted case values that compare equal as
integers of the flag's width, such as 255 and -1 for an i8 flag. Such an
op has no single destination for that value, and it converts to an
llvm.switch whose translation is rejected by the LLVM IR verifier
("Duplicate integer as switch case").

Report the first repeated value instead, with its signed and, when
different, unsigned spelling and the indices of both cases. Add an
invalid test where 255 and -1 collide for i8, and a test that 1 and -1
remain distinct cases.

AI-assisted: this patch was prepared with Claude Code; I have reviewed
and tested the change and take responsibility for it.
DeltaFile
+18-0mlir/lib/Dialect/ControlFlow/IR/ControlFlowOps.cpp
+15-0mlir/test/Dialect/ControlFlow/invalid.mlir
+9-0mlir/test/Dialect/ControlFlow/ops.mlir
+42-03 files

LLVM/project bfa75f8 — llvm/test/CodeGen/AMDGPU shrink-add-sub-constant.ll build-vector-packed-partial-undef.ll, llvm/test/CodeGen/AMDGPU/GlobalISel fshr.ll llvm.amdgcn.image.atomic.dim.a16.ll

[AMDGPU][GlobalISel] Look through copies for every GCNPat pattern (#231763)

Set GIIgnoreCopies = 1 by default for GCNPat and delete
AMDGPUPatIgnoreCopies and use GCNPat instead. This change allows
GlobalISel to match several patterns it was unable to match before,
therefore closing the gap against SelectionDAG.

Resolves #231524
DeltaFile
+280-1,577llvm/test/CodeGen/AMDGPU/fmul-to-ldexp.ll
+352-1,035llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.atomic.dim.a16.ll
+100-940llvm/test/CodeGen/AMDGPU/llvm.amdgcn.av.load.b128.ll
+158-417llvm/test/CodeGen/AMDGPU/build-vector-packed-partial-undef.ll
+199-368llvm/test/CodeGen/AMDGPU/shrink-add-sub-constant.ll
+195-268llvm/test/CodeGen/AMDGPU/GlobalISel/fshr.ll
+1,284-4,60570 files not shown
+2,842-7,51276 files

LLVM/project 2108242 — clang/include/clang/CIR/Dialect/IR CIROps.td, clang/test/CIR/Transforms complex-fenv-effects.cir

[CIR] Give complex FP add/sub the fenv memory effects

cir.complex.fadd and cir.complex.fsub were Pure even with a constrained
fenv attribute, so they could be speculated or erased like unconstrained
ops. Derive them from CIR_FenvOp, as the other fenv ops are: constrained
ops read and write the FP environment and are only conditionally
speculatable, unconstrained ops stay effect-free.

Assisted-by: Claude Code (Opus 5.5).
DeltaFile
+26-0clang/test/CIR/Transforms/complex-fenv-effects.cir
+3-4clang/include/clang/CIR/Dialect/IR/CIROps.td
+29-42 files

LLVM/project 8d1d388 — clang/include/clang/CIR/Dialect/IR CIRAttrs.td CIROps.td, clang/include/clang/CIR/Interfaces CIROpInterfaces.td

[CIR] Reject the empty fenv attribute

`#cir.fenv<>` with no parameter set was accepted, printed as `fenv<>` and
lowered to a constrained intrinsic, so an unconstrained operation had two
spellings. Give `#cir.fenv` a verifier that requires at least one
parameter, leaving a missing `fenv` attribute as the only way to say an
operation is unconstrained. An absent parameter takes its value in the
default FP environment (tonearest, masked, non-strict). Speculation and
lowering share one FenvAttr::canIgnoreExceptions() check (masked and not
strict, lowered to fpexcept.ignore), so a strict op stays fpexcept.strict
even when masked. Drop FPEnvConstrainedOpInterface, whose only user was
FenvOpTrait, and let the trait read the attribute from the concrete op.
Add a CIR_FenvOp base class carrying the fenv traits and argument, which
the fenv ops prepend their operands to.

Assisted-by: Claude Code (Opus 5.5).
DeltaFile
+45-55clang/include/clang/CIR/Dialect/IR/CIROps.td
+21-23clang/unittests/CIR/FenvOpTest.cpp
+0-41clang/include/clang/CIR/Interfaces/CIROpInterfaces.td
+19-16clang/include/clang/CIR/Dialect/IR/CIRAttrs.td
+9-9clang/test/CIR/IR/fenv.cir
+4-11clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+98-1557 files not shown
+146-17513 files

LLVM/project 58945bd — clang/include/clang/CIR/Dialect/IR CIROps.td, clang/test/CIR/Transforms complex-fenv-effects.cir

[CIR] Give complex FP add/sub the fenv memory effects

cir.complex.fadd and cir.complex.fsub were Pure even with a constrained
fenv attribute, so they could be speculated or erased like unconstrained
ops. Derive them from CIR_FenvOp, as the other fenv ops are: constrained
ops read and write the FP environment and are only conditionally
speculatable, unconstrained ops stay effect-free.

Assisted-by: Claude Code (Opus 5.5).
DeltaFile
+26-0clang/test/CIR/Transforms/complex-fenv-effects.cir
+3-4clang/include/clang/CIR/Dialect/IR/CIROps.td
+29-42 files

LLVM/project 1edec3d — clang/include/clang/CIR/Dialect/IR CIRAttrs.td CIROps.td, clang/include/clang/CIR/Interfaces CIROpInterfaces.td

[CIR] Reject the empty fenv attribute

`#cir.fenv<>` with no parameter set was accepted, printed as `fenv<>` and
lowered to a constrained intrinsic, so an unconstrained operation had two
spellings. Give `#cir.fenv` a verifier that requires at least one
parameter, leaving a missing `fenv` attribute as the only way to say an
operation is unconstrained. An absent parameter takes its value in the
default FP environment (tonearest, masked, non-strict). Speculation and
lowering share one FenvAttr::canIgnoreExceptions() check (masked and not
strict, lowered to fpexcept.ignore), so a strict op stays fpexcept.strict
even when masked. Drop FPEnvConstrainedOpInterface, whose only user was
FenvOpTrait, and let the trait read the attribute from the concrete op.
Add a CIR_FenvOp base class carrying the fenv traits and argument, which
the fenv ops prepend their operands to.

Assisted-by: Claude Code (Opus 5.5).
DeltaFile
+44-52clang/include/clang/CIR/Dialect/IR/CIROps.td
+21-23clang/unittests/CIR/FenvOpTest.cpp
+0-41clang/include/clang/CIR/Interfaces/CIROpInterfaces.td
+19-16clang/include/clang/CIR/Dialect/IR/CIRAttrs.td
+9-9clang/test/CIR/IR/fenv.cir
+4-11clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+97-1527 files not shown
+145-17213 files

LLVM/project 7b5c196 — llvm/lib/Transforms/Vectorize SLPVectorizer.cpp

[SLP] NFC: make candidate state ownership explicit (#229846)

BoUpSLP contains a mixture of state which relates to the current
candidate and state which persists beyond its lifetime. Gather this
state onto a new CandidateState object which belongs to BoUpSLP.
DeltaFile
+1,620-1,297llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+1,620-1,2971 files

LLVM/project 64ae195 — llvm/test/CodeGen/SPIRV/debug-info debug-declare-untyped-variable.ll

Improve test.
DeltaFile
+1-0llvm/test/CodeGen/SPIRV/debug-info/debug-declare-untyped-variable.ll
+1-01 files

LLVM/project 278221a — clang/www c_dr_status.html

[C23] Issue 1033 is Not a Defect rather than Fixed (#245581)

I verified offline that this went from Review to Closed and not from
Review to Fixed status; no impact on Clang as this is a library issue.
DeltaFile
+1-1clang/www/c_dr_status.html
+1-11 files

LLVM/project 6d391d7 — llvm/lib/Target/SPIRV SPIRVNonSemanticDebugHandler.cpp

Format.
DeltaFile
+2-2llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.cpp
+2-21 files

LLVM/project f075ab4 — llvm/lib/Target/SPIRV SPIRVNonSemanticDebugHandler.h SPIRVNonSemanticDebugHandler.cpp, llvm/test/CodeGen/SPIRV/debug-info debug-amd-vendor-defaults.ll

[SPIRV] Enable NSDI features by default for AMD

Enable -spirv-debug-lexical-block-discriminator-scope,
-spirv-debug-scope-forward-refs and -spirv-debug-declare-untyped-variable
when the target vendor is AMD.
DeltaFile
+73-0llvm/test/CodeGen/SPIRV/debug-info/debug-amd-vendor-defaults.ll
+16-5llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.cpp
+11-5llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.h
+100-103 files

LLVM/project 1f484d3 — llvm/lib/CodeGen StackColoring.cpp, llvm/test/CodeGen/RISCV stack-coloring-zero-size-alloca.mir

[StackColoring] Don't merge slots into zero-sized allocas (#239612)

StackColoring merges AllocaInst on basis of stack object size. But a 1
byte AllocaInst and a 0 byte AllocaInst will both have stack object size
of 1 byte. If StackColoring merges the two AllocaInsts such that the
surviving alloca has size 0, the accesses of the AllocaInst which had 1
byte size are then described by a 0 byte object, so BasicAA reports
NoAlias, and the machine scheduler can reorder accesses which break
program behaviour.
This change fixes the issue by preventing merging into slots with
zero-sized AllocaInst

Assisted-by: Opus 5.5

---------

Co-authored-by: Nathan Corbyn <n_corbyn at apple.com>
DeltaFile
+183-0llvm/test/CodeGen/RISCV/stack-coloring-zero-size-alloca.mir
+10-1llvm/lib/CodeGen/StackColoring.cpp
+193-12 files

LLVM/project 46c7e0f — llvm/lib/Target/SPIRV SPIRVNonSemanticDebugHandler.cpp, llvm/test/CodeGen/SPIRV/debug-info debug-declare-untyped-variable.ll

[SPIRV] Treat OpUntypedVariableKHR as a function-level variable
DeltaFile
+10-8llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.cpp
+1-0llvm/test/CodeGen/SPIRV/debug-info/debug-declare-untyped-variable.ll
+11-82 files

LLVM/project a3a292c — offload/include/Shared Debug.h

[offload][debug] Add REPORT_WARN and REPORT_FATAL macros

Add two new macros in the same style as REPORT(). REPORT_WARN prints a warning,
while REPORT_FATAL prints a fatal error and exits the program with status 1.

Assisted-by: Claude Sonnet 5.5
DeltaFile
+43-8offload/include/Shared/Debug.h
+43-81 files