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
Sean Silva 2020-11-20 15:08:19 -08:00
parent c60d7b4aae
commit 32b2dc6ce7
3 changed files with 3 additions and 4 deletions

@ -1 +1 @@
Subproject commit 369c51a74b5327464e27e0749ca7ac59ac1349ce
Subproject commit 703ef17e7a0a0f51e1d000bb1f71ad437a9933e4

View File

@ -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);
}

View File

@ -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>