Skip to content

Commit 10a643c

Browse files
committed
refactor: sort unaryOpKind and binaryOpKind alphabetically
1 parent 8b0def7 commit 10a643c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mlir/include/mlir/Dialect/PDL/IR/Builtins.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,16 @@ void registerBuiltins(PDLPatternModule &pdlPattern);
2828
namespace builtin {
2929
enum class BinaryOpKind {
3030
add,
31-
sub,
32-
mul,
3331
div,
3432
mod,
33+
mul,
34+
sub,
3535
};
3636

3737
enum class UnaryOpKind {
38-
log2,
39-
exp2,
4038
abs,
39+
exp2,
40+
log2,
4141
};
4242

4343
LogicalResult createDictionaryAttr(PatternRewriter &rewriter,

0 commit comments

Comments
 (0)