LLVM/project 60d0e05 — llvm/lib/Target/X86 X86ISelLowering.cpp, llvm/test/CodeGen/X86 avx512-trunc.ll

[X86] Add VMTRUNC/VMTRUNCS/VMTRUNCUS upper elements handling

computeKnownBitsForTargetNode - the masked truncations zero the
elements above the truncated ones, like VTRUNC/VTRUNCS/VTRUNCUS.

isGuaranteedNotToBeUndefOrPoisonForTargetNode - these upper elements
are never undef/poison. #245048 adds the same handling for VTRUNC.

Assisted-by: Claude Code (Claude Opus 5.5)
DeltaFile
+18-52llvm/test/CodeGen/X86/avx512-trunc.ll
+13-0llvm/lib/Target/X86/X86ISelLowering.cpp
+31-522 files

LLVM/project 2ef4218 — llvm/test/CodeGen/X86 avx512-trunc.ll

[X86] Add tests for the upper elements of masked truncations (NFC)

Assisted-by: Claude Code (Claude Opus 5.5)
DeltaFile
+159-0llvm/test/CodeGen/X86/avx512-trunc.ll
+159-01 files

LLVM/project c1df1a2 — llvm/lib/Transforms/Vectorize VPlanAnalysis.cpp VPlanTransforms.cpp

