Skip to content

Commit

Permalink
Remove out of date comment in docstring (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
willtebbutt authored Mar 26, 2024
1 parent b284f6a commit b243aa0
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/interpreter/ir_normalisation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
Apply a sequence of standardising transformations to `ir` which leaves its semantics
unchanged, but makes AD more straightforward. In particular, replace
1. `:invoke` `Expr`s with `:call`s,
2. `:foreigncall` `Expr`s with `:call`s to `Phi._foreigncall_`,
3. `:new` `Expr`s with `:call`s to `Phi._new_`,
4. `Core.IntrinsicFunction`s with counterparts from `Phi.IntrinsicWrappers`,
5. `getfield(x, 1)` with `lgetfield(x, Val(1))`, and related transformations.
1. `:foreigncall` `Expr`s with `:call`s to `Phi._foreigncall_`,
2. `:new` `Expr`s with `:call`s to `Phi._new_`,
3. `Core.IntrinsicFunction`s with counterparts from `Phi.IntrinsicWrappers`,
4. `getfield(x, 1)` with `lgetfield(x, Val(1))`, and related transformations.
`spnames` are the names associated to the static parameters of `ir`. These are needed when
handling `:foreigncall` expressions, in which it is not necessarily the case that all
Expand Down

0 comments on commit b243aa0

Please sign in to comment.