LLVM/project a428025mlir/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 a7ab82cmlir/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 b6965b6mlir/include/mlir/Bindings/Python IRCore.h NanobindUtils.h, mlir/lib/Bindings/Python IRCore.cpp IRModule.h

fix after rebase

[mlir][Python] create MLIRPythonSupport
DeltaFile
+957-1,109mlir/lib/Bindings/Python/IRCore.cpp
+1,830-0mlir/include/mlir/Bindings/Python/IRCore.h
+0-1,348mlir/lib/Bindings/Python/IRModule.h
+0-436mlir/lib/Bindings/Python/NanobindUtils.h
+436-0mlir/include/mlir/Bindings/Python/NanobindUtils.h
+279-0mlir/lib/Bindings/Python/Globals.cpp
+3,502-2,89326 files not shown
+4,244-3,69632 files

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

fix after rebase
DeltaFile
+35-11mlir/lib/Bindings/Python/Rewrite.cpp
+18-19mlir/lib/Bindings/Python/IRCore.cpp
+7-7mlir/include/mlir/Bindings/Python/IRCore.h
+60-373 files

LLVM/project 81adfecclang/lib/Analysis UnsafeBufferUsage.cpp, clang/test/SemaCXX warn-unsafe-buffer-usage-libc-functions.cpp

Merge branch 'main' into users/evelez7/clang-doc-nested-records
DeltaFile
+347-0llvm/test/CodeGen/X86/vector-smin-range.ll
+328-0llvm/test/CodeGen/X86/vector-smax-range.ll
+292-0llvm/test/CodeGen/X86/vector-umax-range.ll
+292-0llvm/test/CodeGen/X86/vector-umin-range.ll
+112-23clang/lib/Analysis/UnsafeBufferUsage.cpp
+35-4clang/test/SemaCXX/warn-unsafe-buffer-usage-libc-functions.cpp
+1,406-2723 files not shown
+1,509-6929 files

LLVM/project 829091amlir/include/mlir/Bindings/Python IRCore.h, mlir/lib/Bindings/Python Rewrite.cpp IRCore.cpp

fix after rebase
DeltaFile
+35-11mlir/lib/Bindings/Python/Rewrite.cpp
+18-19mlir/lib/Bindings/Python/IRCore.cpp
+7-7mlir/include/mlir/Bindings/Python/IRCore.h
+2-2mlir/test/CAPI/rewrite.c
+62-394 files

LLVM/project 16d6eccllvm/utils/gn/secondary/clang-tools-extra/clang-tidy/google BUILD.gn, llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/misc BUILD.gn

[gn build] Port 92f16356340d
DeltaFile
+0-1llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/google/BUILD.gn
+1-0llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/misc/BUILD.gn
+1-12 files

LLVM/project 5f0ec87llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/readability BUILD.gn

[gn build] Port 7c0420dc8484
DeltaFile
+1-0llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/readability/BUILD.gn
+1-01 files

LLVM/project 81b4664clang/include/clang/Analysis/Analyses UnsafeBufferUsageGadgets.def, clang/lib/Analysis UnsafeBufferUsage.cpp

[-Wunsafe-buffer-usage] Add check for custom printf/scanf functions (#173096)

This commit adds support for functions annotated with
`__attribute__((__format__(__printf__, ...)))` (or `__scanf__`). These
functions will be treated the same way as printf/scanf functions in the
standard C library by `-Wunsafe-buffer-usage`

rdar://143233737
DeltaFile
+112-23clang/lib/Analysis/UnsafeBufferUsage.cpp
+35-4clang/test/SemaCXX/warn-unsafe-buffer-usage-libc-functions.cpp
+1-0clang/include/clang/Analysis/Analyses/UnsafeBufferUsageGadgets.def
+148-273 files

LLVM/project 4534edbllvm/lib/CodeGen/SelectionDAG SelectionDAGBuilder.cpp

[SelectionDAG] Fix operand of BRCOND in visitSPDescriptorParent (#174230)

The first operand should be a chain, but `GuardVal.getOperand(0)` isn't
always a chain (i.e. if `TLI.emitStackGuardXorFP()` is called). Use
`getControlRoot()` instead like in other places when creating terminator
nodes.

Extracted from #168421.
DeltaFile
+1-2llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+1-21 files

LLVM/project 7eed4d2llvm/utils/TableGen GlobalISelEmitter.cpp FastISelEmitter.cpp, llvm/utils/TableGen/Common CodeGenDAGPatterns.h

[TableGen] Use TreePatternNode::getSimpleType instead of getType. NFC (#174231)

These were the only uses of getType. Both of these calls are after
HwMode has been expanded so we can use getSimpleType like other code.

Remove getType since it is now unused.

While there, simplify the hasBFloatType to use getScalarType for the
scalar and vector case.
DeltaFile
+3-5llvm/utils/TableGen/GlobalISelEmitter.cpp
+2-4llvm/utils/TableGen/FastISelEmitter.cpp
+0-3llvm/utils/TableGen/Common/CodeGenDAGPatterns.h
+5-123 files

LLVM/project bcc3c72mlir/test/Examples/standalone test.wheel.toy

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

LLVM/project 3b81ed5mlir/examples/standalone/test/python smoketest.py

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

LLVM/project e329192mlir/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 a363212mlir/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 9def49autils/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 bc3e9d0mlir/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 e409c78mlir/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 095c4a8utils/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 f08c628mlir/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 4c5d8c5mlir/lib/Bindings/Python IRCore.cpp MainModule.cpp

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

LLVM/project d1579d4mlir/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 f02372amlir/cmake/modules AddMLIRPython.cmake

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

LLVM/project 511038emlir/cmake/modules AddMLIRPython.cmake

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

LLVM/project 81d8824mlir/lib/Bindings/Python Rewrite.cpp

address comments
DeltaFile
+0-32mlir/lib/Bindings/Python/Rewrite.cpp
+0-321 files

LLVM/project 0ad08fbmlir/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/python/CMakeLists.txt
+0-1mlir/examples/standalone/python/CMakeLists.txt
+6-23 files

LLVM/project a2e8afbmlir/cmake/modules AddMLIRPython.cmake

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

LLVM/project 17301f8mlir/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/IRTypes.cpp
+0-1mlir/lib/Bindings/Python/Pass.cpp
+0-1mlir/lib/Bindings/Python/IRAttributes.cpp
+14-406 files

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

works
DeltaFile
+71-62mlir/lib/Bindings/Python/MainModule.cpp
+24-20mlir/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-12712 files not shown
+275-17218 files

LLVM/project 7efba23mlir/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