forked from M-Labs/artiq
Commit missing parts of 6f5332f8
.
This commit is contained in:
parent
6f5332f892
commit
f31249ad1c
|
@ -0,0 +1,18 @@
|
|||
# RUN: env ARTIQ_DUMP_LLVM=%t %python -m artiq.compiler.testbench.embedding +compile %s
|
||||
# RUN: OutputCheck %s --file-to-check=%t.ll
|
||||
|
||||
from artiq.language.core import *
|
||||
from artiq.language.types import *
|
||||
|
||||
# CHECK: call void @foo\(\), !dbg !\d+, !tbaa !\d+
|
||||
|
||||
# CHECK-L: ; Function Attrs: nounwind
|
||||
# CHECK-NEXT-L: declare void @foo()
|
||||
|
||||
@syscall("foo", flags={"nounwind", "nowrite"})
|
||||
def foo() -> TNone:
|
||||
pass
|
||||
|
||||
@kernel
|
||||
def entrypoint():
|
||||
foo()
|
Loading…
Reference in New Issue