mirror of https://github.com/m-labs/artiq.git
compiler: Annotate math functions nounwind/nowrite
This commit is contained in:
parent
cc00ae9580
commit
df8f1c5c5a
|
@ -34,6 +34,8 @@ def unary_fp_type(name):
|
|||
return types.TExternalFunction(OrderedDict([("arg", builtins.TFloat())]),
|
||||
builtins.TFloat(),
|
||||
name,
|
||||
# errno isn't observable from ARTIQ Python.
|
||||
flags={"nounwind", "nowrite"},
|
||||
broadcast_across_arrays=True)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue