From ef2c301b14dad329ab02810b44d2f157dbc4d944 Mon Sep 17 00:00:00 2001 From: Eric Kunze Date: Tue, 15 Feb 2022 10:00:53 -0800 Subject: Align serialize passes with current LLVM Remove FunctionPass Simplify getValues code Change-Id: I054466ccb480148b82d81d900e1e9ffb4560e8af Signed-off-by: Eric Kunze --- include/SerializationPasses.td | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'include/SerializationPasses.td') 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()"; +} -- cgit v1.2.1