[VPlan] Return nullopt for irregular types in getConstantStride (NFC). (#247643)

Instead of asserting that the access type is not irregular, return
std::nullopt from vputils::getConstantStride. Callers no longer need to
guard the call with hasIrregularType themselves.
DeltaFile
+2-2llvm/lib/Transforms/Vectorize/VPlanUtils.cpp
+0-3llvm/lib/Transforms/Vectorize/VPlanAnalysis.cpp
+1-2llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+2-1llvm/lib/Transforms/Vectorize/VPlanUtils.h
+5-84 files

LLVM/project 484ddd6 — llvm/lib/Target/AArch64 AArch64TargetTransformInfo.cpp

Simplify Scale check
DeltaFile
+1-1llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
+1-11 files

LLVM/project 3628ece — llvm/include/llvm/IR IntrinsicsAArch64.td

[AArch64] Tighten type contraints
DeltaFile
+27-22llvm/include/llvm/IR/IntrinsicsAArch64.td
+27-221 files

LLVM/project 7456b3e — clang/test/CodeGen/AArch64/fpv2-intrinsics acle_fpv2_sv_min_max_reduce.c, clang/test/Sema aarch64-fpv2-sve2p3-svmax-svmin.c

[AArch64] Implement FEAT_FPv2 minimum/maximum vector reduce intrinsics

ACLE: https://github.com/ARM-software/acle/pull/480

Implements the following intrinsics:

    svmaxmgv / svminmgv
    svmaxinmv / svmininmv
    svmaxmginmv / svminmginmv

Includes f16, f32, and f64 type variants
DeltaFile
+318-0clang/test/CodeGen/AArch64/fpv2-intrinsics/acle_fpv2_sv_min_max_reduce.c
+148-0llvm/test/CodeGen/AArch64/fpv2-intrinsics-min-max-reduce.ll
+108-0clang/test/Sema/AArch64/arm_sve_feature_dependent_sve_AND_LP_sve2p3_OR_sme2p3_RP_AND_fpv2___sme_AND_LP_sve2p3_OR_sme2p3_RP_AND_fpv2.c
+62-0clang/test/Sema/aarch64-fpv2-sve2p3-svmax-svmin.c
+29-23llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
+9-6llvm/lib/Target/AArch64/SVEInstrFormats.td
+674-293 files not shown
+705-319 files

LLVM/project 613e3cd — clang/test/Sema/AArch64 arm_sve_feature_dependent_sve_AND_LP_sve2p3_OR_sme2p3_RP_AND_fpv2___sme_AND_LP_sve2p3_OR_sme2p3_RP_AND_fpv2.c, llvm/test/CodeGen/AArch64 fpv2-sve2p3-intrinsics-fminmg.ll fpv2-sve2p3-intrinsics-fmaxmginm.ll

[AArch64] Implement ACLE intrinsics for FPv2 SVE min/max instructions

ACLE PR: https://github.com/ARM-software/acle/pull/480

Implements the following intrinsics:

- svmaxmg / svminmg
- svmaxinm / svmininm
- svmaxmginm / svminmginm

Includes f16, f32, and f64 types, _m, _z, and _x predication and _n variants

AI assistance: Codex used for generating test cases
DeltaFile
+691-0clang/test/Sema/AArch64/arm_sve_feature_dependent_sve_AND_LP_sve2p3_OR_sme2p3_RP_AND_fpv2___sme_AND_LP_sve2p3_OR_sme2p3_RP_AND_fpv2.c
+382-0llvm/test/CodeGen/AArch64/fpv2-sve2p3-intrinsics-fminmg.ll
+382-0llvm/test/CodeGen/AArch64/fpv2-sve2p3-intrinsics-fmaxmginm.ll
+382-0llvm/test/CodeGen/AArch64/fpv2-sve2p3-intrinsics-fmininm.ll
+382-0llvm/test/CodeGen/AArch64/fpv2-sve2p3-intrinsics-fmaxmg.ll
+382-0llvm/test/CodeGen/AArch64/fpv2-sve2p3-intrinsics-fminmginm.ll
+2,601-012 files not shown
+5,601-718 files

LLVM/project 45058f6 — mlir/include/mlir/Dialect/X86 Transforms.h, mlir/include/mlir/Dialect/X86/TransformOps X86TransformOps.td

[mlir][x86] Lower F16 `contract` to FMA using AVX2 F16 packed ops and BF16 fallback. (#245914)

Extend the `VectorContractBF16ToFMA.cpp` pass to: 

1. lower `F16` type `vector.contract` to `vector.fma` using `AVX2` F16
packed operations:
- `vbcstnesh2ps` - Broadcasts F16 into packed F32,
- `vcvtneeph2ps` - Convert packed F16 even-indexed elements into packed
F32,
- `vcvtneoph2ps ` - Convert packed F16 odd-indexed elements into packed
F32.

2. fallback case for `bf16` type (both avx2 and avx512).
DeltaFile
+1,922-0mlir/test/Dialect/X86/vector-contract-16bit-fp-to-fma.mlir
+0-1,425mlir/test/Dialect/X86/vector-contract-bf16-to-fma.mlir
+614-0mlir/lib/Dialect/X86/Transforms/VectorContract16BitFPToFMA.cpp
+0-514mlir/lib/Dialect/X86/Transforms/VectorContractBF16ToFMA.cpp
+10-5mlir/include/mlir/Dialect/X86/TransformOps/X86TransformOps.td
+5-3mlir/include/mlir/Dialect/X86/Transforms.h
+2,551-1,9474 files not shown
+2,558-1,95410 files

LLVM/project 430c07d — llvm/lib/Transforms/Vectorize VPlanUtils.h VPlanRecipes.cpp

[VPlan] Use vputils::getLoadStoreValueType in more places (NFC). (#247639)

Replace manual computations of the loaded/stored type from operands or
the underlying IR instruction with vputils::getLoadStoreValueType. Make
the helper take a const pointer, so it can be used from const methods.
DeltaFile
+3-4llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+2-2llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+1-1llvm/lib/Transforms/Vectorize/VPlanUtils.h
+1-1llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+7-84 files

LLVM/project 1a2a629 — clang/test/CodeGenCXX gh56652.cpp undeduced-variable-template.cpp

[Clang] Add regression test for #161196 (#247438)

Add a regression test for #161196 (an undeduced variable template type
used in decltype)

The test file is renamed to undeduced-variable-template.cpp since it now
contains tests for three different issues.

Fixes #161196
DeltaFile
+59-0clang/test/CodeGenCXX/undeduced-variable-template.cpp
+0-42clang/test/CodeGenCXX/gh56652.cpp
+59-422 files

LLVM/project 9a1e7c9 — clang/include/clang/Driver Action.h, clang/lib/Driver Action.cpp Driver.cpp

[clang][Driver] Add the OpenACC offloading kind

Add the OpenACC offloading kind to the flang driver. -fopenacc with
--offload-targets= or --offload-arch= creates the offloading toolchain. OpenACC
will have no device compilation job. There is a single host compilation job,
which will also generate and embed the device image. The link then goes through
the offloading linker wrapper as usual. Initially, OpenACC will support only a
single offloading architecture, thus, an error is emitted if more are given.

Assisted-by: Claude Sonnet 5.5
DeltaFile
+58-0flang/test/Driver/acc-driver-offload.f90
+16-3clang/lib/Driver/Driver.cpp
+6-4clang/lib/Driver/ToolChains/Clang.cpp
+8-1clang/lib/Driver/Action.cpp
+4-2clang/lib/Driver/ToolChains/Cuda.cpp
+2-1clang/include/clang/Driver/Action.h
+94-111 files not shown
+96-117 files

LLVM/project 9bf4eb2 — llvm/lib/Transforms/Scalar ConstraintElimination.cpp, llvm/test/Transforms/ConstraintElimination vector-with-overflow.ll add-nsw.ll

Reapply "[ConstraintElim] A signed sum of operands with opposite signs cannot wrap - #235159" (#243184)

If one operand is known non-negative and the other non-positive, the signed sum is between them, so it cannot overflow.

https://alive2.llvm.org/ce/z/ZF5Yqr


Re-lands: https://github.com/llvm/llvm-project/pull/235159

The re-land includes a fix for the runaway recursion reported here:
https://github.com/llvm/llvm-project/pull/235159#issuecomment-6883770908,
as well as some adjustments to lessen the compile-time impact reported
here:
https://github.com/llvm/llvm-project/pull/235159#issuecomment-6847642023
DeltaFile
+110-0llvm/test/Transforms/ConstraintElimination/sadd-with-overflow.ll
+47-6llvm/test/Transforms/ConstraintElimination/add-nsw.ll
+32-17llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
+1-3llvm/test/Transforms/ConstraintElimination/vector-with-overflow.ll
+190-264 files

LLVM/project b9fe10e — mlir/include/mlir/IR OperationSupport.h, mlir/lib/IR OperationSupport.cpp

[mlir] Handle lexical/dominance inversion in OperationEquivalence (#244180)

Operation equivalence used to traverse blocks in their lexical order,
i.e., the order in which they are stored in the region. This order is
not guaranteed to match the dominance order. Operation equivalence
therefore would not have marked dominating values from a lexically
following block as equivalent in the cache, and would incorrectly
consider them as not equivalent.

Traverse all blocks first to record equivalence between arguments and op
results first, then look at operands separately.
DeltaFile
+122-60mlir/lib/IR/OperationSupport.cpp
+86-0mlir/test/IR/operation-equality.mlir
+10-6mlir/include/mlir/IR/OperationSupport.h
+218-663 files

LLVM/project 400a820 — llvm/include/llvm/CodeGen MachineModuleSlotTracker.h, llvm/include/llvm/CodeGen/MIRParser MIParser.h

clang-format
DeltaFile
+9-7llvm/lib/CodeGen/MIRParser/MIParser.cpp
+7-4llvm/lib/CodeGen/MachineModuleSlotTracker.cpp
+4-2llvm/lib/IR/AsmWriter.cpp
+2-1llvm/include/llvm/CodeGen/MachineModuleSlotTracker.h
+2-1llvm/include/llvm/CodeGen/MIRParser/MIParser.h
+1-1llvm/lib/CodeGen/MIRPrintingPass.cpp
+25-166 files

LLVM/project 0c5d6ff — llvm/lib/Analysis ValueTracking.cpp, llvm/test/Transforms/InstCombine freeze.ll

Revert "[Analysis] Improve isGuaranteedNotToBeUndefOrPoison for global variab…"

This reverts commit b5d95143ebef3af678e34f080094bd11e8e31093.
DeltaFile
+0-71llvm/test/Transforms/InstCombine/freeze.ll
+0-48llvm/test/Transforms/LoopVectorize/AArch64/speculate_load_global.ll
+0-18llvm/lib/Analysis/ValueTracking.cpp
+0-1373 files

LLVM/project b805374 — llvm/include/llvm/ProfileData/Coverage CoverageMapping.h, llvm/lib/ProfileData/Coverage CoverageMappingReader.cpp CoverageMapping.cpp

[llvm-cov] Look up expansion regions by FileID with binary search (#246474)

The following problem was encountered while computing coverage for the
LLVM codebase. `llvm-cov export` on an instrumented `opt` took ~20min
for a profile from the AMDGPU lit suite (~7k tests). After these changes
it took 10s. The output was byte identical in both instances.

`llvm-cov` repeatedly look up entries by key in a container that is
already sorted by that key. Each lookup is conceptually selecting a
contiguous subrange. The old code scanned the whole container every
time. The PR replaces that with a binary search over the subrange. The
containers are already sorted; the PR only introduces assertions to
validate it.

The logical changes are introduced in
`CoverageMapping::getCoverageForExpansion` (easier to start reading from
there). The linear scan is replaced by an equivalent binary search over
the subrange.


    [8 lines not shown]
DeltaFile
+38-15llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
+8-0llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
+4-2llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h
+50-173 files

LLVM/project 4950dc9 — llvm/lib/Target/AMDGPU AMDGPUCoExecInfo.h AMDGPUTargetMachine.cpp, llvm/test/CodeGen/AMDGPU coexec-mfma-interleave-gfx950.mir coexec-sched-warning.mir

[AMDGPU] Add MFMA co-exec rows for gfx942 MFMAs

Add MFMA co-exec rows for gfx942 MFMAs for both gfx942 and gfx950.
Gfx950 support gfx942 mfma opcodes as well as others.

Add rows for:

XDL_2Pass:
  v_mfma_f32_4x4x4_16b_{f16,bf16}
  v_mfma_i32_4x4x4_16b_i8

XDL_4Pass:
  v_mfma_f32_16x16x16_{f16,bf16}
  v_mfma_i32_16x16x32_i8
  v_mfma_f32_16x16x8_xf32 (gfx942 only)
  v_mfma_f32_16x16x32_{bf8,fp8}_{bf8,fp8}

XDL_8Pass:
  v_mfma_f32_16x16x4_4b_{f16,bf16}

    [43 lines not shown]
DeltaFile
+48-13llvm/lib/Target/AMDGPU/AMDGPUCoExecSchedStrategy.cpp
+15-13llvm/unittests/Target/AMDGPU/MFMACoExecRules.cpp
+6-5llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
+3-3llvm/lib/Target/AMDGPU/AMDGPUCoExecInfo.h
+2-2llvm/test/CodeGen/AMDGPU/coexec-sched-warning.mir
+1-1llvm/test/CodeGen/AMDGPU/coexec-mfma-interleave-gfx950.mir
+75-372 files not shown
+77-398 files

LLVM/project f018653 — llvm/test/CodeGen/AMDGPU coexec-sched-warning.mir coexec-mfma-interleave-gfx942.mir, llvm/unittests/Target/AMDGPU MFMACoExecRules.cpp

[AMDGPU] Precommit legacy MFMA co-exec tests (NFC)

Add coexec scheduler cases for a gfx940 SMFMAC
(v_smfmac_f32_16x16x32_f16) on gfx950 and for a DGEMM
(v_mfma_f64_16x16x4_f64) on gfx942 and gfx950, a gfx942 RUN line in
coexec-sched-warning.mir, and unit test rows for one MFMA per legacy
variant on gfx950 plus v_mfma_f64_16x16x4_f64 on gfx942.

The legacy variants fall back to a permissive window that lets anything
co-execute. v_mfma_f64_16x16x4_f64 uses its gfx950 rule on gfx942 as
well, and gfx942 does not enable the co-exec model yet, so it warns and
its scheduler case runs without the model.

Assisted-by: Claude Opus 5.5
DeltaFile
+64-0llvm/test/CodeGen/AMDGPU/coexec-mfma-interleave-gfx950.mir
+49-0llvm/test/CodeGen/AMDGPU/coexec-mfma-interleave-gfx942.mir
+11-0llvm/unittests/Target/AMDGPU/MFMACoExecRules.cpp
+2-0llvm/test/CodeGen/AMDGPU/coexec-sched-warning.mir
+126-04 files

LLVM/project db69afc — llvm/include/llvm/Analysis IVDescriptors.h, llvm/lib/Analysis IVDescriptors.cpp

[LV] Use local wrap flags to eliminate zext/sexts in compressed ptr SCEVs (#241846)

This allows vectorizing cases where the conditional induction is
narrower than the width of a pointer type.

This is fairly common if the conditional induction was declared as an
`int` and the trip-count of the loop is unknown.
DeltaFile
+197-0llvm/test/Transforms/LoopVectorize/compress-idioms.ll
+64-32llvm/test/Transforms/LoopVectorize/compress-idioms-negative-tests.ll
+2-5llvm/lib/Transforms/Utils/LoopUtils.cpp
+4-2llvm/lib/Analysis/IVDescriptors.cpp
+4-2llvm/include/llvm/Analysis/IVDescriptors.h
+271-415 files

LLVM/project 4495b99 — mlir/include/mlir/IR OperationSupport.h, mlir/lib/IR OperationSupport.cpp

[mlir] Handle lexical/dominance inversion in OperationEquivalence

Operation equivalence used to traverse blocks in their lexical order, i.e., the
order in which they are stored in the region. This order is not guaranteed to
match the dominance order. Operation equivalence therefore would not have
marked dominating values from a lexically following block as equivalent in the
cache, and would incorrectly consider them as not equivalent.

Traverse all blocks first to record equivalence between arguments and op
results first, then look at operands separately.
DeltaFile
+122-60mlir/lib/IR/OperationSupport.cpp
+86-0mlir/test/IR/operation-equality.mlir
+10-6mlir/include/mlir/IR/OperationSupport.h
+218-663 files

LLVM/project bd5ce27 — llvm/lib/Target/AArch64 AArch64TargetTransformInfo.cpp, llvm/test/CodeGen/AArch64 strength-reduce-vector-as-data.ll sve-vl-arith.ll

[AArch64] Sink expressions that can form DEC/INC Z instrucitons

Sinking of the whole "scaled vscale splat" chain is necessary for SDAG
to select it to DEC/INC instuctions. This can help reduce ZPR register
pressure. Previously, the splats had to stay live throughout the whole
loop, or loop nest.

Assisted-by: codex (test creation)
DeltaFile
+1,168-0llvm/test/Transforms/CodeGenPrepare/AArch64/sve-vscale-splat-sinking.ll
+451-0llvm/test/CodeGen/AArch64/sve-vl-arith.ll
+138-1llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
+56-60llvm/test/CodeGen/AArch64/strength-reduce-vector-as-data.ll
+81-20llvm/test/Transforms/CodeGenPrepare/AArch64/strength-reduce-vector-as-data.ll
+1,894-815 files

LLVM/project 09a6a89 — clang/lib/CIR/Dialect/IR CIRDialect.cpp, clang/test/CIR/CodeGen vector-int128-fold.cpp

[CIR] Handle integers wider than 64 bits in the vector constant folders

`cir::IntAttr::getUInt()` and `getSInt()` assert when the value needs
more than 64 bits. The folders of `cir.vec.cmp`, `cir.vec.ternary` and
`cir.vec.shuffle.dynamic` read constant elements through them, so they
asserted on a vector of `__int128` with such an element. C++ reaches
all three at -O0. The verifier of `cir.vec.shuffle` read its indices the
same way and asserted while parsing an index wider than 64 bits.

They now work on the `APInt` values:

- `cir.vec.cmp` compares the elements at their full width.
- `cir.vec.ternary` tests whether the condition element is zero.
- `cir.vec.shuffle.dynamic` masks the index before narrowing it.
- The `cir.vec.shuffle` verifier recognizes the -1 index by all of its
  bits being set and range-checks the other indices without narrowing
  them.

Folds of integers up to 64 bits are unchanged.

    [2 lines not shown]
DeltaFile
+129-0clang/test/CIR/Transforms/vector-cmp-fold.cir
+38-64clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+51-0clang/test/CIR/CodeGen/vector-int128-fold.cpp
+49-0clang/test/CIR/IR/invalid-vector.cir
+21-0clang/test/CIR/Transforms/vector-shuffle-fold.cir
+15-0clang/test/CIR/Transforms/vector-ternary-fold.cir
+303-643 files not shown
+329-709 files

LLVM/project 97a2363 — llvm/lib/Target/X86 X86ISelLowering.cpp, llvm/test/CodeGen/X86 prefer-avx256-trunc.ll

[X86] combineSelect - only create VMTRUNC from a legal source type

The select(c, trunc(x), y) -> VMTRUNC fold for targets without BWI
(#201339) runs before type legalization. With AVX512VL and a 256-bit
preferred vector width, v16i32 and v8i64 are illegal, and the type
legalizer can't split the operand of the target node: "Should not
custom lower this!". Reachable from C with -mavx512f -mavx512vl
-mprefer-vector-width=256; real code such as libwebp's sharpyuv hits
it. The same fold also crashed with "use-soft-float", where no vector
type is legal.

Assisted-by: Claude Code (Claude Opus 5.5)
DeltaFile
+219-0llvm/test/CodeGen/X86/prefer-avx256-trunc.ll
+4-3llvm/lib/Target/X86/X86ISelLowering.cpp
+223-32 files

LLVM/project e4bb4b7 — llvm/test/Transforms/SLPVectorizer/X86 loop-carried-wrap-indices.ll

[SLP][NFC] initial-version loop carried indices (#247342)
DeltaFile
+148-0llvm/test/Transforms/SLPVectorizer/X86/loop-carried-wrap-indices.ll
+148-01 files

LLVM/project 6fcf3e3 — llvm/lib/Target/ARM ARMLatencyMutations.cpp, llvm/lib/Target/ARM/MCTargetDesc ARMMCTargetDesc.h ARMMCTargetDesc.cpp

Revert "[ARM][NFC] Remove global state from ARMLatencyMutations (#246973)" (#247645)

This reverts commit a3139c6e269bfa03c89f6ab1091c5dc83313984a as it was
not an
NFC and caused performance regressions.

The MCInstrDesc from TII->get(MI) is apparently:
// The table is indexed backwards from the last entry.
return *(LastDesc - Opcode);
So markDPProducersConsumers was now reading completely the wrong
entries.

I plan to try to remove the global in a followup patch.
DeltaFile
+35-38llvm/lib/Target/ARM/ARMLatencyMutations.cpp
+0-2llvm/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp
+0-1llvm/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.h
+35-413 files

LLVM/project 0e84e29 — llvm/lib/Target/AMDGPU AMDGPUCoExecSchedStrategy.cpp, llvm/test/CodeGen/AMDGPU coexec-mfma-interleave-gfx950.mir

[AMDGPU] Fix gfx950 MFMA co-exec rows for XDL2x_8Pass, SMFMAC2x, DGEMM (#245293)

Fix the co-exec rows for the following instructions:

XDL2x_8Pass:
  v_mfma_f32_32x32x16_f16
  v_mfma_f32_32x32x16_bf16
  v_mfma_i32_32x32x32_i8
  v_mfma_f32_32x32x64_f8f6f4 and v_mfma_scale_f32_32x32x64_f8f6f4
  with no fp8/bf8 operand

SMFMAC2x_4Pass:
  v_smfmac_f32_16x16x64_f16
  v_smfmac_f32_16x16x64_bf16
  v_smfmac_i32_16x16x128_i8
  v_smfmac_f32_16x16x128_{bf8,fp8}_{bf8,fp8}

SMFMAC2x_8Pass:
  v_smfmac_f32_32x32x32_f16

    [7 lines not shown]
DeltaFile
+37-0llvm/unittests/Target/AMDGPU/MFMACoExecRules.cpp
+17-0llvm/test/CodeGen/AMDGPU/coexec-mfma-interleave-gfx950.mir
+11-5llvm/lib/Target/AMDGPU/AMDGPUCoExecSchedStrategy.cpp
+65-53 files

LLVM/project e62ccb5 — libcxxabi/src private_typeinfo.h private_typeinfo.cpp

[libc++abi] Remove found_our_static_ptr and found_any_static_type from __dynamic_cast_info
DeltaFile
+109-129libcxxabi/src/private_typeinfo.cpp
+4-6libcxxabi/src/private_typeinfo.h
+113-1352 files

LLVM/project a7faf3e — llvm/include/llvm/CodeGen/MIRParser MIParser.h, llvm/lib/CodeGen MachineModuleSlotTracker.cpp MIRPrintingPass.cpp

[DebugInfo][FLMD] Add MIR printing/parsing support for !!dbgLoc

Extending from the IR printing/parsing support, this adds !!dbgLoc parsing
to the MIR parser, and has the MIR printing passes access the conversion
layer via the ModuleSlotTracker. Just as with regular debug-location
attachments in MIR, we print the attachments in their expanded/in-line form
if the same attachment did not appear in the IR, because the IR module may
have already been printed, and thus we cannot add new metadata IDs to the
printed output - in this case, we cannot add to the SrcLocs or InlinedAts
storage arrays.

Note that we can meaningfully print the SrcLoc in-line, but not the
InlinedAt, since that has a unique identity - this is a case that is very
unlikely to be stimulated however, and (I believe) already exists as a
deficiency in current IR, so we accept its absence for now. If this were
to become a significant issue, then we could implement in-line InlinedCall
printing.

AI assistance was used to partially generate the test input in this patch;
all test comments/checks were hand-written.
DeltaFile
+411-0llvm/test/CodeGen/MIR/X86/flmd-debuglocs.mir
+150-3llvm/lib/CodeGen/MIRParser/MIParser.cpp
+15-11llvm/lib/CodeGen/MIRPrintingPass.cpp
+19-2llvm/lib/CodeGen/MIRParser/MILexer.cpp
+19-0llvm/lib/CodeGen/MachineModuleSlotTracker.cpp
+12-0llvm/include/llvm/CodeGen/MIRParser/MIParser.h
+626-168 files not shown
+661-2114 files

LLVM/project 98f448d — llvm/lib/Analysis TypeBasedAliasAnalysis.cpp

[TBAA] Use SmallVector for type paths in getLeastCommonType (NFC) (#244115)

Since https://github.com/llvm/llvm-project/pull/235556, cycle detection
in getLeastCommonType is only an assert, so SmallSetVector is no longer
needed. Switch to SmallVector and check !is_contained(...) in the assert
instead.

CTMark instructions:u geomean (x86_64): O3 -0.11%, ThinLTO -0.14%.
DeltaFile
+10-7llvm/lib/Analysis/TypeBasedAliasAnalysis.cpp
+10-71 files

LLVM/project ce555d1 — clang/include/clang/Driver Action.h, clang/lib/Driver Action.cpp Driver.cpp

[flang][Driver] Offload OpenACC with -fopenacc and an offload target

Add the OpenACC offloading kind to the driver. -fopenacc with
--offload-targets= or --offload-arch= creates the offloading toolchain of the
device. OpenACC has no device compilation job: there is a single host
compilation, which is going to generate the device image, and the link goes
through the offloading linker wrapper.

OpenACC supports a single offloading architecture, which is diagnosed if more
are given.

Assisted-by: Claude Sonnet 5.5
DeltaFile
+59-0flang/test/Driver/acc-driver-offload.f90
+16-3clang/lib/Driver/Driver.cpp
+6-4clang/lib/Driver/ToolChains/Clang.cpp
+8-1clang/lib/Driver/Action.cpp
+4-2clang/lib/Driver/ToolChains/Cuda.cpp
+2-1clang/include/clang/Driver/Action.h
+95-111 files not shown
+97-117 files