Skip to content

Commit

Permalink
Update InstructionDerivatives.td
Browse files Browse the repository at this point in the history
Adding the functions expm1f and expm1l to the instruction table gen so they are supported.
  • Loading branch information
jlk9 authored Sep 18, 2023
1 parent 86fc287 commit 9b2f7c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enzyme/Enzyme/InstructionDerivatives.td
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ def : CallPattern<(Op $x),
[ReadNone, NoUnwind]
>;
def : CallPattern<(Op $x),
["expm1"],
["expm1", "expm1f", "expm1l"],
[(FMul (Intrinsic<"exp"> $x), (DiffeRet))],
(ForwardFromSummedReverse),
[ReadNone, NoUnwind]
Expand Down

0 comments on commit 9b2f7c2

Please sign in to comment.