mirror of
https://github.com/intel/llvm.git
synced 2026-01-26 12:26:52 +08:00
[MLIR] Fix unit-test missing guard SKIP_WITHOUT_JIT to exclude it on sparc
This commit is contained in:
@@ -326,7 +326,7 @@ static int initCnt = 0;
|
||||
// A helper function that will be called during the JIT's initialization.
|
||||
static void initCallback() { initCnt += 1; }
|
||||
|
||||
TEST(MLIRExecutionEngine, MAYBE_JITCallbackInGlobalCtor) {
|
||||
TEST(MLIRExecutionEngine, SKIP_WITHOUT_JIT(CallbackInGlobalCtor)) {
|
||||
auto tmBuilderOrError = llvm::orc::JITTargetMachineBuilder::detectHost();
|
||||
ASSERT_TRUE(!!tmBuilderOrError);
|
||||
if (tmBuilderOrError->getTargetTriple().isAArch64()) {
|
||||
|
||||
Reference in New Issue
Block a user