llvm/llvm/unittests/CodeGen/GlobalISel/LegalizerInfoTest.cpp

//===- llvm/unittest/CodeGen/GlobalISel/LegalizerInfoTest.cpp -------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "llvm/CodeGen/GlobalISel/LegalizerInfo.h"
#include "llvm/CodeGen/TargetOpcodes.h"
#include "GISelMITest.h"
#include "gtest/gtest.h"

usingnamespacellvm;
usingnamespaceLegalizeActions;
usingnamespaceLegalityPredicates;
usingnamespaceLegalizeMutations;

// Define a couple of pretty printers to help debugging when things go wrong.
namespace llvm {
std::ostream &
operator<<(std::ostream &OS, const LegalizeAction Act) {}

std::ostream &operator<<(std::ostream &OS, const llvm::LegalizeActionStep Ty) {}
}

namespace {


TEST(LegalizerInfoTest, ScalarRISC) {}

TEST(LegalizerInfoTest, VectorRISC) {}

TEST(LegalizerInfoTest, MultipleTypes) {}

TEST(LegalizerInfoTest, MultipleSteps) {}

TEST(LegalizerInfoTest, SizeChangeStrategy) {}
}

#define EXPECT_ACTION(Action, Index, Type, Query)

TEST(LegalizerInfoTest, RuleSets) {}

TEST(LegalizerInfoTest, MMOAlignment) {}

// This code sequence doesn't do anything, but it covers a previously uncovered
// codepath that used to crash in MSVC x86_32 debug mode.
TEST(LegalizerInfoTest, MSVCDebugMiscompile) {}