LLVM/project 28f8a29clang-tools-extra/clang-doc JSONGenerator.cpp, clang-tools-extra/clang-doc/assets namespace-template.mustache

fix unittest
DeltaFile
+4-4clang-tools-extra/test/clang-doc/namespace.cpp
+1-1clang-tools-extra/clang-doc/assets/namespace-template.mustache
+1-1clang-tools-extra/test/clang-doc/json/concept.cpp
+2-0clang-tools-extra/clang-doc/JSONGenerator.cpp
+1-1clang-tools-extra/test/clang-doc/mustache-separate-namespace.cpp
+1-1clang-tools-extra/unittests/clang-doc/JSONGeneratorTest.cpp
+10-81 files not shown
+11-97 files

LLVM/project 0be4b36clang-tools-extra/clang-doc JSONGenerator.cpp, clang-tools-extra/test/clang-doc/json class.cpp

[clang-doc] Serialize private members in JSON
DeltaFile
+10-0clang-tools-extra/test/clang-doc/json/class.cpp
+6-0clang-tools-extra/clang-doc/JSONGenerator.cpp
+16-02 files

LLVM/project 45d8e8aclang-tools-extra/clang-doc JSONGenerator.cpp, clang-tools-extra/test/clang-doc/json inheritance.cpp

fix unittest
DeltaFile
+111-0clang-tools-extra/test/clang-doc/json/inheritance.cpp
+6-2clang-tools-extra/clang-doc/JSONGenerator.cpp
+2-0clang-tools-extra/unittests/clang-doc/JSONGeneratorTest.cpp
+119-23 files

LLVM/project 85b0b75clang-tools-extra/clang-doc JSONGenerator.cpp, clang-tools-extra/clang-doc/assets class-template.mustache

fix unittest
DeltaFile
+2-2clang-tools-extra/clang-doc/assets/class-template.mustache
+2-0clang-tools-extra/unittests/clang-doc/JSONGeneratorTest.cpp
+1-1clang-tools-extra/test/clang-doc/basic-project.mustache.test
+2-0clang-tools-extra/test/clang-doc/json/class.cpp
+1-0clang-tools-extra/clang-doc/JSONGenerator.cpp
+8-35 files

LLVM/project 1d32cb2clang-tools-extra/clang-doc HTMLGenerator.cpp, clang-tools-extra/clang-doc/assets class-template.mustache namespace-template.mustache

[clang-doc] Create a partial for the navbar

Move navbar section to its own template so ensure consistency across
templates
DeltaFile
+1-19clang-tools-extra/clang-doc/assets/class-template.mustache
+1-19clang-tools-extra/clang-doc/assets/namespace-template.mustache
+19-0clang-tools-extra/clang-doc/assets/navbar-template.mustache
+4-1clang-tools-extra/clang-doc/HTMLGenerator.cpp
+3-0clang-tools-extra/clang-doc/support/Utils.cpp
+1-0clang-tools-extra/clang-doc/tool/CMakeLists.txt
+29-396 files

LLVM/project 0096bdaflang/include/flang/Parser parse-tree.h dump-parse-tree.h, flang/lib/Parser openmp-parsers.cpp

