From 10b90b45c10b2d12b71893f896caadfdb002be5f Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Sat, 4 Aug 2012 01:29:37 +0000 Subject: [PATCH] llc: Try to suppress failures since r161262 . FIXME: Fix several tests on i686-win32 due to lacking of many libraries. llvm-svn: 161292 --- llvm/tools/llc/llc.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/llvm/tools/llc/llc.cpp b/llvm/tools/llc/llc.cpp index 8951050c07cd..a8d1c84832f2 100644 --- a/llvm/tools/llc/llc.cpp +++ b/llvm/tools/llc/llc.cpp @@ -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())