LLVM/project 6f0d05fllvm/utils/TableGen DAGISelMatcherEmitter.cpp

[TableGen] Remove space after comma EmitSignedVBRValue. NFC

This removes trailing whitespace from the final output.
DeltaFile
+2-1llvm/utils/TableGen/DAGISelMatcherEmitter.cpp
+2-11 files

LLVM/project 8de0bcbmlir/include/mlir/Bindings/Python IRAttributes.h IRTypes.h, mlir/lib/Bindings/Python IRAttributes.cpp IRTypes.cpp

[mlir][Python] move IRTypes and IRAttributes to public headers
DeltaFile
+949-1,394mlir/lib/Bindings/Python/IRAttributes.cpp
+636-959mlir/lib/Bindings/Python/IRTypes.cpp
+593-0mlir/include/mlir/Bindings/Python/IRAttributes.h
+391-2mlir/include/mlir/Bindings/Python/IRTypes.h
+59-72mlir/test/python/lib/PythonTestModuleNanobind.cpp
+15-2mlir/include/mlir/Bindings/Python/IRCore.h
+2,643-2,4292 files not shown
+2,648-2,4328 files

LLVM/project 0db0496llvm/lib/Transforms/Vectorize VPlanConstruction.cpp, llvm/test/Transforms/LoopVectorize constantfolder.ll

[VPlan] Fix use-after-free when iterating over live-ins directly.

getLiveIns returns an iterator to members of a dense map. The loop may
create new live-ins, which can trigger re-allocation of the underlying
dense map, causing use-after-free accesses for the iterator.

Make sure we iterate over a copy of the live-ins to avoid
use-after-free.

Fixes https://github.com/llvm/llvm-project/issues/173222.
DeltaFile
+122-0llvm/test/Transforms/LoopVectorize/constantfolder.ll
+1-1llvm/lib/Transforms/Vectorize/VPlanConstruction.cpp
+123-12 files

LLVM/project 27cf32dllvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/X86 split-vectorize-gathered-def-after-use.ll

[SLP]Fix def-after-use crash for gathered split nodes

If the split node is marked as a gather node after non-profitable
analysis, need to exclude it from the list of split nodes and include
into the list of gather/buildvector nodes

Fixes report from https://github.com/llvm/llvm-project/pull/162018#issuecomment-3701928745
DeltaFile
+138-0llvm/test/Transforms/SLPVectorizer/X86/split-vectorize-gathered-def-after-use.ll
+2-1llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+140-12 files

LLVM/project 663e29cllvm/include/llvm/ADT GenericUniformityImpl.h, llvm/test/Analysis/UniformityAnalysis/AMDGPU incorrect-assertion-issue-170048.ll

[UniformityAnalysis] Remove an incorrect assertion in uniformity analysis

The join block could be not a header of a cycle, as shown in the newly added test case.

Fixes #170048.
DeltaFile
+56-0llvm/test/Analysis/UniformityAnalysis/AMDGPU/incorrect-assertion-issue-170048.ll
+1-3llvm/include/llvm/ADT/GenericUniformityImpl.h
+57-32 files

LLVM/project 9f0d5cdmlir/lib/Dialect/SPIRV/IR SPIRVOps.cpp SPIRVTypes.cpp

