diff options
author | Eric Kunze <eric.kunze@arm.com> | 2022-02-15 10:00:53 -0800 |
---|---|---|
committer | Eric Kunze <eric.kunze@arm.com> | 2022-02-15 14:41:34 -0800 |
commit | ef2c301b14dad329ab02810b44d2f157dbc4d944 (patch) | |
tree | 2dc9a1689c799cd84975fb8cf3113d7132d22bb5 /include/SerializationPasses.td | |
parent | 6fc182ba9dfce1cc02dbfc5349cc73fcb6abc9ec (diff) | |
download | tosa_mlir_translator-ef2c301b14dad329ab02810b44d2f157dbc4d944.tar.gz |
Align serialize passes with current LLVM
Remove FunctionPass
Simplify getValues code
Change-Id: I054466ccb480148b82d81d900e1e9ffb4560e8af
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Diffstat (limited to 'include/SerializationPasses.td')
-rw-r--r-- | include/SerializationPasses.td | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/SerializationPasses.td b/include/SerializationPasses.td index 6df996e..ec272e4 100644 --- a/include/SerializationPasses.td +++ b/include/SerializationPasses.td @@ -1,7 +1,7 @@ // Copyright (c) 2020-2021, ARM Limited. // -// Licensed under the Apache License, Version 2.0 with LLVM Exceptions -// (the "License"); you may not use this file except in compliance with +// Licensed under the Apache License, Version 2.0 with LLVM Exceptions +// (the "License"); you may not use this file except in compliance with // the License. You may obtain a copy of the License at // // https://llvm.org/LICENSE.txt @@ -19,3 +19,7 @@ def TosaSerializationPass : Pass<"tosa-serialize", "FuncOp"> { let constructor = "createTosaSerializePass()"; } +def TosaSerializationJSONPass : Pass<"tosa-serialize-json", "FuncOp"> { + let summary = "Generate TOSA flatbuffer JSON form"; + let constructor = "createTosaSerializeJSONPass()"; +} |