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
098943d
Fix unsigned typos (#76670)
Rageking8 Jan 28, 2024
e8b2ab0
[mlir][python] enable memref.subview (#79393)
makslevental Jan 30, 2024
2a89e73
[mlir][sparse] Change LevelType enum to 64 bit (#80501)
yinying-lisa-li Feb 5, 2024
f1b4531
[mlir][sparse] Implement parsing n out of m (#79935)
yinying-lisa-li Feb 8, 2024
b76dfea
[MLIR][Python] Add method for getting the live operation objects (#78…
teqdruid Feb 8, 2024
0a07d1b
[mlir][sparse] Add more tests and verification for n:m (#81186)
yinying-lisa-li Feb 9, 2024
8d05afd
[MLIR][Python] Add missing peel_front argument to LoopPeelOp's extens…
rolfmorel Feb 12, 2024
013d749
[mlir][sparse][pybind][CAPI] remove LevelType enum from CAPI, constru…
PeimingLiu Feb 14, 2024
27d34fe
[MLIR][Python] Added a base class to all builtin floating point types…
superbobry Feb 14, 2024
11f5476
[mlir][python] expose LLVMStructType API (#81672)
ftynse Feb 14, 2024
a247ecb
[mlir][sparse] remove LevelType enum, construct LevelType from LevelF…
PeimingLiu Feb 15, 2024
37a5891
Revert "[mlir][sparse] remove LevelType enum, construct LevelType fro…
joker-eph Feb 15, 2024
fd8bcfe
Reapply "[mlir][sparse] remove LevelType enum, construct LevelType fr…
PeimingLiu Feb 15, 2024
7c0c85b
[mlir] expose transform interpreter to Python (#82365)
ftynse Feb 21, 2024
108c94b
[MLIR][Python] Use ir.Value directly instead of _SubClassValueT (#82341)
superbobry Feb 21, 2024
cd9f03c
[mlir][sparse] Introduce batch level format. (#83082)
PeimingLiu Feb 27, 2024
e0ad519
Split the llvm::ThreadPool into an abstract base class and an impleme…
joker-eph Mar 3, 2024
d058698
[mlir] Apply ClangTidy findings
akuegel Mar 5, 2024
d5efab4
[mlir][py] better support for arith.constant construction (#83259)
ftynse Mar 5, 2024
50db0a2
Rename llvm::ThreadPool -> llvm::DefaultThreadPool (NFC) (#83702)
joker-eph Mar 6, 2024
307c5d8
Revert "[mlir][py] better support for arith.constant construction" (#…
joker-eph Mar 6, 2024
e6d3295
[mlir] Remove noexcept again from move constructors.
akuegel Mar 6, 2024
553d304
Reapply "[mlir][py] better support for arith.constant construction" (…
ftynse Mar 7, 2024
1c98a4b
[MLIR] Add llvm (debug) attributes to CAPI (#83992)
edg-l Mar 7, 2024
a05f4fc
[MLIR][LLVM] Support Recursive DITypes (#80251)
zyx-billy Mar 15, 2024
8e8066c
[MLIR][LLVM] Add extraData field to the DIDerivedType attribute (#85935)
Dinistro Mar 20, 2024
b59b784
[mlir][python] Enable python bindings for Index dialect (#85827)
stevenvar Mar 20, 2024
8607b2e
[mlir] split transform interfaces into a separate library (#85221)
ftynse Mar 20, 2024
ed63cac
[mlir] Remove ``dataclasses`` package from mlir ``requirements.txt`` …
Eclips4 Apr 1, 2024
5a14eaa
[MLIR][LLVM] Add DebugNameTableKind to DICompileUnit (#87974)
zyx-billy Apr 9, 2024
f130ac0
[mlir][python] Add `walk` method to PyOperationBase (#87962)
uenoku Apr 17, 2024
ce0da5b
[mlir] expose transform dialect symbol merge to python (#87690)
ftynse Apr 17, 2024
7dc48be
[mlir][py] Add NVGPU's `TensorMapDescriptorType` in py bindings (#88855)
grypp Apr 17, 2024
3a5eb15
[mlir][python] Fix PyOperationBase::walk not catching exception in py…
tomnatan30 Apr 18, 2024
f8671e8
[mlir][python] add binding to `#gpu.object` (#88992)
makslevental Apr 18, 2024
47e076b
Switch member calls to `isa/dyn_cast/cast/...` to free function calls…
chsigg Apr 19, 2024
7411446
[mlir][python] fix memref._is_constant_int_like (#89447)
makslevental Apr 19, 2024
e11de09
[mlir][python] Fix generation of Python bindings for `async` dialect …
adk9 Apr 21, 2024
f110b48
[mlir][python] extend LLVM bindings (#89797)
makslevental Apr 24, 2024
c777aaa
[mlir][py] fix option passing in transform interpreter (#89922)
ftynse Apr 24, 2024
116b295
[mlir][sparse] Enable explicit and implicit value in sparse encoding …
yinying-lisa-li Apr 24, 2024
7b0ff62
[MLIR][Linalg] More Linalg named ops (#90236)
rengolin Apr 28, 2024
fba13cd
[MLIR][Linalg] Left over Linalg named ops from previous PR (#90405)
rengolin Apr 29, 2024
cb52be5
[mlir][transform] Add support for transform.param pad multiples in `P…
srcarroll May 4, 2024
21c5d48
[MLIR] fix _f64ElementsAttr in ir.py (#91176)
qingyunqu May 6, 2024
3e42dc6
[MLIR] Add IRDL dialect loading to C API (#91852)
Moxinilian May 11, 2024
876a5c5
[NFC] Make NVGPU casing consistent (#91903)
tyb0807 May 13, 2024
c151893
[MLIR][Linalg] Ternary Op & Linalg select (#91461)
kurapov-peter May 14, 2024
69a37c3
[MLIR][LLVM] add dwarfAddressSpace to DIDerivedType (#92043)
willghatch May 16, 2024
06eb9c7
[mlir][python] Add bindings for mlirDenseElementsAttrGet (#91389)
pranavm-nvidia May 22, 2024
daa9bd0
[mlir][py] NFC: remove exception-based isa from linalg module (#92556)
ftynse May 24, 2024
39c161a
[mlir] expose -debug-only equivalent to C and Python (#93175)
ftynse May 24, 2024
5c0e2ad
[mlir] Add missing fields in DICompositeTypeAttr. (#93226)
abidh May 28, 2024
2c1aa7b
[mlir][python] Yield results of `scf.for_` (#93610)
grypp May 29, 2024
c97c37c
[mlir][linalg] Add linalg.conv_2d_ngchw_gfchw_q to named ops (#92136)
zjgarvey May 29, 2024
55ce6ff
[MLIR][Python] add ctype python binding support for bf16 (#92489)
xurui1995 May 30, 2024
5d2cbd5
Revert "[MLIR][Python] add ctype python binding support for bf16" (#9…
joker-eph May 30, 2024
95e6343
[mlir][py] invalidate nested operations when parent is deleted (#93339)
ftynse May 30, 2024
1de87bb
[mlir][python]Python Bindings for select edit operations on Block arg…
sdasgup3 Jun 5, 2024
3829e87
[MLIR] Translate DIStringType. (#94480)
abidh Jun 7, 2024
6a5bfdf
[mlir][python] Fix attribute registration in ir.py (#94615)
eospadov Jun 10, 2024
1566c23
Updated the annotations of Python bindings (#92733)
superbobry Jun 11, 2024
40fcae0
[mlir] Add PDL C & Python usage (#94714)
jpienaar Jun 11, 2024
4eee08c
[MLIR][python] include Rewrite.h (#95226)
makslevental Jun 12, 2024
7d8e8e0
[mlirc] Add missing extern C (#95829)
jpienaar Jun 17, 2024
754de74
[mlir] Expose skipRegions option for Op printing in the C and Python …
jorickert Jun 20, 2024
72ce098
[MLIR] Add continuous tiling to transform dialect (#82792)
muneebkhan85 Jun 21, 2024
4b2d7d2
[mlir][gpu] Add py binding for AsyncTokenType (#96466)
grypp Jun 24, 2024
a2f21fd
Rename f8E4M3 to f8E4M3FN in mlir.extras.types py package (#97102)
apivovarov Jun 29, 2024
4104409
[MLIR][Python] add value attr for PyAffineMapAttribute (#97254)
xurui1995 Jul 1, 2024
8f8c476
mlir/LogicalResult: move into llvm (#97309)
artagnon Jul 2, 2024
33a19d3
[MLIR][Python] fix class name of powf and negf in linalg (#97696)
xurui1995 Jul 5, 2024
4e84104
[mlir][python] auto attribute casting (#97786)
makslevental Jul 5, 2024
78328d8
[mlir][c-api] expose elideLargeResourceString (#98050)
bhansconnect Jul 8, 2024
e61b966
Remove redundant linalg.matmul_signed (#98615)
rengolin Jul 13, 2024
303952a
[MLIR][Linalg] Fix named structured ops yaml file (#98865)
rengolin Jul 15, 2024
fba770a
[mlir] Add RewriterBase to the C API (#98962)
math-fehr Jul 16, 2024
0d485d6
[mlir] Fix build error (NFC)
DamonFool Jul 16, 2024
ae97d32
[mlir][NFC] Add rewrite header to fix standalone header compile (#99370)
rupprecht Jul 17, 2024
38432e5
[MLIR] Add f8E4M3 IEEE 754 type (#97118)
apivovarov Jul 23, 2024
d2d859f
[MLIR][DebugInfo] Enable the use of DILocalVariable DIFlags (#100190)
walter-erquinigo Jul 23, 2024
d7f474b
[mlir] Apply ClangTidy performance finding.
akuegel Jul 30, 2024
f559b24
Reapply "[MLIR][Python] add ctype python binding support for bf16" (#…
xurui1995 Jul 31, 2024
5758a73
[MLIR] Add f8E3M4 IEEE 754 type (#101230)
apivovarov Aug 2, 2024
f4ad9c0
[mlir] [python] Update PyYAML minimum version to 5.4 and limit ml_dty…
nhat-nguyen Aug 7, 2024
8fcaddf
[mlir][linalg] fix linalg.batch_reduce_matmul auto cast (#102585)
zhiczhong Aug 12, 2024
3c1dccb
[MLIR][Python] enhance python api for tensor.empty (#103087)
xurui1995 Aug 19, 2024
857d7bf
[MLIR][Python] remove unused init python file (#104890)
xurui1995 Aug 20, 2024
6cc5350
[mlir] NFC: add missing 'FloatType' to core Python stub file (#105554)
christopherbate Aug 26, 2024
306daa4
[mlir][Python] Make `PyShapedType` public (#106105)
matthias-springer Aug 26, 2024
8071c15
[MLIR][Python] add f8E5M2 and tests for np_to_memref (#106028)
PhrygianGates Aug 27, 2024
403afb7
[mlir][debug] Handle DIImportedEntity. (#103055)
abidh Aug 27, 2024
663d990
[mlir][gpu] Add metadata attributes for storing kernel metadata in GP…
fabianmcg Aug 27, 2024
3897925
[MLIR][LLVM] Make DISubprogramAttr cyclic (#106571)
gysit Aug 31, 2024
371ad45
Revert "[MLIR][LLVM] Make DISubprogramAttr cyclic" (#106827)
gysit Aug 31, 2024
98225dc
[mlir][python] Fix how the mlir variadic Python accessor `_ods_equall…
kasper0406 Aug 31, 2024
f26ada9
Reapply "[MLIR][LLVM] Make DISubprogramAttr cyclic" (#106571) with fi…
gysit Sep 2, 2024
d7b0d72
[MLIR][Python] Fix detached operation coming from `IfOp` constructor …
matth2k Sep 5, 2024
bec4b3a
[MLIR] Add f6E3M2FN type (#105573)
sergey-kozub Sep 10, 2024
5127d61
[MLIR][Python] Python binding support for IntegerSet attribute (#107640)
kaitingwang Sep 11, 2024
5e83638
[mlir] Nits on uses of llvm::raw_string_ostream (NFC)
JOE1994 Sep 16, 2024
43bfc40
Revert "[mlir] Nits on uses of llvm::raw_string_ostream (NFC)"
JOE1994 Sep 16, 2024
f05b24f
[mlir] Reland 5e836381e018bd211d5ceba56b42915ab10794e0 with update (NFC)
JOE1994 Sep 16, 2024
e5597e3
[MLIR] Add f6E2M3FN type (#107999)
sergey-kozub Sep 16, 2024
4acefdd
[MLIR] [Python] align python ir printing with mlir-print-ir-after-all…
xurui1995 Sep 18, 2024
08b8078
[MLIR] Add f4E2M1FN type (#108877)
sergey-kozub Sep 24, 2024
dc2ef3f
[mlir] Improvements to the 'quant' dialect (#100667)
rafaelubalmw Sep 26, 2024
8947b70
A few tweaks to the MLIR .pyi files (#110488)
superbobry Oct 1, 2024
37a5fdb
[MLIR][Python] Add `encoding` argument to `tensor.empty` Python funct…
mtsokol Oct 1, 2024
40dfa79
[MLIR][sparse] Add `soa` property to `sparse_tensor` Python bindings …
mtsokol Oct 2, 2024
9444571
[MLIR] Add f8E8M0FNU type (#111028)
sergey-kozub Oct 4, 2024
941d779
[mlir][debuginfo] Add support for subprogram annotations (#110946)
walter-erquinigo Oct 7, 2024
7f4712d
[mlir][linalg] Introduce transpose semantic to 'linalg.matmul' ops. (…
shahidact Oct 10, 2024
3935cd9
Revert "[mlir][linalg] Introduce transpose semantic to 'linalg.matmul…
cota Oct 11, 2024
4bc3cd8
[mlir][td] Rename pack_paddings in structured.pad (#111036)
banach-space Oct 15, 2024
017ceb2
eliminating g++ warnings (#105520)
fschlimb Oct 18, 2024
dd7c7f3
[mlir][linalg] Add quantized conv2d operator with FCHW,NCHW order (#1…
ubfx Oct 19, 2024
bd565ed
[mlir][python] Raise maximum allowed version (#114050)
marbre Oct 31, 2024
9db1b78
[MLIR,Python] Support converting boolean numpy arrays to and from mli…
kasper0406 Nov 2, 2024
44db3dd
[mlir:python] Change PyOperation::create to actually return a PyOpera…
hawkinsp Nov 5, 2024
dae317c
Revert "[MLIR,Python] Support converting boolean numpy arrays to and …
gribozavr Nov 5, 2024
d8f8d99
[MLIR][Linalg] Re-land linalg.matmul move to ODS. + Remove/update fai…
shahidact Nov 7, 2024
7dd461a
[mlir][linalg] Add Grouped Convolution Ops: conv_2d_nhwgc_gfhwc and c…
stefankoncarevic Nov 8, 2024
9f5cb2a
[mlir][python] Make types in register_(dialect|operation) more narrow…
ingomueller-net Nov 11, 2024
cf24b88
[MLIR,Python] Support converting boolean numpy arrays to and from mli…
kasper0406 Nov 13, 2024
bf8dadc
[MLIR][Python] Python binding support for AffineIfOp (#108323)
kaitingwang Nov 13, 2024
456c26f
[MLIR][Transform] Consolidate result of structured.split into one lis…
joeyye-work Nov 15, 2024
4fd069c
[mlir][python] Add `T.tf32` and missing tests for `tf32` (#116725)
matthias-springer Nov 19, 2024
58c4284
[mlir][Bindings] Fix missing return value of functions and incorrect …
annuasd Nov 19, 2024
3c5f4ca
[mlir,python] Expose replaceAllUsesExcept to Python bindings (#115850)
Wheest Nov 20, 2024
1df490e
[mlir][python] Update minimal version of pybind11 to 2.10. (#117314)
ingomueller-net Nov 23, 2024
b0abb05
[MLIR][Python] Add the `--mlir-print-ir-tree-dir` to the C and Python…
joker-eph Nov 23, 2024
d18af4f
[mlir] Adjust code flagged by ClangTidyPerformance (NFC).
akuegel Nov 25, 2024
9591f12
[mlir][py] Enable disabling loading all registered (#117643)
jpienaar Nov 25, 2024
49e93cb
[mlir,python] Fix case when `FuncOp.arg_attrs` is not set (#117188)
Wheest Dec 2, 2024
22b5045
[mlir][llvm] Align linkage enum order with LLVM (NFC) (#118484)
xlauko Dec 3, 2024
fdf9d22
[mlir python] Add nanobind support for standalone dialects. (#117922)
hawkinsp Dec 3, 2024
5f5b11f
Revert "[mlir python] Add nanobind support for standalone dialects." …
makslevental Dec 3, 2024
d557b31
[MLIR][Python] enhance python ir printing with pringing flags (#117836)
qingyunqu Dec 5, 2024
9ee3f7d
Revert "Revert "[mlir python] Add nanobind support (#119232)
makslevental Dec 9, 2024
7e217ce
[mlir][emitc] Add support for C-API/python binding to EmitC dialect (…
TGMM Dec 11, 2024
b59ef1b
MLIR-C: Add accessor for LLVM array type (#119998)
wsmoses Dec 15, 2024
4c9b06a
[mlir python] Port Python core code to nanobind. (#118583)
hawkinsp Dec 18, 2024
6849bb0
Revert "[mlir python] Port Python core code to nanobind. (#118583)"
jpienaar Dec 18, 2024
4bcfad0
[mlir python] Port Python core code to nanobind. (#120473)
hawkinsp Dec 19, 2024
6ec3477
[mlir] Enable decoupling two kinds of greedy behavior. (#104649)
jpienaar Dec 20, 2024
9909fb2
[mlir python] Port in-tree dialects to nanobind. (#119924)
hawkinsp Dec 21, 2024
e1c5e22
[mlir][python] disable nanobind leak warnings (#121099)
makslevental Dec 29, 2024
c5e431b
[mlir][py] Enable loading only specified dialects during creation. (#…
jpienaar Jan 2, 2025
f0c6850
[MLIR][Python] Add structured.fuseop to python interpreter (#120601)
nujaa Jan 3, 2025
3f59753
[MLIR][CAPI] export LLVMFunctionType param getter and setters (#121888)
wsmoses Jan 7, 2025
d4c5ae7
Fixed typo in dunder get/set methods in PyAttrBuilderMap (#121794)
vfdev-5 Jan 7, 2025
d4841a3
Added free-threading CPython mode support in MLIR Python bindings (#1…
vfdev-5 Jan 12, 2025
7e25a9a
Revert "Added free-threading CPython mode support in MLIR Python bind…
jpienaar Jan 12, 2025
45f5291
Enabled freethreading support in MLIR python bindings (#122684)
vfdev-5 Jan 13, 2025
0698da6
[mlir python] Add locking around PyMlirContext::liveOperations. (#122…
hawkinsp Jan 13, 2025
e2a0414
[mlir][emitc] Expose emitc dialect types (#119645)
TGMM Jan 14, 2025
a3068ff
[mlir][IR] Remove factory methods from `FloatType` (#123026)
matthias-springer Jan 16, 2025
3f52ebc
[mlir][IR] Remove `isF...()` type API for low-precision FP types (#12…
matthias-springer Jan 20, 2025
c76d297
[mlir][IR][NFC] Move free-standing functions to `MemRefType` (#123465)
matthias-springer Jan 21, 2025
c945a18
[mlir][NFC] Avoid using braced initializer lists to call a constructo…
hanhanW Jan 22, 2025
9150732
[mlir] Link libraries that aren't included in libMLIR to libMLIR (#12…
mgorny Jan 22, 2025
a46de9d
Revert "[mlir] Link libraries that aren't included in libMLIR to libM…
mgorny Jan 22, 2025
1860fe8
Reapply "[mlir] Link libraries that aren't included in libMLIR to lib…
mgorny Jan 22, 2025
dd78f4e
[mlir:python] Small optimization to get_op_result_or_results. (#123866)
hawkinsp Jan 22, 2025
3a284d4
[mlir python] Change PyOpView constructor to construct operations. (#…
hawkinsp Jan 22, 2025
28fe787
[mlir:python] Construct PyOperation objects in-place on the Python he…
hawkinsp Jan 22, 2025
cef6bf6
[mlir] Add C and Python interface for file range (#123276)
jpienaar Jan 22, 2025
2c01b1a
[mlir:python] Compute get_op_result_or_value in PyOpView's constructo…
hawkinsp Jan 24, 2025
e9e8aa2
[mlir][python] implement GenericOp bindings (#124496)
makslevental Jan 28, 2025
9656734
[mlir][python] allow DenseIntElementsAttr for index type (#118947)
mgehre-amd Jan 28, 2025
092254a
Revert "[mlir][python] allow DenseIntElementsAttr for index type (#11…
mgehre-amd Jan 28, 2025
0fb48b4
[MLIR] Fix thread safety of the deleter in PyDenseResourceElementsAtt…
Jan 28, 2025
bba6858
Reapply "[mlir][python] allow DenseIntElementsAttr for index type (#1…
mgehre-amd Jan 29, 2025
bc89d63
[mlir][llvmir] expose Type(To/From)LLVMIRTranslator C API (#124864)
makslevental Jan 30, 2025
24cf42c
[mlir] Fix warnings
kazutakahirata Jan 30, 2025
7cbf770
Revert "[mlir][llvmir] expose Type(To/From)LLVMIRTranslator C API (#…
makslevental Jan 30, 2025
570d15f
[mlir][llvmir][reland] expose Type(To/From)LLVMIRTranslator C API (#1…
makslevental Jan 31, 2025
6ffd509
[mlir] Python: Extend print large elements limit to resources (#125738)
nikalra Feb 5, 2025
89d3da8
[mlir] Python: Parse ModuleOp from file path (#125736)
nikalra Feb 5, 2025
0825443
[MLIR][Linalg] Introduce broadcast/transpose semantic to batch_matmul…
shahidact Feb 6, 2025
716d836
[mlir] feat: add `mlirFuncSetResultAttr` (#125972)
avik-pal Feb 6, 2025
06ef50a
Revert "[mlir] Python: Parse ModuleOp from file path" (#126482)
joker-eph Feb 10, 2025
1a51cc2
[MLIR][Linalg] Expose linalg.matmul and linalg.contract via Python AP…
Feb 10, 2025
4ae0d0b
[mlir] Python: Parse ModuleOp from file path (#126572)
nikalra Feb 12, 2025
c32c13f
[mlir][index] Add CAPI (#127039)
maerhart Feb 13, 2025
c304a40
[MLIR] Fix mlirExecutionEngineLookup throwing assert on lookup fail (…
edg-l Feb 15, 2025
bed39aa
[mlir:python] Improve `mlir_(attribute|type|value)_subclass` for `nan…
ingomueller-net Feb 19, 2025
c2dc4f5
[MLIR][Linalg] Introduce Python API for linalg.batch_matmul Ops. (#12…
shahidact Feb 19, 2025
1a42b4f
[mlir][python] fix linalg.pack/unpack (#127729)
makslevental Feb 20, 2025
755b96e
[mlir] Python: write bytecode to a file path (#127118)
nikalra Feb 25, 2025
5157bd0
[mlir][py] Plumb OpPrintingFlags::printNameLocAsPrefix() through the …
jpienaar Mar 4, 2025
fdf6e4f
[mlir][nvgpu] separate ops, types, attribute definitions in NVGPU dia…
linuxlonelyeagle Mar 7, 2025
131aa87
[mlir][CAPI][python] bind CallSiteLoc, FileLineColRange, FusedLoc, Na…
makslevental Mar 10, 2025
2835826
[MLIR][py] Add PyThreadPool as wrapper around MlirLlvmThreadPool in M…
vfdev-5 Mar 10, 2025
2b13af7
[mlir] Better Python diagnostics (#128581)
nikalra Mar 10, 2025
0845726
[mlir][python] Small optimization to mlirApiObjectToCapsule. (#131160)
hawkinsp Mar 14, 2025
febaf3d
[mlir] Expose `AffineExpr.shift_dims/shift_symbols` through C and Pyt…
Hardcode84 Mar 16, 2025
45539c6
[MLIR] [python] A few improvements to the Python bindings (#131686)
superbobry Mar 21, 2025
8cc42ae
Sub-channel quantized type implementation (#120172)
sdasgup3 Mar 23, 2025
55a74ab
[MLIR][NFC] Fix incomplete boundary comments. (#133516)
hanhanW Mar 31, 2025
c2a640c
[mlir] Expose `simplifyAffineExpr` through python api (#133926)
Hardcode84 Apr 1, 2025
68c7d91
[NFC][mlir] Update generate script for conv_3d_ncdhw_fcdhw (#133927)
nirvedhmeshram Apr 1, 2025
05f5e65
[mlir][python] add use_name_loc_as_prefix to value.get_name() (#135052)
makslevental Apr 9, 2025
fffbadf
[mlir][CAPI][python] expose the python bindings for linalg::isaContra…
bangtianliu Apr 10, 2025
67f08cb
[mlir][CAPI][python] expose the python bindings for linalg::isaConvol…
bangtianliu Apr 11, 2025
1ba23ff
[MLIR][CAPI] add C API typedef to fix downstream C API usage (#135380)
bangtianliu Apr 11, 2025
87410a6
[mlir][SMT] C APIs (#135501)
makslevental Apr 14, 2025
5145927
[mlir][SMT] add python bindings (#135674)
makslevental Apr 16, 2025
85caa7f
[mlir][python][smt] fix DialectSMT (include NanobindUtils.h)
makslevental Apr 17, 2025
476cf1c
[MLIR][CAPI][python] expose the python binding for linalgOp.getIndexi…
bangtianliu Apr 17, 2025
911ecc1
[MLIR] [python] Fixed the signature of `_OperationBase.get_asm` (#136…
superbobry Apr 23, 2025
4d03104
[MLIR][Linalg][Python] Improve bindings for linalg.elementwise (#139462)
rolfmorel May 12, 2025
83a627f
[MLIR][Linalg] Introduce transpose/broadcast semantic to linalg.batch…
shahidact May 12, 2025
4e7684c
assert with more information to help debug (#132194)
fengxie May 29, 2025
0d04f1c
[MLIR][Transform] apply_registered_pass op's options as a dict (#143159)
rolfmorel Jun 11, 2025
a4b5c5a
[MLIR][Transform] apply_registered_op fixes: arg order & python optio…
Jun 11, 2025
52f38aa
[MLIR][Transform] apply_registered_pass: support ListOptions (#144026)
Jun 16, 2025
927533e
[mlir] [python] Fixed the return type of `MemRefType.get_strides_and_…
superbobry Jun 18, 2025
aa81ade
[mlir][python] expose operation.block (#145088)
makslevental Jun 20, 2025
6f9060d
[mlir] Migrate away from ArrayRef(std::nullopt) (NFC) (#145140)
kazutakahirata Jun 21, 2025
72f0eb5
[mlir][python] add `MLIR_BINDINGS_PYTHON_INSTALL_PREFIX` to make bind…
makslevental Jun 23, 2025
78fbf0c
[mlir][python] bind block predecessors and successors (#145116)
makslevental Jun 23, 2025
7442670
[MLIR][Transform] expose transform.debug extension in Python (#145550)
Jun 25, 2025
2fe1658
[MLIR][Linalg] Harden parsing Linalg named ops (#145337)
joker-eph Jun 25, 2025
eb15f0d
[mlir] Use `llvm::fill` instead of `std::fill`(NFC) (#146889)
CoTinker Jul 7, 2025
bdbf563
[DenseMap] Do not align pointer sentinel values (NFC) (#146595)
nikic Jul 7, 2025
02063ef
[MLIR][Linalg] Remove elemwise_unary and elemwise_binary (#147082)
rengolin Jul 7, 2025
9b02b80
Revert "[DenseMap] Do not align pointer sentinel values (NFC) (#146595)"
nikic Jul 7, 2025
556b741
[mlir] Add `isStatic`* size check for `ShapedType`s. NFCI. (#147085)
kuhar Jul 7, 2025
ea7589d
[MLIR][Transform] Introduce `transform.tune.knob` op (#146732)
Jul 8, 2025
c532a58
[mlir] Fix TransformTuneExtensionOps.td include guards
chsigg Jul 11, 2025
43ddebc
[mlir][py] Mark all type caster `from_{cpp,python}` methods as noexce…
nicholasjng Jul 15, 2025
c8c967b
[mlir][py] Fix nanobind uninitialized values (#148944)
rupprecht Jul 15, 2025
452099b
[mlir] Add Python bindings to enable default passmanager timing (#149…
maerhart Jul 16, 2025
f178c8c
[MLIR][Python] Support eliding large resource strings in PassManager …
akshaykhadse Jul 17, 2025
3447fdc
[MLIR][SCF] Add dedicated Python bindings for ForallOp (#149416)
Cubevoid Jul 18, 2025
36b655f
[mlir][python,CAPI] expose Op::isBeforeInBlock (#150271)
makslevental Jul 23, 2025
39e7ca5
[mlir][python] fix PyDenseResourceElementsAttribute finalizer (#150561)
makslevental Jul 25, 2025
b67670c
[mlir][core] Move `InitAll***` implementation into static library. (#…
Hardcode84 Jul 29, 2025
272a21e
Revert "[mlir][core] Move `InitAll***` implementation into static lib…
joker-eph Jul 29, 2025
04f9312
[mlir] Reland `Move InitAll*** implementation into static library` (#…
Hardcode84 Jul 29, 2025
1c23921
[MLIR][Linalg] Remove matmul_transpose variants (#147961)
rengolin Aug 8, 2025
d1f22c8
[mlir][python] expose isAttached (#153045)
makslevental Aug 11, 2025
5e8bc18
[mlir][python] automatic location inference (#151246)
makslevental Aug 12, 2025
088b3db
[mlir][python] fix PyThreadState_GetFrame (#153325)
makslevental Aug 13, 2025
4ab3e12
[mlir][python] fix PyThreadState_GetFrame again (#153333)
makslevental Aug 13, 2025
cd36d1e
[MLIR] Split ExecutionEngine Initialization out of ctor into an expli…
jackalcooper Aug 13, 2025
7b0f329
Revert "[MLIR] Split ExecutionEngine Initialization out of ctor into …
joker-eph Aug 13, 2025
22c3668
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.
44 changes: 44 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# TL;DR:

In this repo:

```
$ git clone git@github.com:llvm/llvm-project.git
$ cd 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

$ 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")
23 changes: 23 additions & 0 deletions filter-llvm.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/usr/bin/env bash

#rm -rf .git
#rm -rf mlir
#git init
#git checkout -b main
#git remote add -f origin /tmp/llvm-project
#git pull origin main

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

Loading