We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4713ec commit 2219119Copy full SHA for 2219119
llvm/unittests/CodeGen/MIR2VecTest.cpp
@@ -255,6 +255,10 @@ class MIR2VecEmbeddingTestFixture : public MIR2VecVocabTestFixture {
255
256
void SetUp() override {
257
MIR2VecVocabTestFixture::SetUp();
258
+ // If base class setup was skipped (TII not initialized), skip derived setup
259
+ if (!TII)
260
+ GTEST_SKIP() << "Failed to get target instruction info in "
261
+ "the base class setup; Skipping test";
262
263
// Create a dummy function for MachineFunction
264
FunctionType *FT = FunctionType::get(Type::getVoidTy(*Ctx), false);
0 commit comments