LLVM/project 44e32ccllvm/lib/Target/RISCV RISCVRegisterInfo.cpp, llvm/test/CodeGen/RISCV xqcibm-extract.ll

[RISCV] Add regalloc hints for QC_EXTU (#173953)

`ANDI` with a mask gets converted into `QC_EXTU` in certain cases. Add
regalloc hints to use the same source and destination register so that
we can generate the compressed `QC_C_EXTU` instruction.
DeltaFile
+54-0llvm/test/CodeGen/RISCV/xqcibm-extract.ll
+2-0llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp
+56-02 files

NetBSD/pkgsrc 5hF4jaxdoc TODO

   doc/TODO: -ruby34-3.4.8

   - ruby34-3.4.8.
VersionDeltaFile
1.26597+1-2doc/TODO
+1-21 files

NetBSD/pkgsrc aT4yvoIdoc CHANGES-2025

   doc: Updated lang/ruby34 to 3.4.8
VersionDeltaFile
1.7483+2-1doc/CHANGES-2025
+2-11 files

NetBSD/pkgsrc FI2xAa4lang/ruby rubyversion.mk, lang/ruby34 distinfo

   lang/ruby34: update to 3.4.8

   Ruby 3.4.8 (2025-12-16)

   * Bug #21629: Ruby-3.4.7 prints -Wdefault-const-init-field-unsafe warnings
     on clang / llvm 21
   * Bug #21626: Backport WASI setjmp handler memory leak fixes
   * Bug #21631: Backport openssl gem bugfix releases
   * Bug #21632: Backport REXML CVE-2025-58767 fix
   * Bug #21644: Stack consistency error for the newrange INSN peephole
     optimization with chilled string
   * Bug #21668: Improve performance of UnicodeNormalize.canonical_ordering_one
   * Bug #21638: Ractor-local $DEBUG is not marked
   * Bug #21652: Marshal#dump documentation out-of-date/unclear regarding Data
     class
   * Bug #13671: Regexp with lookbehind and case-insensitivity raises
     RegexpError only on strings with certain characters
   * Bug #21625: Allow IO#wait_readable together with IO#ungetc even in text
     mode

    [27 lines not shown]
VersionDeltaFile
1.308+5-5lang/ruby/rubyversion.mk
1.12+4-4lang/ruby34/distinfo
+9-92 files

LLVM/project d690baamlir/lib/Bindings/Python DialectQuant.cpp DialectLLVM.cpp, mlir/test/python/dialects pdl_types.py

[mlir][Python] port dialect extensions to use core PyConcreteType, PyConcreteAttribute
DeltaFile
+454-355mlir/lib/Bindings/Python/DialectQuant.cpp
+164-133mlir/lib/Bindings/Python/DialectLLVM.cpp
+125-109mlir/lib/Bindings/Python/DialectSparseTensor.cpp
+141-89mlir/lib/Bindings/Python/DialectTransform.cpp
+134-72mlir/lib/Bindings/Python/DialectPDL.cpp
+103-100mlir/test/python/dialects/pdl_types.py
+1,121-8585 files not shown
+1,386-1,01211 files

LLVM/project d4e6cadmlir/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
+586-1,652mlir/lib/Bindings/Python/IRAttributes.cpp
+629-1,010mlir/lib/Bindings/Python/IRTypes.cpp
+617-0mlir/include/mlir/Bindings/Python/IRAttributes.h
+611-1mlir/lib/Bindings/Python/MainModule.cpp
+464-1mlir/include/mlir/Bindings/Python/IRTypes.h
+58-71mlir/test/python/lib/PythonTestModuleNanobind.cpp
+2,965-2,7352 files not shown
+2,982-2,7398 files

LLVM/project e89bd48mlir/lib/Query/Matcher MatchFinder.cpp

[mlir] Avoid crash in mlir-query's MatchFinder class (#145049)

It was failing for cases where the location was not a FileLineColLoc and fileLoc a nullptr.

If the following query is run: 

`match getUsersByPredicate(hasOpName("memref.alloc"),
hasOpName("memref.dealloc"), true)`

on the IR illustrated below, it caused the program to crash.

``` mlir
func.func @slicing_linalg_op(%arg0 : index, %arg1 : index, %arg2 : index) {
  %a = memref.alloc(%arg0, %arg2) : memref<?x?xf32>
  %b = memref.alloc(%arg2, %arg1) : memref<?x?xf32>
  %c = memref.alloc(%arg0, %arg1) : memref<?x?xf32>
  %d = memref.alloc(%arg0, %arg1) : memref<?x?xf32>
  linalg.matmul ins(%a, %b : memref<?x?xf32>, memref<?x?xf32>)
               outs(%c : memref<?x?xf32>)

    [9 lines not shown]
DeltaFile
+13-11mlir/lib/Query/Matcher/MatchFinder.cpp
+13-111 files

LLVM/project a22262emlir/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 03f3444utils/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 7a38d39utils/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 fb48a96mlir/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 4fd9898mlir/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 a84cc4amlir/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 451ee09mlir/cmake/modules AddMLIRPython.cmake

comments
DeltaFile
+13-6mlir/cmake/modules/AddMLIRPython.cmake
+13-61 files

LLVM/project 0d3ec3cmlir/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 a47f171mlir/examples/standalone/test lit.cfg.py, mlir/examples/standalone/test/python smoketest.py

check standalone
DeltaFile
+5-7mlir/examples/standalone/test/lit.cfg.py
+4-4mlir/examples/standalone/test/python/smoketest.py
+3-1mlir/test/Examples/standalone/test.wheel.toy
+1-0mlir/test/Examples/standalone/test.toy
+13-124 files

LLVM/project c56b93emlir/cmake/modules AddMLIRPython.cmake

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

LLVM/project 89b5229mlir/lib/Bindings/Python Rewrite.cpp

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

LLVM/project 9f78166mlir/cmake/modules AddMLIRPython.cmake

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

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

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

LLVM/project 2c923a3mlir/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 feb380fmlir/include/mlir/Bindings/Python IRCore.h, mlir/lib/Bindings/Python IRCore.cpp MainModule.cpp

remove registerError
DeltaFile
+0-19mlir/include/mlir/Bindings/Python/IRCore.h
+0-16mlir/lib/Bindings/Python/IRCore.cpp
+14-2mlir/lib/Bindings/Python/MainModule.cpp
+0-1mlir/lib/Bindings/Python/IRAttributes.cpp
+0-1mlir/lib/Bindings/Python/IRTypes.cpp
+0-1mlir/lib/Bindings/Python/Pass.cpp
+14-406 files

LLVM/project 2a96bbfmlir/cmake/modules AddMLIRPython.cmake, mlir/examples/standalone pyproject.toml

globals doesn't work
DeltaFile
+3-16mlir/examples/standalone/test/python/smoketest.py
+12-6mlir/lib/Bindings/Python/Globals.cpp
+12-6mlir/cmake/modules/AddMLIRPython.cmake
+2-5mlir/test/Examples/standalone/test.wheel.toy
+3-0mlir/examples/standalone/pyproject.toml
+0-2mlir/include/mlir/Bindings/Python/Globals.h
+32-356 files

LLVM/project 9cfbc6emlir/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
+1-1mlir/examples/standalone/test/python/smoketest.py
+0-1mlir/python/CMakeLists.txt
+0-1mlir/examples/standalone/python/CMakeLists.txt
+7-34 files

LLVM/project 4ca0ed9mlir/cmake/modules AddMLIRPython.cmake

disable LTO by default
DeltaFile
+8-0mlir/cmake/modules/AddMLIRPython.cmake
+8-01 files

LLVM/project 929f3d8mlir/examples/standalone/include/Standalone-c Dialects.h, mlir/examples/standalone/lib/CAPI Dialects.cpp

add standalone test/use of IRCore
DeltaFile
+25-0mlir/examples/standalone/python/StandaloneExtensionNanobind.cpp
+13-0mlir/examples/standalone/lib/CAPI/Dialects.cpp
+7-0mlir/examples/standalone/include/Standalone-c/Dialects.h
+4-0mlir/examples/standalone/test/python/smoketest.py
+0-1mlir/include/mlir/Bindings/Python/Globals.h
+49-15 files

LLVM/project 1e4743fmlir/cmake/modules AddMLIRPython.cmake

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

LLVM/project 4c3a2f2mlir/cmake/modules AddMLIRPython.cmake

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

LLVM/project 591c8c4mlir/test/python/dialects python_test.py

format
DeltaFile
+24-6mlir/test/python/dialects/python_test.py
+24-61 files

LLVM/project fdfdd84mlir/cmake/modules AddMLIRPython.cmake, mlir/examples/standalone CMakeLists.txt

massage cmake
DeltaFile
+127-31mlir/cmake/modules/AddMLIRPython.cmake
+10-61mlir/python/CMakeLists.txt
+3-0mlir/examples/standalone/CMakeLists.txt
+140-923 files