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

LLVM/project 496a450llvm/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
+42-42llvm/test/Transforms/Attributor/AMDGPU/nofpclass-amdgcn-rsq.ll
+31-0llvm/lib/Analysis/ValueTracking.cpp
+73-422 files

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

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

LLVM/project 85fafd5llvm/include/llvm/Transforms/Utils ScalarEvolutionExpander.h, llvm/lib/CodeGen HardwareLoops.cpp

[SCEVExp] Get DL from SE, strip constructor arg (NFC) (#171823)

DeltaFile
+15-25llvm/lib/CodeGen/HardwareLoops.cpp
+15-15llvm/unittests/Transforms/Utils/ScalarEvolutionExpanderTest.cpp
+6-6llvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
+6-6polly/lib/Support/ScopHelper.cpp
+5-5llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+4-5llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
+51-6219 files not shown
+78-10725 files

LLVM/project 8689282llvm/lib/Target/AMDGPU SIInstructions.td SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU insert_vector_dynelt.ll extract_vector_dynelt.ll

Reapply "[AMDGPU][SDAG] Add missing cases for SI_INDIRECT_SRC/DST (#170323)"

This reverts commit 4f94941dc101b5d45b53c3efe361cd7b4b916517.
DeltaFile
+5,963-0llvm/test/CodeGen/AMDGPU/insert_vector_dynelt.ll
+3,310-0llvm/test/CodeGen/AMDGPU/extract_vector_dynelt.ll
+16-0llvm/lib/Target/AMDGPU/SIInstructions.td
+8-0llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+9,297-04 files

LLVM/project c1ef7c7llvm/lib/Target/AMDGPU SIInstrInfo.cpp SIInstructions.td, llvm/test/CodeGen/AMDGPU/GlobalISel inst-select-insert-vector-elt.mir inst-select-extract-vector-elt.mir

[AMDGPU] Add missing cases for V_INDIRECT_REG_{READ/WRITE}_GPR_IDX and V/S_INDIRECT_REG_WRITE_MOVREL

A buildbot failure in https://github.com/llvm/llvm-project/pull/170323
when expensive checks were used highlighted that some of these patterns
were missing.

This patch adds V_INDIRECT_REG_{READ/WRITE}_GPR_IDX and
V/S_INDIRECT_REG_WRITE_MOVREL for V6 and V7 vector sizes
DeltaFile
+139-0llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-insert-vector-elt.mir
+126-0llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-extract-vector-elt.mir
+24-0llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+8-0llvm/lib/Target/AMDGPU/SIInstructions.td
+297-04 files

LLVM/project 36fff3cllvm/test/tools/sancov diff-different-bitness.test union-different-bitness.test, llvm/test/tools/sancov/Inputs dummy-32bits.0.sancov

[Review] Update RawCoverage so it keeps track of their source bitness.

In this way, we can properly warn about possible data loss.
DeltaFile
+39-50llvm/tools/sancov/sancov.cpp
+6-0llvm/test/tools/sancov/diff-different-bitness.test
+6-0llvm/test/tools/sancov/union-different-bitness.test
+0-0llvm/test/tools/sancov/Inputs/dummy-32bits.0.sancov
+51-504 files

LLVM/project 2705ba1offload/libomptarget PluginManager.cpp, offload/libomptarget/OpenMP Mapping.cpp

Address comments
DeltaFile
+2-2offload/libomptarget/PluginManager.cpp
+1-1offload/libomptarget/OpenMP/Mapping.cpp
+3-32 files

LLVM/project cdce445llvm/lib/Target/X86 X86ISelLowering.cpp, llvm/test/CodeGen/X86 single_elt_vector_memory_operation.ll

[X86] isLoadBitCastBeneficial - its only beneficial to bitcast between vector types if the new type is legal (#171813)

Prevents us from attempting to store illegal types like <2 x i128> that will force scalarization/splitting

Noticed while trying to avoid some split stores mentioned in #171616
DeltaFile
+7-12llvm/test/CodeGen/X86/single_elt_vector_memory_operation.ll
+6-4llvm/lib/Target/X86/X86ISelLowering.cpp
+13-162 files

LLVM/project a6b9a93llvm/lib/Target/AMDGPU SIInstructions.td SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU insert_vector_dynelt.ll extract_vector_dynelt.ll

Reapply "[AMDGPU][SDAG] Add missing cases for SI_INDIRECT_SRC/DST (#170323)"

This reverts commit 4f94941dc101b5d45b53c3efe361cd7b4b916517.
DeltaFile
+5,963-0llvm/test/CodeGen/AMDGPU/insert_vector_dynelt.ll
+3,310-0llvm/test/CodeGen/AMDGPU/extract_vector_dynelt.ll
+16-0llvm/lib/Target/AMDGPU/SIInstructions.td
+8-0llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+9,297-04 files

LLVM/project f582fc6libcxx/test CMakeLists.txt, libcxxabi/test CMakeLists.txt

[libc++] Simplify how we install test-suite dependencies (#171504)

Based on comments in #171474, it was brought to my attention that we can
modernize and simplify how we perform the test suite installation in
libc++ and libc++abi.
DeltaFile
+15-47libcxxabi/test/CMakeLists.txt
+13-47libcxx/test/CMakeLists.txt
+28-942 files

LLVM/project c8d5ae5llvm/lib/Target/AMDGPU SIInstrInfo.cpp SIInstructions.td, llvm/test/CodeGen/AMDGPU/GlobalISel inst-select-insert-vector-elt.mir inst-select-extract-vector-elt.mir

[AMDGPU] Add missing cases for V_INDIRECT_REG_{READ/WRITE}_GPR_IDX and V/S_INDIRECT_REG_WRITE_MOVREL

A buildbot failure in https://github.com/llvm/llvm-project/pull/170323
when expensive checks were used highlighted that some of these patterns
were missing.
DeltaFile
+139-0llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-insert-vector-elt.mir
+126-0llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-extract-vector-elt.mir
+24-0llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+16-0llvm/lib/Target/AMDGPU/SIInstructions.td
+305-04 files

LLVM/project e0387b7.github/workflows libcxx-build-and-test.yaml

[libc++][Github] Move back to main runner set (#171771)

This moves us back to the main runner set so that the next runner set
can be used for upgrading again when we want to do that. This also
captures the Github Runner version upgrade.
DeltaFile
+8-8.github/workflows/libcxx-build-and-test.yaml
+8-81 files

LLVM/project a9fadb3libcxx/modules CMakeLists.txt, libcxx/src CMakeLists.txt

[runtimes] Modernize installation targets (#171677)

This patch moves away from using cmake_install scripts to install the
various targets when building runtimes, since those have been deprecated
by CMake. Instead, we use `cmake --install` which is the prefered
method.

This patch also localizes how we set dependencies on the various
installation targets, allowing the removal of a few global variables
that were used as lists.

Finally, it makes the way we set up installation targets for libc++,
libc++abi and libunwind consistent again.
DeltaFile
+31-36libcxx/src/CMakeLists.txt
+33-32libcxxabi/src/CMakeLists.txt
+26-28libunwind/src/CMakeLists.txt
+2-4libcxxabi/include/CMakeLists.txt
+2-4libcxx/modules/CMakeLists.txt
+2-4libunwind/include/CMakeLists.txt
+96-1081 files not shown
+98-1127 files

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

[flang][OpenMP] Parse OpenMP 6.0 syntax of INIT clause (#171702)

This includes `FR(...)` for foreign runtime identifiers and `ATTR(...)`
for extensions. Do not store string runtime ids as character literals in
the AST. Use parser::Expr instead, since lowering would require
evaluate::Expr for these ids, and we get evaluate::Expr from
parser::Expr automatically.

Use OpenMP 6.0 naming for AST nodes (since it's the "current" one).
DeltaFile
+81-136flang/test/Parser/OpenMP/interop-construct.f90
+41-29flang/lib/Parser/unparse.cpp
+32-14flang/include/flang/Parser/parse-tree.h
+16-16flang/lib/Semantics/openmp-modifiers.cpp
+19-12flang/lib/Parser/openmp-parsers.cpp
+3-2flang/include/flang/Parser/dump-parse-tree.h
+192-2092 files not shown
+196-2128 files

LLVM/project b2dae2blldb/unittests/Host JSONTransportTest.cpp

[lldb][test] Skip all of JSONTransportTest.cpp file on Windows

We were cutting out the tests but leaving the utility functions,
leading to warnings like:
C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\unittests\Host\JSONTransportTest.cpp(65,6): warning: unused function 'operator==' [-Wunused-function]
C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\unittests\Host\JSONTransportTest.cpp(72,6): warning: unused function 'PrintTo' [-Wunused-function]

I've moved the ifndef to the start of the file to fix those.
DeltaFile
+4-3lldb/unittests/Host/JSONTransportTest.cpp
+4-31 files

LLVM/project ce86d9dclang/lib/Sema SemaConcept.cpp, clang/unittests/Support TimeProfilerTest.cpp

[Clang] Add TimeTraceScope to Sema::CheckConstraintSatisfaction (#170264)

Evaluating concepts can take quite a bit of time and it's not
necessarily obvious what's part of that and what not. This scope makes
it clear which parts are concept evaluation and where they are invoked.
DeltaFile
+5-0clang/lib/Sema/SemaConcept.cpp
+3-0clang/unittests/Support/TimeProfilerTest.cpp
+8-02 files

LLVM/project 90c340alldb/unittests/Platform/Android AdbClientTest.cpp

[lldb[test] Fix compiler warning in AdbClientTest.cpp

C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\unittests\Platform\Android\AdbClientTest.cpp(100,17): warning: unused function 'FindUnusedPort' [-Wunused-function]

Function is used by a test that is disabled on Windows.
DeltaFile
+1-1lldb/unittests/Platform/Android/AdbClientTest.cpp
+1-11 files

LLVM/project c28992aclang/include/clang/Basic DiagnosticSemaKinds.td Attr.td, clang/lib/Sema SemaTemplate.cpp SemaDeclCXX.cpp

[Clang] Allow simpler visibility annotations when targeting win32 and mingw (#133699)

MinGW and Win32 disagree on where the `__declspec(dllexport)` should be
placed on extern template instantiations. However, there doesn't
fundamentally seem to be a problem with putting the annotation in both
places. This patch adds a new diagnostic group and `-Wattribute-ignored`
warnings about where the attribute is placed if the attribute is
different on the declaration and definition. There is another new
warning group `-Wdllexport-explicit-instantiation` that also diagnoses
places where the attribute is technically ignored, even though the
correct place is also annotated. This makes it possible to significantly
simplify libc++'s visibility annotations (see #133704).
DeltaFile
+18-2clang/lib/Sema/SemaTemplate.cpp
+19-0clang/test/SemaCXX/dllexport-explicit-instantiation.cpp
+11-1clang/include/clang/Basic/DiagnosticSemaKinds.td
+8-0clang/include/clang/Basic/Attr.td
+5-1clang/include/clang/Basic/DiagnosticGroups.td
+4-1clang/lib/Sema/SemaDeclCXX.cpp
+65-51 files not shown
+66-67 files

LLVM/project 60b5d06lldb/tools/lldb-dap/tool lldb-dap.cpp

[lldb][lldb-dap] Remove unused variable

Fixes warning:
C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\tools\lldb-dap\tool\lldb-dap.cpp(446,27): warning: unused variable 'dap_sessions_condition' [-Wunused-variable]

Variable is unused since #163653 / 5ab3375b2cf461ab02704d129a1f4d5ba1a1e275.
DeltaFile
+0-1lldb/tools/lldb-dap/tool/lldb-dap.cpp
+0-11 files

LLVM/project f66a5f8flang/include/flang/Parser parse-tree.h, flang/lib/Parser unparse.cpp

Use spec names for member type aliases
DeltaFile
+7-5flang/include/flang/Parser/parse-tree.h
+5-3flang/lib/Parser/unparse.cpp
+12-82 files

LLVM/project bc9c193llvm/lib/Target/AMDGPU SIInstructions.td SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU insert_vector_dynelt.ll extract_vector_dynelt.ll

Reapply "[AMDGPU][SDAG] Add missing cases for SI_INDIRECT_SRC/DST (#170323)"

This reverts commit 4f94941dc101b5d45b53c3efe361cd7b4b916517.
DeltaFile
+5,963-0llvm/test/CodeGen/AMDGPU/insert_vector_dynelt.ll
+3,310-0llvm/test/CodeGen/AMDGPU/extract_vector_dynelt.ll
+16-0llvm/lib/Target/AMDGPU/SIInstructions.td
+8-0llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+9,297-04 files

LLVM/project de8603bllvm/lib/Target/AMDGPU SIInstrInfo.cpp SIInstructions.td, llvm/test/CodeGen/AMDGPU/GlobalISel inst-select-insert-vector-elt.mir inst-select-extract-vector-elt.mir

[AMDGPU][SDAG] Add missing cases for V/S_INDIRECT_REG_READ/WRITE_GPR_IDX and V/S_INDIRECT_REG_WRITE_MOVREL
DeltaFile
+70-0llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-insert-vector-elt.mir
+62-0llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-extract-vector-elt.mir
+24-0llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+16-0llvm/lib/Target/AMDGPU/SIInstructions.td
+172-04 files

LLVM/project 87345d2mlir/include/mlir/Conversion/AMDGPUToROCDL AMDGPUToROCDL.h, mlir/lib/Conversion/AMDGPUToROCDL AMDGPUToROCDL.cpp

[mlir][amdgpu] Add type conversion to populate method (NFC) (#171708)

* Renames populateAMDGPUMemorySpaceAttributeConversions to
populateAMDGPUTypeAndAttributeConversions.
* Adds TDMBaseType conversion to
populateAMDGPUTypeAndAttributeConversions.
DeltaFile
+6-6mlir/lib/Conversion/AMDGPUToROCDL/AMDGPUToROCDL.cpp
+3-4mlir/include/mlir/Conversion/AMDGPUToROCDL/AMDGPUToROCDL.h
+9-102 files