diff --git a/clang/unittests/CodeGen/IncrementalProcessingTest.cpp b/clang/unittests/CodeGen/IncrementalProcessingTest.cpp --- a/clang/unittests/CodeGen/IncrementalProcessingTest.cpp +++ b/clang/unittests/CodeGen/IncrementalProcessingTest.cpp @@ -159,6 +159,11 @@ // First code should not end up in second module: ASSERT_FALSE(M[2]->getFunction("funcForProg1")); + // TODO: Remove this after the static initialization frontend implementation + // is recovered on AIX. + if (compiler.getTarget().getTriple().isOSAIX()) + return; + // Make sure global inits exist and are unique: const Function* GlobalInit1 = getGlobalInit(*M[1]); ASSERT_TRUE(GlobalInit1);