LLVM/project f7f4335mlir/cmake/modules AddMLIRPython.cmake, mlir/python CMakeLists.txt

address comments
DeltaFile
+14-11mlir/cmake/modules/AddMLIRPython.cmake
+1-1mlir/python/CMakeLists.txt
+15-122 files

LLVM/project 60e5b86llvm/lib/Transforms/Vectorize VPlanUtils.cpp

[VPlan] Support extends and truncs in getSCEVExprForVPValue. (NFCI)

Handle extends and truncates in getSCEVExprForVPValue. This enables
computing SCEVs in more cases in the VPlan-based cost-model, but should
compute the matching costs in all cases.
DeltaFile
+22-0llvm/lib/Transforms/Vectorize/VPlanUtils.cpp
+22-01 files

LLVM/project 2dc0c1cmlir/cmake/modules AddMLIRPython.cmake

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

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

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

LLVM/project 295a01fllvm/include/llvm/Analysis MemoryProfileInfo.h, llvm/lib/Analysis MemoryProfileInfo.cpp

[MemProf] Fix reporting with -memprof-matching-cold-threshold (#173327)

With the -memprof-matching-cold-threshold option, we hint as cold
allocations where the fraction of cold bytes is at least the given
threshold. However, we were incorrectly reporting all of the
allocation's contexts and bytes as hinted cold.

Fix this to report the non-cold contexts as ignored. To do this,
refactor out some existing reporting, and also keep track of the
original allocation type for each context in the Trie along with its
ContextTotalSize information. Most of the changes are the change to this
array's type and name.
DeltaFile
+43-20llvm/lib/Analysis/MemoryProfileInfo.cpp
+17-6llvm/include/llvm/Analysis/MemoryProfileInfo.h
+2-2llvm/test/Transforms/PGOProfile/memprof.ll
+62-283 files

LLVM/project 42ea774llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer crash_exceed_scheduling.ll extract-many-users-buildvector.ll

[SLP]Enable float point math ops as copyables elements.

Patch enables support for float point math operations as base
instructions for copyable elements. It also fixes some scheduling
issues, found during testing

Reviewers: hiraditya, RKSimon

Pull Request: https://github.com/llvm/llvm-project/pull/169857

Recommit after reverts in 9008922707915a6632fb74ed301bce11d8775e2a and
c2441689830fcb2588673dedba98da1219a2fb9e.
c2441689830fcb2588673dedba98da1219a2fb9e was caused by other issues, not
related to this patch directly
DeltaFile
+92-46llvm/test/Transforms/SLPVectorizer/crash_exceed_scheduling.ll
+26-102llvm/test/Transforms/SLPVectorizer/X86/vect_copyable_in_binops.ll
+67-23llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+34-38llvm/test/Transforms/SLPVectorizer/extract-many-users-buildvector.ll
+18-26llvm/test/Transforms/SLPVectorizer/X86/user-with-multi-copyable-ops.ll
+20-20llvm/test/Transforms/SLPVectorizer/insertelement-postpone.ll
+257-25515 files not shown
+351-34421 files

LLVM/project 60189b3lldb/tools/lldb-dap JSONUtils.cpp, lldb/tools/lldb-dap/Handler StackTraceRequestHandler.cpp

[lldb-dap] Migrate stackTrace request to structured types (#173226)

This patch finishes migration to structured types and removes
`LegacyRequestHandler`.
DeltaFile
+126-129lldb/tools/lldb-dap/Handler/StackTraceRequestHandler.cpp
+0-158lldb/tools/lldb-dap/JSONUtils.cpp
+89-0lldb/tools/lldb-dap/Protocol/ProtocolTypes.h
+86-0lldb/unittests/DAP/ProtocolTypesTest.cpp
+68-0lldb/unittests/DAP/ProtocolRequestsTest.cpp
+56-0lldb/tools/lldb-dap/Protocol/ProtocolTypes.cpp
+425-2876 files not shown
+491-35312 files

LLVM/project 571819cllvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/X86 non-schedulable-with-copyable-op.ll non-schedulable-recalculate-deps.ll

[SLP]Recalculate dependencies for all cleared entries

Need to recalculate the dependencies for all cleared items to avoid
a crash, if the entry is used in other vector nodes

Fixes #173469
DeltaFile
+89-0llvm/test/Transforms/SLPVectorizer/X86/non-schedulable-with-copyable-op.ll
+61-0llvm/test/Transforms/SLPVectorizer/X86/non-schedulable-recalculate-deps.ll
+7-7llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+157-73 files

LLVM/project 95eedfemlir/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 b6c1b1dmlir/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 bc44575mlir/lib/Bindings/Python Rewrite.cpp

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

LLVM/project 89bcbbdmlir/cmake/modules AddMLIRPython.cmake

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

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

LLVM/project 661b9e8mlir/cmake/modules AddMLIRPython.cmake, mlir/examples/standalone pyproject.toml

globals doesn't work
DeltaFile
+3-16mlir/examples/standalone/test/python/smoketest.py
+12-6mlir/cmake/modules/AddMLIRPython.cmake
+12-6mlir/lib/Bindings/Python/Globals.cpp
+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 7d6349dmlir/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 fb43434mlir/cmake/modules AddMLIRPython.cmake

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

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

LLVM/project 5e83cafmlir/cmake/modules AddMLIRPython.cmake

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

LLVM/project d744acemlir/cmake/modules AddMLIRPython.cmake

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

LLVM/project b27d9e5mlir/test/python/dialects python_test.py

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

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

LLVM/project 0e350f3mlir/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 81bf65bmlir/test/python/dialects python_test.py, mlir/test/python/lib PythonTestModuleNanobind.cpp

port mlir_attribute_subclass
DeltaFile
+21-13mlir/test/python/lib/PythonTestModuleNanobind.cpp
+3-3mlir/test/python/dialects/python_test.py
+24-162 files

LLVM/project b04263amlir/include/mlir/Bindings/Python Globals.h, mlir/lib/Bindings/Python Globals.cpp

try fix windows badcast
DeltaFile
+9-9mlir/python/CMakeLists.txt
+3-9mlir/test/python/dialects/python_test.py
+1-4mlir/include/mlir/Bindings/Python/Globals.h
+5-0mlir/lib/Bindings/Python/Globals.cpp
+18-224 files

LLVM/project 2ea6d2bmlir/python CMakeLists.txt

[mlir][Python] create MLIRPythonSupport
DeltaFile
+52-13mlir/python/CMakeLists.txt
+52-131 files

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

fix after rebase
DeltaFile
+2-2mlir/include/mlir/Bindings/Python/IRCore.h
+2-2mlir/lib/Bindings/Python/MainModule.cpp
+4-42 files

LLVM/project 162afdemlir/include/mlir/Bindings/Python Globals.h IRCore.h, mlir/lib/Bindings/Python MainModule.cpp IRAttributes.cpp

rebase
DeltaFile
+53-0mlir/lib/Bindings/Python/MainModule.cpp
+0-44mlir/include/mlir/Bindings/Python/Globals.h
+7-7mlir/include/mlir/Bindings/Python/IRCore.h
+4-5mlir/python/CMakeLists.txt
+0-8mlir/lib/Bindings/Python/IRAttributes.cpp
+0-3mlir/lib/Bindings/Python/Globals.cpp
+64-671 files not shown
+65-677 files

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

works
DeltaFile
+2-30mlir/lib/Bindings/Python/MainModule.cpp
+20-11mlir/test/python/lib/PythonTestModuleNanobind.cpp
+19-0mlir/include/mlir/Bindings/Python/IRCore.h
+3-15mlir/lib/Bindings/Python/IRTypes.cpp
+1-13mlir/lib/Bindings/Python/IRAttributes.cpp
+10-2mlir/python/CMakeLists.txt
+55-716 files not shown
+60-8012 files

LLVM/project 243f519mlir/include/mlir/Bindings/Python IRCore.h NanobindUtils.h, mlir/lib/Bindings/Python IRCore.cpp MainModule.cpp

kind of working
DeltaFile
+17-3,300mlir/lib/Bindings/Python/IRCore.cpp
+2,355-0mlir/include/mlir/Bindings/Python/IRCore.h
+2,274-3mlir/lib/Bindings/Python/MainModule.cpp
+0-1,348mlir/lib/Bindings/Python/IRModule.h
+0-436mlir/lib/Bindings/Python/NanobindUtils.h
+436-0mlir/include/mlir/Bindings/Python/NanobindUtils.h
+5,082-5,08715 files not shown
+5,671-5,58321 files

LLVM/project ded3aa1clang/lib/Driver/ToolChains Clang.cpp

Add lightweight documentation in code comments
DeltaFile
+19-3clang/lib/Driver/ToolChains/Clang.cpp
+19-31 files