[flang][OpenMP] Rename few types to spec names, NFC (#171845)

Change Severity to SevLevel and TargetSync to Targetsync.
DeltaFile
+5-5flang/test/Parser/OpenMP/interop-construct.f90
+3-3flang/include/flang/Parser/parse-tree.h
+3-3flang/lib/Parser/openmp-parsers.cpp
+3-3flang/test/Parser/OpenMP/error-unparse.f90
+1-1flang/lib/Semantics/check-omp-structure.cpp
+1-1flang/include/flang/Parser/dump-parse-tree.h
+16-161 files not shown
+17-177 files

LLVM/project 8a92239clang-tools-extra/clang-doc HTMLGenerator.cpp, clang-tools-extra/clang-doc/assets class-template.mustache namespace-template.mustache

[clang-doc] Create a partial for HTML <head> sections

The <head> sections of the existing partials are already identical, so
creating a partial will help reduce lines in the templates. Now
changes to <head> sections can easily propogate and can easily be added
to future HTML pages.
DeltaFile
+1-14clang-tools-extra/clang-doc/assets/class-template.mustache
+1-14clang-tools-extra/clang-doc/assets/namespace-template.mustache
+14-0clang-tools-extra/clang-doc/assets/head-template.mustache
+4-1clang-tools-extra/clang-doc/HTMLGenerator.cpp
+3-0clang-tools-extra/clang-doc/support/Utils.cpp
+1-0clang-tools-extra/clang-doc/tool/CMakeLists.txt
+24-296 files

LLVM/project a6ac5d4clang-tools-extra/clang-doc/assets class-template.mustache namespace-template.mustache, clang-tools-extra/test/clang-doc mustache-separate-namespace.cpp

[clang-doc] Align indentation in templates (#171667)

Indentation was inconsistent between the namespace and class templates.
This patch assumes that `<body>` is not indented.
DeltaFile
+190-188clang-tools-extra/clang-doc/assets/class-template.mustache
+92-93clang-tools-extra/clang-doc/assets/namespace-template.mustache
+0-1clang-tools-extra/test/clang-doc/mustache-separate-namespace.cpp
+282-2823 files

LLVM/project 8a9d9e4llvm/lib/Transforms/Vectorize VPlanRecipes.cpp

[LV] Use getSigned() for stride

The stride may be negative.
DeltaFile
+2-1llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+2-11 files

LLVM/project a981d26llvm/lib/Transforms/Instrumentation KCFI.cpp

[KCFI] Use getSigned() for negative value
DeltaFile
+1-1llvm/lib/Transforms/Instrumentation/KCFI.cpp
+1-11 files

LLVM/project bc19a0allvm/lib/Transforms/InstCombine InstCombineCompares.cpp

[InstCombine] Use getSigned() for negative numbers
DeltaFile
+2-2llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
+2-21 files

LLVM/project 916d206llvm/lib/Target/Hexagon HexagonISelLoweringHVX.cpp HexagonPatternsHVX.td, llvm/test/CodeGen/Hexagon bfloat_vec.ll

[Hexagon] Fix HWBF16 PatLeaf type (#170560)

Correct the definition of `HWBF16` to reference `VecPBF16` rather than
`VecBF16`, aligning it with the existing pattern-leaf conventions for
pointer vector types.

Co-authored-by: Muntasir Mallick <quic_mallick at quicinc.com>
DeltaFile
+8-15llvm/test/CodeGen/Hexagon/bfloat_vec.ll
+8-0llvm/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp
+5-1llvm/lib/Target/Hexagon/HexagonPatternsHVX.td
+21-163 files

LLVM/project fd5f53allvm/lib/Transforms/Vectorize LoopVectorize.cpp VPlanRecipes.cpp, llvm/test/Transforms/LoopVectorize/X86 replicate-uniform-call.ll

[VPlan] Remove legacy costing inside VPBlendRecipe::computeCost (#171846)

A VPBlendRecipe always emits selects, even when the VF is scalar.

However the legacy cost model always costs all scalar non-header phis as
a phi, and the VPlan cost model has to account for this.

This can cause the cost to be a little off, for example not including
the cost of the select in @smax_call_uniform leading to unprofitable
vectorization.

This removes this from the VPlan cost model and handles checks for the
case in planContainsAdditionalSimplifications instead.

I considered trying to make the legacy cost model more accurate but I'm
not sure if it's possible. We need information as to whether or not the
scalar VF we are costing is the original loop in which case it's
actually a phi, or if it's a VPBlendRecipe that emits a select,
potentially from a VF=1, UF>=1 VPlan.
DeltaFile
+13-41llvm/test/Transforms/LoopVectorize/X86/replicate-uniform-call.ll
+5-0llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+0-5llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+18-463 files

LLVM/project 41ceaf9flang/include/flang/Parser openmp-utils.h, flang/lib/Parser openmp-utils.cpp

[flang][OpenMP] Implement loop construct iterator range (#170734)

Since we're trying to preserve compiler directives in loop constructs,
not every element of the associated parser::Block needs to be a loop or
an OpenMP loop construct. Implement a helper class `LoopRange` to make
it easy to iterate over elements of parser::Block that are loops or loop
constructs.
DeltaFile
+77-0flang/include/flang/Parser/openmp-utils.h
+49-0flang/lib/Parser/openmp-utils.cpp
+126-02 files

LLVM/project d269be7llvm/lib/Analysis ValueTracking.cpp, llvm/test/Transforms/Attributor/AMDGPU nofpclass-amdgcn-rsq.ll

ValueTracking: Handle amdgcn.rsq intrinsic in computeKnownFPClass

We have other target intrinsics already in ValueTracking functions,
and no access to TTI.
DeltaFile
+56-56llvm/test/Transforms/Attributor/AMDGPU/nofpclass-amdgcn-rsq.ll
+42-0llvm/lib/Analysis/ValueTracking.cpp
+98-562 files

LLVM/project e97e744llvm/test/Transforms/Attributor/AMDGPU nofpclass-amdgcn-rsq.ll

ValueTracking: Add baseline test for fpclass handling of amdgcn.rsq
DeltaFile
+290-0llvm/test/Transforms/Attributor/AMDGPU/nofpclass-amdgcn-rsq.ll
+290-01 files

LLVM/project dc1efdellvm/lib/Transforms/Utils SimplifyCFG.cpp, llvm/test/Transforms/MergeFunc switch.ll

IR test + fix SimplifyCFG size comparison

Created using spr 1.3.5-bogner
DeltaFile
+79-0llvm/test/Transforms/MergeFunc/switch.ll
+1-71llvm/unittests/Transforms/IPO/MergeFunctionsTest.cpp
+4-2llvm/lib/Transforms/Utils/SimplifyCFG.cpp
+84-733 files

LLVM/project 4ff79bfclang/lib/Driver/ToolChains AMDGPU.cpp

[Review] Early return instead.
DeltaFile
+4-3clang/lib/Driver/ToolChains/AMDGPU.cpp
+4-31 files

LLVM/project 911051bclang/lib/Driver/ToolChains AMDGPU.cpp

[Review] Skip device lib linking in ROCMToolChain for SPIR-V.
DeltaFile
+3-0clang/lib/Driver/ToolChains/AMDGPU.cpp
+3-01 files

LLVM/project 5c7ecdbclang/lib/Driver/ToolChains HIPAMD.cpp HIPAMD.h

[Review] Revert last changes except its test case.
DeltaFile
+0-9clang/lib/Driver/ToolChains/HIPAMD.cpp
+0-5clang/lib/Driver/ToolChains/HIPAMD.h
+0-142 files

LLVM/project 9f8e0f6mlir/lib/Dialect/Tosa/Transforms TosaNarrowI64ToI32.cpp, mlir/test/Dialect/Tosa tosa-narrow-i64-to-i32.mlir tosa-narrow-i64-to-i32-aggressive.mlir

[mlir][tosa] Add clamp op support to `TosaNarrowI64ToI32` pass (#169308)

This commit allows the narrowing of `tosa.clamp` when the min/max
attributes are within the int32 range.
DeltaFile
+38-0mlir/lib/Dialect/Tosa/Transforms/TosaNarrowI64ToI32.cpp
+27-0mlir/test/Dialect/Tosa/tosa-narrow-i64-to-i32.mlir
+9-0mlir/test/Dialect/Tosa/tosa-narrow-i64-to-i32-aggressive.mlir
+74-03 files

LLVM/project 8a4cc44llvm/lib/Target/AArch64 AArch64InstrInfo.cpp AArch64RedundantCondBranchPass.cpp, llvm/test/CodeGen/AArch64 arm64-shrink-wrapping.ll pr164181.ll

[AArch64] Run optimizeTerminators earlier too. (#170907)

Running optimizeTerminators prior to other optimizations like branch
layout can lead to more folding and better codegen, but is not on its
own able to capture all cases. There is benefit to running it in both
places. This adds the existing code from #161508 into the
AArch64RedundantCopyElimination pass, which sounds like a sensible
enough place for it.

This is a recommit with an extra fix for shrink-wrapping domtree use.
DeltaFile
+184-334llvm/test/CodeGen/AArch64/arm64-shrink-wrapping.ll
+29-37llvm/test/CodeGen/AArch64/pr164181.ll
+47-0llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
+1-45llvm/lib/Target/AArch64/AArch64RedundantCondBranchPass.cpp
+10-22llvm/test/CodeGen/AArch64/block-placement-optimize-branches.ll
+8-15llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/aarch64_generated_funcs.ll.generated.expected
+279-4536 files not shown
+316-48312 files

LLVM/project 5134452clang/include/clang/Analysis/Analyses/LifetimeSafety Origins.h, clang/lib/Analysis/LifetimeSafety FactsGenerator.cpp Origins.cpp

Tree -> List
DeltaFile
+153-371clang/test/Sema/warn-lifetime-safety-dataflow.cpp
+385-30clang/test/Sema/warn-lifetime-safety.cpp
+254-99clang/lib/Analysis/LifetimeSafety/FactsGenerator.cpp
+133-64clang/lib/Analysis/LifetimeSafety/Origins.cpp
+102-22clang/include/clang/Analysis/Analyses/LifetimeSafety/Origins.h
+55-30clang/unittests/Analysis/LifetimeSafetyTest.cpp
+1,082-6169 files not shown
+1,198-66315 files

LLVM/project 4f5b0f8llvm/lib/IR Instruction.cpp, llvm/lib/Transforms/Utils SimplifyCFG.cpp FunctionComparator.cpp

move to hasSameSpecialState and adjust FunctionComparator

Created using spr 1.3.5-bogner
DeltaFile
+71-1llvm/unittests/Transforms/IPO/MergeFunctionsTest.cpp
+3-14llvm/lib/Transforms/Utils/SimplifyCFG.cpp
+7-9llvm/lib/IR/Instruction.cpp
+6-0llvm/lib/Transforms/Utils/FunctionComparator.cpp
+87-244 files

LLVM/project 8512c07mlir/include/mlir/Dialect/Vector/IR VectorOps.td

[mlir][vector] Remove hooks deprecated pre Release/22 branch (#171829)

As mentioned on Discourse,
  * https://discourse.llvm.org/t/psa-vector-standardise-operand-naming

I am removing the deprecated Vector hooks near the creation of the
release/22 branch. These hooks were introduced in #158258 (~September
'25, ~3 months ago), so I assume folks have enough time to transition
away.
DeltaFile
+0-13mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
+0-131 files

LLVM/project aab03a6flang/include/flang/Parser parse-tree.h, flang/lib/Parser openmp-parsers.cpp unparse.cpp

[flang][OpenMP] Rename few types to spec names, NFC

Change Severity to SevLevel and TargetSync to Targetsync.
DeltaFile
+5-5flang/test/Parser/OpenMP/interop-construct.f90
+3-3flang/include/flang/Parser/parse-tree.h
+3-3flang/lib/Parser/openmp-parsers.cpp
+3-3flang/test/Parser/OpenMP/error-unparse.f90
+1-1flang/lib/Parser/unparse.cpp
+1-1flang/lib/Semantics/check-omp-structure.cpp
+16-161 files not shown
+17-177 files

LLVM/project 16c0893llvm/test/CodeGen/AMDGPU half.ll fcopysign.f16.ll

[AMDGPU][True16] remove pack32 pattern from true16 mode (#171756)

Remove pack32 so that isel use reg_sequence in true16 mode for
build_vector. This generates better code
DeltaFile
+46-67llvm/test/CodeGen/AMDGPU/half.ll
+34-50llvm/test/CodeGen/AMDGPU/fcopysign.f16.ll
+28-44llvm/test/CodeGen/AMDGPU/llvm.frexp.ll
+28-42llvm/test/CodeGen/AMDGPU/fmul-to-ldexp.ll
+28-40llvm/test/CodeGen/AMDGPU/extract-subvector-16bit.ll
+28-36llvm/test/CodeGen/AMDGPU/mad-mix-lo.ll
+192-27935 files not shown
+383-71641 files

LLVM/project 7f248a6llvm/lib/Target/X86 X86ISelLowering.cpp X86ISelLowering.h, llvm/test/CodeGen/X86 ptest.ll

[X86] mayFoldIntoVector - relax load alignment requirements (#171830)

If we're trying to move big integers to vector types, relax the SSE alignment requirements - unlike regular uses of mayFoldLoad, we're not testing to confirm every load will fold into a vector op, just that it can move to the FPU.

Fixes #144861
DeltaFile
+122-68llvm/test/CodeGen/X86/ptest.ll
+6-4llvm/lib/Target/X86/X86ISelLowering.cpp
+2-1llvm/lib/Target/X86/X86ISelLowering.h
+130-733 files

LLVM/project e348eb9flang/include/flang/Parser openmp-utils.h, flang/lib/Parser openmp-utils.cpp

Define postfix --/++
DeltaFile
+14-0flang/lib/Parser/openmp-utils.cpp
+2-2flang/include/flang/Parser/openmp-utils.h
+16-22 files

LLVM/project 8e08295flang/include/flang/Parser openmp-utils.h

Declare explicit instantiations
DeltaFile
+3-0flang/include/flang/Parser/openmp-utils.h
+3-01 files