17TEST(ArgumentTests, ArgumentNodeMismatch)
22 auto valueType = TestType::createValueType();
25 auto &
import = jlm::rvsdg::GraphImport::Create(graph, valueType, "import");
27 auto structuralNode1 = TestStructuralNode::create(&graph.
GetRootRegion(), 1);
28 auto structuralNode2 = TestStructuralNode::create(&graph.
GetRootRegion(), 2);
30 auto & structuralInput = structuralNode1->addInputOnly(
import);
34 RegionArgument::Create(*structuralNode2->subregion(0), &structuralInput, valueType),
38TEST(ArgumentTests, ArgumentInputTypeMismatch)
44 auto valueType = TestType::createValueType();
45 auto stateType = TestType::createStateType();
50 auto structuralNode = TestStructuralNode::create(&rvsdg.
GetRootRegion(), 1);
51 auto & structuralInput = structuralNode->addInputOnly(x);
55 RegionArgument::Create(*structuralNode->subregion(0), &structuralInput, stateType),