mirror of https://github.com/llvm/torch-mlir
Revert "Bump llvm-project to 369c51a74b5327464e27e0749ca7ac59ac1349ce"
This reverts commit c60d7b4aae
.
It seems to have tickled some sort of pybind version issue:
https://github.com/llvm/mlir-npcomp/runs/1433414550?check_suite_focus=true
pull/123/head
parent
c60d7b4aae
commit
32b2dc6ce7
|
@ -1 +1 @@
|
|||
Subproject commit 369c51a74b5327464e27e0749ca7ac59ac1349ce
|
||||
Subproject commit 703ef17e7a0a0f51e1d000bb1f71ad437a9933e4
|
|
@ -200,7 +200,6 @@ static FuncOp getATenFn(ModuleOp module, std::string mangledFunctionName,
|
|||
|
||||
if (!fn) {
|
||||
fn = FuncOp::create(builder.getUnknownLoc(), mangledFunctionName, fnTy);
|
||||
fn.setVisibility(SymbolTable::Visibility::Private);
|
||||
module.push_back(fn);
|
||||
}
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ class DialectHelper(_BaseDialectHelper):
|
|||
>>> h.builder.insert_block_start(m.first_block)
|
||||
>>> _ = h.basicpy_singleton_op(h.basicpy_NoneType)
|
||||
>>> m.to_asm().strip()
|
||||
'module {\n %0 = basicpy.singleton : !basicpy.NoneType\n}'
|
||||
'module {\n %0 = basicpy.singleton : !basicpy.NoneType\n}'
|
||||
|
||||
slot_object ops:
|
||||
>>> m = c.new_module()
|
||||
|
@ -39,7 +39,7 @@ class DialectHelper(_BaseDialectHelper):
|
|||
>>> slot_object = h.basicpy_slot_object_make_op("foobar", v0, v0).result
|
||||
>>> _ = h.basicpy_slot_object_get_op(slot_object, 0)
|
||||
>>> print(m.to_asm().strip())
|
||||
module {
|
||||
module {
|
||||
%0 = basicpy.singleton : !basicpy.NoneType
|
||||
%1 = basicpy.slot_object_make(%0, %0) -> !basicpy.SlotObject<foobar, !basicpy.NoneType, !basicpy.NoneType>
|
||||
%2 = basicpy.slot_object_get %1[0] : !basicpy.SlotObject<foobar, !basicpy.NoneType, !basicpy.NoneType>
|
||||
|
|
Loading…
Reference in New Issue