summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2012-08-04 01:29:37 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2012-08-04 01:29:37 +0000
commit10b90b45c10b2d12b71893f896caadfdb002be5f (patch)
treebf97460de28a388e65cc02041c14854faf18e3e9
parent29489a9e9ea4b3876d0c7294886460eec2476c3b (diff)
downloadbcm5719-llvm-10b90b45c10b2d12b71893f896caadfdb002be5f.tar.gz
bcm5719-llvm-10b90b45c10b2d12b71893f896caadfdb002be5f.zip
llc: Try to suppress failures since r161262 .
FIXME: Fix several tests on i686-win32 due to lacking of many libraries. llvm-svn: 161292
-rw-r--r--llvm/tools/llc/llc.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/llvm/tools/llc/llc.cpp b/llvm/tools/llc/llc.cpp
index 8951050c07c..a8d1c84832f 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())
OpenPOWER on IntegriCloud