Skip to content
This repository was archived by the owner on Oct 11, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
915 commits
Select commit Hold shift + click to select a range
8d64519
Fix unsigned typos (#76670)
Rageking8 Jan 28, 2024
257c619
[mlir][python] enable memref.subview (#79393)
makslevental Jan 30, 2024
195a7bb
[mlir][sparse] Change LevelType enum to 64 bit (#80501)
yinying-lisa-li Feb 5, 2024
32b656d
[mlir][sparse] Implement parsing n out of m (#79935)
yinying-lisa-li Feb 8, 2024
c0be4b3
[MLIR][Python] Add method for getting the live operation objects (#78…
teqdruid Feb 8, 2024
9562c6b
[mlir][sparse] Add more tests and verification for n:m (#81186)
yinying-lisa-li Feb 9, 2024
3cd8c5b
[MLIR][Python] Add missing peel_front argument to LoopPeelOp's extens…
rolfmorel Feb 12, 2024
f3a640d
[mlir][sparse][pybind][CAPI] remove LevelType enum from CAPI, constru…
PeimingLiu Feb 14, 2024
4dc418f
[MLIR][Python] Added a base class to all builtin floating point types…
superbobry Feb 14, 2024
193e7f8
[mlir][python] expose LLVMStructType API (#81672)
ftynse Feb 14, 2024
d1fbd42
[mlir][sparse] remove LevelType enum, construct LevelType from LevelF…
PeimingLiu Feb 15, 2024
8d5fa67
Revert "[mlir][sparse] remove LevelType enum, construct LevelType fro…
joker-eph Feb 15, 2024
86432af
Reapply "[mlir][sparse] remove LevelType enum, construct LevelType fr…
PeimingLiu Feb 15, 2024
8b95792
[mlir] expose transform interpreter to Python (#82365)
ftynse Feb 21, 2024
05c6859
[MLIR][Python] Use ir.Value directly instead of _SubClassValueT (#82341)
superbobry Feb 21, 2024
755c393
[mlir][sparse] Introduce batch level format. (#83082)
PeimingLiu Feb 27, 2024
8c8f636
Split the llvm::ThreadPool into an abstract base class and an impleme…
joker-eph Mar 3, 2024
1033e7d
[mlir] Apply ClangTidy findings
akuegel Mar 5, 2024
41d8111
[mlir][py] better support for arith.constant construction (#83259)
ftynse Mar 5, 2024
82f27bd
Rename llvm::ThreadPool -> llvm::DefaultThreadPool (NFC) (#83702)
joker-eph Mar 6, 2024
436a435
Revert "[mlir][py] better support for arith.constant construction" (#…
joker-eph Mar 6, 2024
886e1c2
[mlir] Remove noexcept again from move constructors.
akuegel Mar 6, 2024
c3538b2
Reapply "[mlir][py] better support for arith.constant construction" (…
ftynse Mar 7, 2024
86c5203
[MLIR] Add llvm (debug) attributes to CAPI (#83992)
edg-l Mar 7, 2024
2dcd96b
[MLIR][LLVM] Support Recursive DITypes (#80251)
zyx-billy Mar 15, 2024
894561c
[MLIR][LLVM] Add extraData field to the DIDerivedType attribute (#85935)
Dinistro Mar 20, 2024
f708df2
[mlir][python] Enable python bindings for Index dialect (#85827)
stevenvar Mar 20, 2024
466fdb8
[mlir] split transform interfaces into a separate library (#85221)
ftynse Mar 20, 2024
0e9d0c0
[mlir] Remove ``dataclasses`` package from mlir ``requirements.txt`` …
Eclips4 Apr 1, 2024
2fbef1d
[MLIR][LLVM] Add DebugNameTableKind to DICompileUnit (#87974)
zyx-billy Apr 9, 2024
91eb0f2
[mlir][python] Add `walk` method to PyOperationBase (#87962)
uenoku Apr 17, 2024
57ba0e7
[mlir] expose transform dialect symbol merge to python (#87690)
ftynse Apr 17, 2024
8fc6423
[mlir][py] Add NVGPU's `TensorMapDescriptorType` in py bindings (#88855)
grypp Apr 17, 2024
2c8e25c
[mlir][python] Fix PyOperationBase::walk not catching exception in py…
tomnatan30 Apr 18, 2024
4bb9f2c
[mlir][python] add binding to `#gpu.object` (#88992)
makslevental Apr 18, 2024
a1a4c4d
Switch member calls to `isa/dyn_cast/cast/...` to free function calls…
chsigg Apr 19, 2024
1d41f12
[mlir][python] fix memref._is_constant_int_like (#89447)
makslevental Apr 19, 2024
383acc7
[mlir][python] Fix generation of Python bindings for `async` dialect …
adk9 Apr 21, 2024
230e0db
[mlir][python] extend LLVM bindings (#89797)
makslevental Apr 24, 2024
492a41d
[mlir][py] fix option passing in transform interpreter (#89922)
ftynse Apr 24, 2024
2de33f0
[mlir][sparse] Enable explicit and implicit value in sparse encoding …
yinying-lisa-li Apr 24, 2024
b9de550
[MLIR][Linalg] More Linalg named ops (#90236)
rengolin Apr 28, 2024
0a40b2f
[MLIR][Linalg] Left over Linalg named ops from previous PR (#90405)
rengolin Apr 29, 2024
4779007
[mlir][transform] Add support for transform.param pad multiples in `P…
srcarroll May 4, 2024
b0769b4
[MLIR] fix _f64ElementsAttr in ir.py (#91176)
qingyunqu May 6, 2024
7937b81
[MLIR] Add IRDL dialect loading to C API (#91852)
Moxinilian May 11, 2024
07c147c
[NFC] Make NVGPU casing consistent (#91903)
tyb0807 May 13, 2024
c596722
[MLIR][Linalg] Ternary Op & Linalg select (#91461)
kurapov-peter May 14, 2024
3339ed5
[MLIR][LLVM] add dwarfAddressSpace to DIDerivedType (#92043)
willghatch May 16, 2024
90390da
[mlir][python] Add bindings for mlirDenseElementsAttrGet (#91389)
pranavm-nvidia May 22, 2024
ca6b15e
[mlir][py] NFC: remove exception-based isa from linalg module (#92556)
ftynse May 24, 2024
0529eb1
[mlir] expose -debug-only equivalent to C and Python (#93175)
ftynse May 24, 2024
e82244e
[mlir] Add missing fields in DICompositeTypeAttr. (#93226)
abidh May 28, 2024
acbb63b
[mlir][python] Yield results of `scf.for_` (#93610)
grypp May 29, 2024
2b5d451
[mlir][linalg] Add linalg.conv_2d_ngchw_gfchw_q to named ops (#92136)
zjgarvey May 29, 2024
6d09202
[MLIR][Python] add ctype python binding support for bf16 (#92489)
xurui1995 May 30, 2024
f5dbc0e
Revert "[MLIR][Python] add ctype python binding support for bf16" (#9…
joker-eph May 30, 2024
d09a30c
[mlir][py] invalidate nested operations when parent is deleted (#93339)
ftynse May 30, 2024
915a8c8
[mlir][python]Python Bindings for select edit operations on Block arg…
sdasgup3 Jun 5, 2024
c787880
[MLIR] Translate DIStringType. (#94480)
abidh Jun 7, 2024
0fb1171
[mlir][python] Fix attribute registration in ir.py (#94615)
eospadov Jun 10, 2024
e1e8538
Updated the annotations of Python bindings (#92733)
superbobry Jun 11, 2024
0bd8d67
[mlir] Add PDL C & Python usage (#94714)
jpienaar Jun 11, 2024
ce6bb00
[MLIR][python] include Rewrite.h (#95226)
makslevental Jun 12, 2024
9d22292
[mlirc] Add missing extern C (#95829)
jpienaar Jun 17, 2024
d3087b9
[mlir] Expose skipRegions option for Op printing in the C and Python …
jorickert Jun 20, 2024
82a1228
[MLIR] Add continuous tiling to transform dialect (#82792)
muneebkhan85 Jun 21, 2024
52d1748
[mlir][gpu] Add py binding for AsyncTokenType (#96466)
grypp Jun 24, 2024
4275370
Rename f8E4M3 to f8E4M3FN in mlir.extras.types py package (#97102)
apivovarov Jun 29, 2024
47b58af
[MLIR][Python] add value attr for PyAffineMapAttribute (#97254)
xurui1995 Jul 1, 2024
a679d97
mlir/LogicalResult: move into llvm (#97309)
artagnon Jul 2, 2024
bca3887
[MLIR][Python] fix class name of powf and negf in linalg (#97696)
xurui1995 Jul 5, 2024
33ef18b
[mlir][python] auto attribute casting (#97786)
makslevental Jul 5, 2024
d059b4c
[mlir][c-api] expose elideLargeResourceString (#98050)
bhansconnect Jul 8, 2024
25d5ee9
Remove redundant linalg.matmul_signed (#98615)
rengolin Jul 13, 2024
e65bedb
[MLIR][Linalg] Fix named structured ops yaml file (#98865)
rengolin Jul 15, 2024
0fc91c2
[mlir] Add RewriterBase to the C API (#98962)
math-fehr Jul 16, 2024
7c7b074
[mlir] Fix build error (NFC)
DamonFool Jul 16, 2024
76c0f95
[mlir][NFC] Add rewrite header to fix standalone header compile (#99370)
rupprecht Jul 17, 2024
a5bf997
[MLIR] Add f8E4M3 IEEE 754 type (#97118)
apivovarov Jul 23, 2024
055c251
[MLIR][DebugInfo] Enable the use of DILocalVariable DIFlags (#100190)
walter-erquinigo Jul 23, 2024
e2109d1
[mlir] Apply ClangTidy performance finding.
akuegel Jul 30, 2024
d689440
Reapply "[MLIR][Python] add ctype python binding support for bf16" (#…
xurui1995 Jul 31, 2024
006ec16
[MLIR] Add f8E3M4 IEEE 754 type (#101230)
apivovarov Aug 2, 2024
e709365
[mlir] [python] Update PyYAML minimum version to 5.4 and limit ml_dty…
nhat-nguyen Aug 7, 2024
378b6d8
[mlir][linalg] fix linalg.batch_reduce_matmul auto cast (#102585)
zhiczhong Aug 12, 2024
bb2384a
[MLIR][Python] enhance python api for tensor.empty (#103087)
xurui1995 Aug 19, 2024
c72d81c
[MLIR][Python] remove unused init python file (#104890)
xurui1995 Aug 20, 2024
5cd435e
[mlir] NFC: add missing 'FloatType' to core Python stub file (#105554)
christopherbate Aug 26, 2024
ca7a10e
[mlir][Python] Make `PyShapedType` public (#106105)
matthias-springer Aug 26, 2024
14caf7e
[MLIR][Python] add f8E5M2 and tests for np_to_memref (#106028)
PhrygianGates Aug 27, 2024
51f0473
[mlir][debug] Handle DIImportedEntity. (#103055)
abidh Aug 27, 2024
213fe31
[mlir][gpu] Add metadata attributes for storing kernel metadata in GP…
fabianmcg Aug 27, 2024
d71675f
[MLIR][LLVM] Make DISubprogramAttr cyclic (#106571)
gysit Aug 31, 2024
47b9274
Revert "[MLIR][LLVM] Make DISubprogramAttr cyclic" (#106827)
gysit Aug 31, 2024
5504b74
[mlir][python] Fix how the mlir variadic Python accessor `_ods_equall…
kasper0406 Aug 31, 2024
d246b65
Reapply "[MLIR][LLVM] Make DISubprogramAttr cyclic" (#106571) with fi…
gysit Sep 2, 2024
ed16081
[MLIR][Python] Fix detached operation coming from `IfOp` constructor …
matth2k Sep 5, 2024
acbf347
[MLIR] Add f6E3M2FN type (#105573)
sergey-kozub Sep 10, 2024
f32d094
[MLIR][Python] Python binding support for IntegerSet attribute (#107640)
kaitingwang Sep 11, 2024
9e85682
[mlir] Nits on uses of llvm::raw_string_ostream (NFC)
JOE1994 Sep 16, 2024
c773f6c
Revert "[mlir] Nits on uses of llvm::raw_string_ostream (NFC)"
JOE1994 Sep 16, 2024
85e42e8
[mlir] Reland 9e856821d4048c7629bd3abdac5a385814c31d57 with update (NFC)
JOE1994 Sep 16, 2024
cb1e094
[MLIR] Add f6E2M3FN type (#107999)
sergey-kozub Sep 16, 2024
a4cc048
[MLIR] [Python] align python ir printing with mlir-print-ir-after-all…
xurui1995 Sep 18, 2024
72403f4
[MLIR] Add f4E2M1FN type (#108877)
sergey-kozub Sep 24, 2024
003dc56
[mlir] Improvements to the 'quant' dialect (#100667)
rafaelubalmw Sep 26, 2024
5479a99
A few tweaks to the MLIR .pyi files (#110488)
superbobry Oct 1, 2024
f610395
[MLIR][Python] Add `encoding` argument to `tensor.empty` Python funct…
mtsokol Oct 1, 2024
fb78d9d
[MLIR][sparse] Add `soa` property to `sparse_tensor` Python bindings …
mtsokol Oct 2, 2024
c3cbcb6
[MLIR] Add f8E8M0FNU type (#111028)
sergey-kozub Oct 4, 2024
b546011
[mlir][debuginfo] Add support for subprogram annotations (#110946)
walter-erquinigo Oct 7, 2024
09cd5d1
[mlir][linalg] Introduce transpose semantic to 'linalg.matmul' ops. (…
shahidact Oct 10, 2024
39f7f00
Revert "[mlir][linalg] Introduce transpose semantic to 'linalg.matmul…
cota Oct 11, 2024
58e5db3
[mlir][td] Rename pack_paddings in structured.pad (#111036)
banach-space Oct 15, 2024
7c84c86
eliminating g++ warnings (#105520)
fschlimb Oct 18, 2024
4554045
[mlir][linalg] Add quantized conv2d operator with FCHW,NCHW order (#1…
ubfx Oct 19, 2024
8b96e7e
[mlir][python] Raise maximum allowed version (#114050)
marbre Oct 31, 2024
c48f962
[MLIR,Python] Support converting boolean numpy arrays to and from mli…
kasper0406 Nov 2, 2024
485fbbb
[mlir:python] Change PyOperation::create to actually return a PyOpera…
hawkinsp Nov 5, 2024
595233f
Revert "[MLIR,Python] Support converting boolean numpy arrays to and …
gribozavr Nov 5, 2024
84eaa01
[MLIR][Linalg] Re-land linalg.matmul move to ODS. + Remove/update fai…
shahidact Nov 7, 2024
74a880e
[mlir][linalg] Add Grouped Convolution Ops: conv_2d_nhwgc_gfhwc and c…
stefankoncarevic Nov 8, 2024
b1da7a5
[mlir][python] Make types in register_(dialect|operation) more narrow…
ingomueller-net Nov 11, 2024
44f2ed7
[MLIR,Python] Support converting boolean numpy arrays to and from mli…
kasper0406 Nov 13, 2024
373f4ed
[MLIR][Python] Python binding support for AffineIfOp (#108323)
kaitingwang Nov 13, 2024
8e26cc8
[MLIR][Transform] Consolidate result of structured.split into one lis…
joeyye-work Nov 15, 2024
7c44357
[mlir][python] Add `T.tf32` and missing tests for `tf32` (#116725)
matthias-springer Nov 19, 2024
228c8d6
[mlir][Bindings] Fix missing return value of functions and incorrect …
annuasd Nov 19, 2024
32e7a14
[mlir,python] Expose replaceAllUsesExcept to Python bindings (#115850)
Wheest Nov 20, 2024
9e319e9
[mlir][python] Update minimal version of pybind11 to 2.10. (#117314)
ingomueller-net Nov 23, 2024
a42eaf8
[MLIR][Python] Add the `--mlir-print-ir-tree-dir` to the C and Python…
joker-eph Nov 23, 2024
e0b25a5
[mlir] Adjust code flagged by ClangTidyPerformance (NFC).
akuegel Nov 25, 2024
c33df21
[mlir][py] Enable disabling loading all registered (#117643)
jpienaar Nov 25, 2024
b027d9f
[mlir,python] Fix case when `FuncOp.arg_attrs` is not set (#117188)
Wheest Dec 2, 2024
26536e4
[mlir][llvm] Align linkage enum order with LLVM (NFC) (#118484)
xlauko Dec 3, 2024
b394e53
[mlir python] Add nanobind support for standalone dialects. (#117922)
hawkinsp Dec 3, 2024
49ee357
Revert "[mlir python] Add nanobind support for standalone dialects." …
makslevental Dec 3, 2024
673da88
[MLIR][Python] enhance python ir printing with pringing flags (#117836)
qingyunqu Dec 5, 2024
5ed11b3
Revert "Revert "[mlir python] Add nanobind support (#119232)
makslevental Dec 9, 2024
ac24486
[mlir][emitc] Add support for C-API/python binding to EmitC dialect (…
TGMM Dec 11, 2024
d5aa5d4
MLIR-C: Add accessor for LLVM array type (#119998)
wsmoses Dec 15, 2024
02cd82f
[mlir python] Port Python core code to nanobind. (#118583)
hawkinsp Dec 18, 2024
4e60bfc
Revert "[mlir python] Port Python core code to nanobind. (#118583)"
jpienaar Dec 18, 2024
3ed485c
[mlir python] Port Python core code to nanobind. (#120473)
hawkinsp Dec 19, 2024
f098157
[mlir] Enable decoupling two kinds of greedy behavior. (#104649)
jpienaar Dec 20, 2024
f3f81bd
[mlir python] Port in-tree dialects to nanobind. (#119924)
hawkinsp Dec 21, 2024
cf4f475
[mlir][python] disable nanobind leak warnings (#121099)
makslevental Dec 29, 2024
e61f4c0
[mlir][py] Enable loading only specified dialects during creation. (#…
jpienaar Jan 2, 2025
5d8bccf
[MLIR][Python] Add structured.fuseop to python interpreter (#120601)
nujaa Jan 3, 2025
490653b
[MLIR][CAPI] export LLVMFunctionType param getter and setters (#121888)
wsmoses Jan 7, 2025
759bbdf
Fixed typo in dunder get/set methods in PyAttrBuilderMap (#121794)
vfdev-5 Jan 7, 2025
d4ad59d
Added free-threading CPython mode support in MLIR Python bindings (#1…
vfdev-5 Jan 12, 2025
bfc67b9
Revert "Added free-threading CPython mode support in MLIR Python bind…
jpienaar Jan 12, 2025
7483359
Enabled freethreading support in MLIR python bindings (#122684)
vfdev-5 Jan 13, 2025
32435ea
[mlir python] Add locking around PyMlirContext::liveOperations. (#122…
hawkinsp Jan 13, 2025
078babc
[mlir][emitc] Expose emitc dialect types (#119645)
TGMM Jan 14, 2025
9d4bfcd
[mlir][IR] Remove factory methods from `FloatType` (#123026)
matthias-springer Jan 16, 2025
0627455
[mlir][IR] Remove `isF...()` type API for low-precision FP types (#12…
matthias-springer Jan 20, 2025
d320c89
[mlir][IR][NFC] Move free-standing functions to `MemRefType` (#123465)
matthias-springer Jan 21, 2025
08be7cd
[mlir][NFC] Avoid using braced initializer lists to call a constructo…
hanhanW Jan 22, 2025
8e0579d
[mlir] Link libraries that aren't included in libMLIR to libMLIR (#12…
mgorny Jan 22, 2025
268884b
Revert "[mlir] Link libraries that aren't included in libMLIR to libM…
mgorny Jan 22, 2025
5b16fab
Reapply "[mlir] Link libraries that aren't included in libMLIR to lib…
mgorny Jan 22, 2025
5752292
[mlir:python] Small optimization to get_op_result_or_results. (#123866)
hawkinsp Jan 22, 2025
174dcb8
[mlir python] Change PyOpView constructor to construct operations. (#…
hawkinsp Jan 22, 2025
2aea242
[mlir:python] Construct PyOperation objects in-place on the Python he…
hawkinsp Jan 22, 2025
294a0dd
[mlir] Add C and Python interface for file range (#123276)
jpienaar Jan 22, 2025
6f65459
[mlir:python] Compute get_op_result_or_value in PyOpView's constructo…
hawkinsp Jan 24, 2025
ad0f517
[mlir][python] implement GenericOp bindings (#124496)
makslevental Jan 28, 2025
7f16c09
[mlir][python] allow DenseIntElementsAttr for index type (#118947)
mgehre-amd Jan 28, 2025
1181239
Revert "[mlir][python] allow DenseIntElementsAttr for index type (#11…
mgehre-amd Jan 28, 2025
bff36d2
[MLIR] Fix thread safety of the deleter in PyDenseResourceElementsAtt…
Jan 28, 2025
a36e09f
Reapply "[mlir][python] allow DenseIntElementsAttr for index type (#1…
mgehre-amd Jan 29, 2025
7e92e44
[mlir][llvmir] expose Type(To/From)LLVMIRTranslator C API (#124864)
makslevental Jan 30, 2025
c2f9b0e
[mlir] Fix warnings
kazutakahirata Jan 30, 2025
361d86f
Revert "[mlir][llvmir] expose Type(To/From)LLVMIRTranslator C API (#…
makslevental Jan 30, 2025
569b6cd
[mlir][llvmir][reland] expose Type(To/From)LLVMIRTranslator C API (#1…
makslevental Jan 31, 2025
bd9f009
[mlir] Python: Extend print large elements limit to resources (#125738)
nikalra Feb 5, 2025
67b6d46
[mlir] Python: Parse ModuleOp from file path (#125736)
nikalra Feb 5, 2025
6f44960
[MLIR][Linalg] Introduce broadcast/transpose semantic to batch_matmul…
shahidact Feb 6, 2025
084112a
[mlir] feat: add `mlirFuncSetResultAttr` (#125972)
avik-pal Feb 6, 2025
42ae901
Revert "[mlir] Python: Parse ModuleOp from file path" (#126482)
joker-eph Feb 10, 2025
c70b8c2
[MLIR][Linalg] Expose linalg.matmul and linalg.contract via Python AP…
Feb 10, 2025
bfe3bcb
[mlir] Python: Parse ModuleOp from file path (#126572)
nikalra Feb 12, 2025
deee501
[mlir][index] Add CAPI (#127039)
maerhart Feb 13, 2025
81e365b
[MLIR] Fix mlirExecutionEngineLookup throwing assert on lookup fail (…
edg-l Feb 15, 2025
138531c
[mlir:python] Improve `mlir_(attribute|type|value)_subclass` for `nan…
ingomueller-net Feb 19, 2025
0860a4f
[MLIR][Linalg] Introduce Python API for linalg.batch_matmul Ops. (#12…
shahidact Feb 19, 2025
ad08bee
[mlir][python] fix linalg.pack/unpack (#127729)
makslevental Feb 20, 2025
d91fea5
[mlir] Python: write bytecode to a file path (#127118)
nikalra Feb 25, 2025
a496dd8
[mlir][py] Plumb OpPrintingFlags::printNameLocAsPrefix() through the …
jpienaar Mar 4, 2025
d638820
[mlir][nvgpu] separate ops, types, attribute definitions in NVGPU dia…
linuxlonelyeagle Mar 7, 2025
141598e
[mlir][CAPI][python] bind CallSiteLoc, FileLineColRange, FusedLoc, Na…
makslevental Mar 10, 2025
b7d0dec
[MLIR][py] Add PyThreadPool as wrapper around MlirLlvmThreadPool in M…
vfdev-5 Mar 10, 2025
da6e5ab
[mlir] Better Python diagnostics (#128581)
nikalra Mar 10, 2025
252db4e
[mlir][python] Small optimization to mlirApiObjectToCapsule. (#131160)
hawkinsp Mar 14, 2025
0cb62a4
[mlir] Expose `AffineExpr.shift_dims/shift_symbols` through C and Pyt…
Hardcode84 Mar 16, 2025
230d510
[MLIR] [python] A few improvements to the Python bindings (#131686)
superbobry Mar 21, 2025
9692fc6
Sub-channel quantized type implementation (#120172)
sdasgup3 Mar 23, 2025
19221e2
[MLIR][NFC] Fix incomplete boundary comments. (#133516)
hanhanW Mar 31, 2025
bcd42df
[mlir] Expose `simplifyAffineExpr` through python api (#133926)
Hardcode84 Apr 1, 2025
3a6d836
[NFC][mlir] Update generate script for conv_3d_ncdhw_fcdhw (#133927)
nirvedhmeshram Apr 1, 2025
5aae3ae
[mlir][python] add use_name_loc_as_prefix to value.get_name() (#135052)
makslevental Apr 9, 2025
0365c42
[mlir][CAPI][python] expose the python bindings for linalg::isaContra…
bangtianliu Apr 10, 2025
b79bd9c
[mlir][CAPI][python] expose the python bindings for linalg::isaConvol…
bangtianliu Apr 11, 2025
772146a
[MLIR][CAPI] add C API typedef to fix downstream C API usage (#135380)
bangtianliu Apr 11, 2025
b0c0e9f
[mlir][SMT] C APIs (#135501)
makslevental Apr 14, 2025
cf365f6
[mlir][SMT] add python bindings (#135674)
makslevental Apr 16, 2025
41629ae
[mlir][python][smt] fix DialectSMT (include NanobindUtils.h)
makslevental Apr 17, 2025
b87f9c0
[MLIR][CAPI][python] expose the python binding for linalgOp.getIndexi…
bangtianliu Apr 17, 2025
182642d
[MLIR] [python] Fixed the signature of `_OperationBase.get_asm` (#136…
superbobry Apr 23, 2025
4b2e993
[MLIR][Linalg][Python] Improve bindings for linalg.elementwise (#139462)
rolfmorel May 12, 2025
cf80d7e
[MLIR][Linalg] Introduce transpose/broadcast semantic to linalg.batch…
shahidact May 12, 2025
3423590
assert with more information to help debug (#132194)
fengxie May 29, 2025
3602b81
[MLIR][Transform] apply_registered_pass op's options as a dict (#143159)
rolfmorel Jun 11, 2025
f3899a2
[MLIR][Transform] apply_registered_op fixes: arg order & python optio…
Jun 11, 2025
ac008bd
[MLIR][Transform] apply_registered_pass: support ListOptions (#144026)
Jun 16, 2025
e8a438c
[mlir] [python] Fixed the return type of `MemRefType.get_strides_and_…
superbobry Jun 18, 2025
96a2aae
[mlir][python] expose operation.block (#145088)
makslevental Jun 20, 2025
2505ba8
[mlir] Migrate away from ArrayRef(std::nullopt) (NFC) (#145140)
kazutakahirata Jun 21, 2025
586f122
[mlir][python] add `MLIR_BINDINGS_PYTHON_INSTALL_PREFIX` to make bind…
makslevental Jun 23, 2025
1190dab
[mlir][python] bind block predecessors and successors (#145116)
makslevental Jun 23, 2025
b4ae57e
[MLIR][Transform] expose transform.debug extension in Python (#145550)
Jun 25, 2025
916fe0a
[MLIR][Linalg] Harden parsing Linalg named ops (#145337)
joker-eph Jun 25, 2025
b49fe94
[mlir] Use `llvm::fill` instead of `std::fill`(NFC) (#146889)
CoTinker Jul 7, 2025
cd6ccbb
[DenseMap] Do not align pointer sentinel values (NFC) (#146595)
nikic Jul 7, 2025
b4d3909
[MLIR][Linalg] Remove elemwise_unary and elemwise_binary (#147082)
rengolin Jul 7, 2025
73a03bb
Revert "[DenseMap] Do not align pointer sentinel values (NFC) (#146595)"
nikic Jul 7, 2025
7ad1d13
[mlir] Add `isStatic`* size check for `ShapedType`s. NFCI. (#147085)
kuhar Jul 7, 2025
7b37e94
[MLIR][Transform] Introduce `transform.tune.knob` op (#146732)
Jul 8, 2025
a8a64be
[mlir] Fix TransformTuneExtensionOps.td include guards
chsigg Jul 11, 2025
56623ac
[mlir][py] Mark all type caster `from_{cpp,python}` methods as noexce…
nicholasjng Jul 15, 2025
efcbb05
[mlir][py] Fix nanobind uninitialized values (#148944)
rupprecht Jul 15, 2025
9c82a55
[mlir] Add Python bindings to enable default passmanager timing (#149…
maerhart Jul 16, 2025
dae36bb
[MLIR][Python] Support eliding large resource strings in PassManager …
akshaykhadse Jul 17, 2025
096389c
[MLIR][SCF] Add dedicated Python bindings for ForallOp (#149416)
Cubevoid Jul 18, 2025
504ca74
[mlir][python,CAPI] expose Op::isBeforeInBlock (#150271)
makslevental Jul 23, 2025
ff7ff55
[mlir][python] fix PyDenseResourceElementsAttribute finalizer (#150561)
makslevental Jul 25, 2025
cb2462e
[mlir][core] Move `InitAll***` implementation into static library. (#…
Hardcode84 Jul 29, 2025
557ca7e
Revert "[mlir][core] Move `InitAll***` implementation into static lib…
joker-eph Jul 29, 2025
d573f9a
[mlir] Reland `Move InitAll*** implementation into static library` (#…
Hardcode84 Jul 29, 2025
2b63cbe
[MLIR][Linalg] Remove matmul_transpose variants (#147961)
rengolin Aug 8, 2025
af293e9
[mlir][python] expose isAttached (#153045)
makslevental Aug 11, 2025
adab639
[mlir][python] automatic location inference (#151246)
makslevental Aug 12, 2025
79762c8
[mlir][python] fix PyThreadState_GetFrame (#153325)
makslevental Aug 13, 2025
6187c24
[mlir][python] fix PyThreadState_GetFrame again (#153333)
makslevental Aug 13, 2025
dc11bb1
[MLIR] Split ExecutionEngine Initialization out of ctor into an expli…
jackalcooper Aug 13, 2025
4acd6b7
Revert "[MLIR] Split ExecutionEngine Initialization out of ctor into …
joker-eph Aug 13, 2025
38d0f8b
create fork
makslevental Aug 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
112 changes: 112 additions & 0 deletions .github/workflows/integrate_llvm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
# Copyright (c) 2024.

name: Auto Integrate LLVM
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
schedule:
# At minute 0 past hour 1. (see https://crontab.guru)
- cron: '00 01 * * *'

concurrency:
# A PR number if a pull request and otherwise the commit hash. This cancels
# queued and in-progress runs for the same PR (presubmit) or commit
# (postsubmit). The workflow name is prepended to avoid conflicts between
# different workflows.
group: ${{ github.workflow }}-${{ github.event.number || github.sha }}
cancel-in-progress: true

jobs:
update-dep:

name: "Integrate LLVM and send PR"

runs-on: ubuntu-latest

permissions:
contents: write
pull-requests: write

steps:
- name: "Check out repository"
uses: actions/checkout@v4.2.2

- name: Cache LLVM clone
id: cache-llvm
uses: actions/cache@v4
with:
path: /tmp/llvm-project
key: cache-llvm-project

- name: "Get filtered llvm-project"
shell: bash
id: get-llvm-project
run: |

sudo apt install git-filter-repo

HERE=$(pwd)

pushd /tmp
echo "cache-hit ${{ steps.cache-llvm.outputs.cache-hit }}"
# https://github.com/actions/cache/issues/1566
if [ "${{ steps.cache-llvm.outputs.cache-hit }}" == "" ]; then
git clone https://github.com/llvm/llvm-project.git -v
fi

pushd llvm-project

git pull origin main
echo "LLVM_SHA_SHORT=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
bash $HERE/filter-llvm.sh

popd
popd

- name: "Rebase on top of llvm-project"
shell: bash
id: rebase-llvm-project
run: |

git config user.email "github-actions[bot]@users.noreply.github.com"
git config user.name "github-actions[bot]"
git pull /tmp/llvm-project main --rebase

- name: Generate token
uses: actions/create-github-app-token@v1
id: generate-token
with:
app-id: ${{ secrets.BUMP_LLVM_CREATE_PR_APP_ID }}
private-key: ${{ secrets.BUMP_LLVM_CREATE_PR_APP_PRIVATE_KEY }}

- name: "Create Pull Request"
id: cpr
uses: peter-evans/create-pull-request@v7
with:
token: ${{ steps.generate-token.outputs.token }}
commit-message: "[LLVM] Integrate to ${{ steps.get-llvm-project.outputs.LLVM_SHA_SHORT }}"
title: "[LLVM] Integrate to ${{ steps.get-llvm-project.outputs.LLVM_SHA_SHORT }}"
body: "Integrate LLVM to https://github.com/llvm/llvm-project/commit/${{ steps.get-llvm-project.outputs.LLVM_SHA_SHORT }}"
author: 'github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>'
base: main
branch: update-llvm
delete-branch: true

- name: Enable auto-merge
if: steps.cpr.outputs.pull-request-operation == 'created'
uses: peter-evans/enable-pull-request-automerge@v3
with:
token: ${{ steps.generate-token.outputs.token }}
pull-request-number: ${{ steps.cpr.outputs.pull-request-number }}

- name: Auto approve
if: steps.cpr.outputs.pull-request-operation == 'created'
run: gh pr review --approve "${{ steps.cpr.outputs.pull-request-number }}"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.idea
llvm-project
201 changes: 201 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,201 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

1. Definitions.

"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.

"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.

"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.

"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.

"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.

"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.

"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).

"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.

"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."

"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.

2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.

3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.

4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:

(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and

(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and

(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and

(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.

You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.

5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.

6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.

7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.

8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.

9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS

APPENDIX: How to apply the Apache License to your work.

To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
45 changes: 45 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# TL;DR:

In this repo:

```
$ git clone git@github.com:llvm/llvm-project.git /tmp/llvm-project
$ pushd llvm-project
$ IFS= read -r -d '' x <emreg.py
$ git filter-repo \
--path mlir/include/mlir/Bindings/Python \
--path mlir/include/mlir/CAPI \
--path mlir/include/mlir-c \
--path mlir/lib/Bindings/Python \
--path mlir/lib/CAPI \
--path mlir/lib/Bindings/Python \
--path mlir/python \
--path tools/mlir-tblgen \
--message-callback "$x" \
--force

$ popd
$ git remote add upstream /tmp/llvm-project
$ git pull upstream main
$ git remote add origin https://github.com/makslevental/python_bindings_fork
$ git push -u origin main -f
```

In the other repo:

```
$ git remote add upstream git@github.com:makslevental/python_bindings_fork.git
$ git subtree add -P $WHEREVER_YOU_WANT upstream main
```

Note, you will have to have at least one commit for this to work in the "other repo"; do `git commit --allow-empty -m 'Initial commit'` if not.

Then to pull changes from "this" repo:

```
$ git subtree pull -P $WHEREVER_YOU_WANT upstream main
```

# Requires

https://github.com/newren/git-filter-repo
11 changes: 11 additions & 0 deletions emreg.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import re;

r = re.compile(r"(?P<name>[-!#-'*+/-9=?A-Z^-~]+(\.[-!#-'*+/-9=?A-Z^-~]+)*|\"([]!#-[^-~ \t]|(\\[\t -~]))+\")@(?P<domain>[-!#-'*+/-9=?A-Z^-~]+(\.[-!#-'*+/-9=?A-Z^-~]+)*|\[[\t -Z^-~]*])");
rr = re.compile(r"@(?P<name>[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38})(?=\b)");

message = message.decode("utf-8");
message = r.sub(r"\g<name>$$$\g<domain>", message);
message = rr.sub(r"\g<name>", message);
message = message.replace("$$$", "@");

return message.encode("utf-8")
Loading
Loading