Skip to content

Commit

Permalink
Add ResultTypes tablegen
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses authored Feb 20, 2024
1 parent b0cee97 commit d04f103
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions enzyme/Enzyme/MLIR/Implementations/Common.td
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ class ConstantFP<string val, string dialect_, string op_, string type_=""> : Ope
string type = type_;
}

def ResultTypes : GlobalExpr</*needsprimal*/0, /*needsshadow*/0, "op->getResultTypes()">;

class ArithInst<string m> : Inst<m, "arith">;
class MathInst<string m> : Inst<m, "math">;

Expand Down

0 comments on commit d04f103

Please sign in to comment.