diff options
Diffstat (limited to 'tools/llc')
-rw-r--r-- | tools/llc/llc.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp index 8951050c07..a8d1c84832 100644 --- a/tools/llc/llc.cpp +++ b/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()) |