Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions tests/aot/args_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,22 @@ def compute(a, b):
module_str,
)

@unittest.expectedFailure
def testProcToJitScalarArgs(self):
"""Expected to fail, missing jittable support for IrValueScalar."""

class BasicModule(CompiledModule):
def foobar(self, a=AbstractI32, b=AbstractI32):
return self.compute(a, b)

@jittable
def compute(a, b):
return a + b

inst = BasicModule(context=Context())
module_str = str(CompiledModule.get_mlir_module(inst))
print(module_str)


if __name__ == "__main__":
logging.basicConfig(level=logging.DEBUG)
Expand Down