summaryrefslogtreecommitdiff
path: root/tools/llc
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
commit17d2853a4b508cd05ead09822dbd21d01742afd3 (patch)
tree89890e9687b79b643ebf15efedfcc4e39da4d615 /tools/llc
parentcf1823dc25b9687af9277b824eb7cac3931bdb5e (diff)
llc: Try to suppress failures since r161262 .
FIXME: Fix several tests on i686-win32 due to lacking of many libraries. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161292 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llc')
-rw-r--r--tools/llc/llc.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp
index 8951050c07c..a8d1c84832f 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())