(self)
| 92 | # We need static initializers to run in the CAPI `ExecutionEngine`, so here |
| 93 | # we run a simple JIT compile at global scope. |
| 94 | def initialize(self): |
| 95 | self.context = getMLIRContext() |
| 96 | self.module = Module.parse("llvm.func @none() { llvm.return }", |
| 97 | context=self.context) |
| 98 | ExecutionEngine(self.module) |
| 99 | |
| 100 | |
| 101 | try: |