[mlir][spirv] Clean up casts. NFC. (#174115)

Drop the `llvm::` namespace prefix where needlessly used. These were
introduced by clang-tidy when we migrated from cast member functions to
free functions.
DeltaFile
+79-82mlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp
+19-19mlir/lib/Dialect/SPIRV/IR/SPIRVTypes.cpp
+17-17mlir/lib/Dialect/SPIRV/IR/MemoryOps.cpp
+16-18mlir/lib/Dialect/SPIRV/IR/SPIRVAttributes.cpp
+14-14mlir/lib/Dialect/SPIRV/IR/CastOps.cpp
+9-9mlir/lib/Dialect/SPIRV/IR/SPIRVCanonicalization.cpp
+154-15913 files not shown
+193-20019 files

LLVM/project 7cd93cbmlir/include/mlir/Dialect/SPIRV/IR SPIRVControlFlowOps.td, mlir/test/Dialect/SPIRV/IR return-ops.mlir

[mlir][spirv] Mark `spirv.ReturnValue` as `ReturnLike` (#174114)

This makes the dead value analysis consider it live.

Fixes: https://github.com/llvm/llvm-project/issues/173563
DeltaFile
+17-0mlir/test/Dialect/SPIRV/IR/return-ops.mlir
+2-2mlir/include/mlir/Dialect/SPIRV/IR/SPIRVControlFlowOps.td
+19-22 files

LLVM/project 02bf270mlir/lib/Conversion/SCFToSPIRV SCFToSPIRVPass.cpp, mlir/lib/Dialect/SPIRV/Transforms SPIRVConversion.cpp

[mlir][spirv] Allow unrealized casts in scf-to-spirv (#174111)

This is required for signature conversion to work.

Fixes: https://github.com/llvm/llvm-project/issues/173564
DeltaFile
+21-0mlir/test/Conversion/SCFToSPIRV/func-signature.mlir
+2-0mlir/lib/Conversion/SCFToSPIRV/SCFToSPIRVPass.cpp
+1-1mlir/lib/Dialect/SPIRV/Transforms/SPIRVConversion.cpp
+24-13 files

LLVM/project 420437eflang/docs Extensions.md, flang/include/flang/Parser message.h

[flang] Emit warnings, not errors, for bad subscripts in dead code (#174040)

When semantics is checking expressions in known dead branches of IF
constructs, errors should not be fatal; emit warnings instead, and allow
them to be disabled.

Fixes https://github.com/llvm/llvm-project/issues/171844.
DeltaFile
+87-6flang/lib/Semantics/expression.cpp
+37-0flang/test/Semantics/bug171844.f90
+8-1flang/include/flang/Parser/message.h
+4-0flang/include/flang/Semantics/expression.h
+4-0flang/docs/Extensions.md
+1-1flang/include/flang/Support/Fortran-features.h
+141-82 files not shown
+143-88 files

LLVM/project 46252a9mlir/test/Examples/standalone test.wheel.toy

gate standalone
DeltaFile
+7-2mlir/test/Examples/standalone/test.wheel.toy
+7-21 files

LLVM/project 14dd9b7mlir/include/mlir/Bindings/Python IRCore.h, mlir/lib/Bindings/Python MainModule.cpp IRCore.cpp

factor out more impls
DeltaFile
+22-265mlir/include/mlir/Bindings/Python/IRCore.h
+257-11mlir/lib/Bindings/Python/MainModule.cpp
+49-0mlir/lib/Bindings/Python/IRCore.cpp
+328-2763 files

LLVM/project 92a8875mlir/examples/standalone/test/python smoketest.py

fix after rebase
DeltaFile
+1-1mlir/examples/standalone/test/python/smoketest.py
+1-11 files

LLVM/project a3996camlir/lib/Bindings/Python MainModule.cpp IRCore.cpp

try twolevel_namespace
DeltaFile
+0-28mlir/lib/Bindings/Python/MainModule.cpp
+28-0mlir/lib/Bindings/Python/IRCore.cpp
+28-282 files

LLVM/project ab04783mlir/include/mlir/Bindings/Python IRCore.h, mlir/lib/Bindings/Python IRCore.cpp MainModule.cpp

move impls
DeltaFile
+2,882-268mlir/lib/Bindings/Python/IRCore.cpp
+6-2,653mlir/lib/Bindings/Python/MainModule.cpp
+13-19mlir/include/mlir/Bindings/Python/IRCore.h
+2,901-2,9403 files

LLVM/project bf596cdmlir/include/mlir/Bindings/Python IRCore.h, mlir/lib/Bindings/Python Pass.cpp

jakub's suggestion
DeltaFile
+3-4mlir/include/mlir/Bindings/Python/IRCore.h
+1-1mlir/lib/Bindings/Python/Pass.cpp
+4-52 files

LLVM/project 2e3a6dfmlir/cmake/modules AddMLIRPython.cmake, mlir/docs/Bindings Python.md

address comments
DeltaFile
+35-15mlir/cmake/modules/AddMLIRPython.cmake
+7-0mlir/docs/Bindings/Python.md
+1-1mlir/python/CMakeLists.txt
+43-163 files

LLVM/project 0bd8f3bmlir/cmake/modules AddMLIRPython.cmake

parameteriez add_mlir_python_modules
DeltaFile
+19-12mlir/cmake/modules/AddMLIRPython.cmake
+19-121 files

LLVM/project 9065452mlir/lib/Bindings/Python Rewrite.cpp

address comments
DeltaFile
+0-31mlir/lib/Bindings/Python/Rewrite.cpp
+0-311 files

LLVM/project cbb9558utils/bazel/llvm-project-overlay/mlir BUILD.bazel

Reflect rename in bazel file
DeltaFile
+2-1utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+2-11 files

LLVM/project 248b66emlir/cmake/modules AddMLIRPython.cmake

fix empty _mlir_python_support_libs
DeltaFile
+1-1mlir/cmake/modules/AddMLIRPython.cmake
+1-11 files

LLVM/project b2446c8utils/bazel/llvm-project-overlay/mlir BUILD.bazel

remove stray newline
DeltaFile
+0-1utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+0-11 files

LLVM/project ebc5769mlir/include/mlir/Bindings/Python IRCore.h, mlir/lib/Bindings/Python IRCore.cpp MainModule.cpp

move impls
DeltaFile
+454-0mlir/lib/Bindings/Python/IRCore.cpp
+65-379mlir/include/mlir/Bindings/Python/IRCore.h
+20-0mlir/lib/Bindings/Python/MainModule.cpp
+539-3793 files

LLVM/project 8c3e166mlir/cmake/modules AddMLIRPython.cmake, mlir/docs/Bindings Python.md

address
jpienaar comments
DeltaFile
+8-5mlir/include/mlir/Bindings/Python/IRCore.h
+4-4mlir/cmake/modules/AddMLIRPython.cmake
+2-2mlir/docs/Bindings/Python.md
+1-2mlir/lib/Bindings/Python/IRCore.cpp
+15-134 files

LLVM/project 9e841ecmlir/cmake/modules AddMLIRPython.cmake, mlir/examples/standalone/python CMakeLists.txt

try moving MLIR_BINDINGS_PYTHON_NB_DOMAIN compile defn
DeltaFile
+6-0mlir/cmake/modules/AddMLIRPython.cmake
+0-1mlir/examples/standalone/python/CMakeLists.txt
+0-1mlir/python/CMakeLists.txt
+6-23 files

LLVM/project 8651959mlir/cmake/modules AddMLIRPython.cmake, mlir/include/mlir-c Support.h

try MLIR_PYTHON_API_EXPORTED
DeltaFile
+65-56mlir/include/mlir/Bindings/Python/IRCore.h
+4-5mlir/cmake/modules/AddMLIRPython.cmake
+2-2mlir/include/mlir/Bindings/Python/Globals.h
+2-1mlir/include/mlir/Bindings/Python/IRTypes.h
+2-0mlir/include/mlir-c/Support.h
+75-645 files

LLVM/project be662famlir/cmake/modules AddMLIRPython.cmake

restore DISABLE_INSTALL
DeltaFile
+1-0mlir/cmake/modules/AddMLIRPython.cmake
+1-01 files

LLVM/project f94326amlir/include/mlir/Bindings/Python IRCore.h, mlir/lib/Bindings/Python MainModule.cpp Rewrite.cpp

works
DeltaFile
+71-62mlir/lib/Bindings/Python/MainModule.cpp
+35-8mlir/include/mlir/Bindings/Python/IRCore.h
+24-19mlir/lib/Bindings/Python/Rewrite.cpp
+26-13mlir/lib/Bindings/Python/Pass.cpp
+22-15mlir/lib/Bindings/Python/IRTypes.cpp
+25-9mlir/lib/Bindings/Python/IRAffine.cpp
+203-12612 files not shown
+275-17118 files

LLVM/project 2cac33fmlir/cmake/modules AddMLIRPython.cmake, mlir/include/mlir/Bindings/Python Globals.h

globals doesn't work
DeltaFile
+12-6mlir/cmake/modules/AddMLIRPython.cmake
+12-6mlir/lib/Bindings/Python/Globals.cpp
+2-5mlir/test/Examples/standalone/test.wheel.toy
+0-2mlir/include/mlir/Bindings/Python/Globals.h
+26-194 files

LLVM/project 683a50amlir/cmake/modules AddMLIRPython.cmake

comments
DeltaFile
+13-2mlir/cmake/modules/AddMLIRPython.cmake
+13-21 files

LLVM/project 0606a28mlir/cmake/modules AddMLIRPython.cmake

set VISIBILITY_INLINES_HIDDEN for libMLIRPYthonSupport
DeltaFile
+5-0mlir/cmake/modules/AddMLIRPython.cmake
+5-01 files