llc: Try to suppress failures since r161262 .

FIXME: Fix several tests on i686-win32 due to lacking of many libraries.
llvm-svn: 161292
This commit is contained in:
NAKAMURA Takumi 2012-08-04 01:29:37 +00:00
parent 29489a9e9e
commit 10b90b45c1
1 changed files with 5 additions and 2 deletions

View File

@ -495,9 +495,12 @@ int main(int argc, char **argv) {
// Add an appropriate TargetLibraryInfo pass for the module's triple.
TargetLibraryInfo *TLI = new TargetLibraryInfo(TheTriple);
if (DisableSimplifyLibCalls)
if (DisableSimplifyLibCalls) {
TLI->disableAllFunctions();
PM.add(TLI);
// FIXME: Fix several tests on i686-win32 due to lacking of many libraries.
PM.add(TLI);
}
// Add the target data from the target machine, if it exists, or the module.
if (const TargetData *TD = Target.getTargetData())