[RISCV] Add RVVConstraint to SiFive custom matrix multiply instructions. (#124055)
[llvm-project.git] / compiler-rt / lib / orc / tests / unit / executor_symbol_def_test.cpp
blob2f7bae29e3d3ec6df53bacf64998d361f8619469
1 //===-- executor_symbol_def_test.cpp --------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 #include "executor_symbol_def.h"
10 #include "simple_packed_serialization_utils.h"
11 #include "gtest/gtest.h"
13 using namespace orc_rt;
15 TEST(ExecutorSymbolDefTest, Serialization) {
16 blobSerializationRoundTrip<SPSExecutorSymbolDef>(ExecutorSymbolDef{});
17 blobSerializationRoundTrip<SPSExecutorSymbolDef>(
18 ExecutorSymbolDef{ExecutorAddr{0x70}, {JITSymbolFlags::Callable, 9}});