summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2013-08-04 23:55:24 +0000
committerBob Wilson <bob.wilson@apple.com>2013-08-04 23:55:24 +0000
commitb9549baf7fa0edb118f049850c073177500121eb (patch)
tree07cecef7550ae6210f062e74ba916897aa09a991
parent9fcf5455756412251fa285372e91728bd42013c6 (diff)
downloadbcm5719-llvm-b9549baf7fa0edb118f049850c073177500121eb.tar.gz
bcm5719-llvm-b9549baf7fa0edb118f049850c073177500121eb.zip
Remove "lto_on_osx" xfails, now that -rdynamic works on Darwin.
Note that this will require a recent version of the linker for Darwin builds with LTO to pass these tests. llvm-svn: 187711
-rw-r--r--llvm/test/BugPoint/crash-narrowfunctiontest.ll1
-rw-r--r--llvm/test/BugPoint/metadata.ll1
-rw-r--r--llvm/test/BugPoint/remove_arguments_test.ll1
-rw-r--r--llvm/test/Feature/load_module.ll1
-rw-r--r--llvm/test/lit.cfg4
5 files changed, 0 insertions, 8 deletions
diff --git a/llvm/test/BugPoint/crash-narrowfunctiontest.ll b/llvm/test/BugPoint/crash-narrowfunctiontest.ll
index c8128369573..d080d9dd4b0 100644
--- a/llvm/test/BugPoint/crash-narrowfunctiontest.ll
+++ b/llvm/test/BugPoint/crash-narrowfunctiontest.ll
@@ -2,7 +2,6 @@
;
; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes > /dev/null
; REQUIRES: loadable_module
-; XFAIL: lto_on_osx
define i32 @foo() { ret i32 1 }
diff --git a/llvm/test/BugPoint/metadata.ll b/llvm/test/BugPoint/metadata.ll
index 6dc9574bbe4..0eda5667ba4 100644
--- a/llvm/test/BugPoint/metadata.ll
+++ b/llvm/test/BugPoint/metadata.ll
@@ -1,7 +1,6 @@
; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes > /dev/null
; RUN: llvm-dis %t-reduced-simplified.bc -o - | FileCheck %s
; REQUIRES: loadable_module
-; XFAIL: lto_on_osx
; Bugpoint should keep the call's metadata attached to the call.
diff --git a/llvm/test/BugPoint/remove_arguments_test.ll b/llvm/test/BugPoint/remove_arguments_test.ll
index 5a45f846e10..29a03b83107 100644
--- a/llvm/test/BugPoint/remove_arguments_test.ll
+++ b/llvm/test/BugPoint/remove_arguments_test.ll
@@ -1,7 +1,6 @@
; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes
; RUN: llvm-dis %t-reduced-simplified.bc -o - | FileCheck %s
; REQUIRES: loadable_module
-; XFAIL: lto_on_osx
; Test to make sure that arguments are removed from the function if they are
; unnecessary. And clean up any types that that frees up too.
diff --git a/llvm/test/Feature/load_module.ll b/llvm/test/Feature/load_module.ll
index ea41edfcbbd..14c1153fa56 100644
--- a/llvm/test/Feature/load_module.ll
+++ b/llvm/test/Feature/load_module.ll
@@ -2,7 +2,6 @@
; RUN: opt < %s -load=%llvmshlibdir/LLVMHello%shlibext -hello \
; RUN: -disable-output 2>&1 | grep Hello
; REQUIRES: loadable_module
-; XFAIL: lto_on_osx
; FIXME: On Cygming, it might fail without building LLVMHello manually.
@junk = global i32 0
diff --git a/llvm/test/lit.cfg b/llvm/test/lit.cfg
index ddb02ecf569..c018674f9b4 100644
--- a/llvm/test/lit.cfg
+++ b/llvm/test/lit.cfg
@@ -264,10 +264,6 @@ else:
if loadable_module:
config.available_features.add('loadable_module')
-# LTO on OS X
-if config.lto_is_enabled == "1" and platform.system() == "Darwin":
- config.available_features.add('lto_on_osx')
-
# Sanitizers.
if config.llvm_use_sanitizer == "Address":
config.available_features.add("asan")
OpenPOWER on IntegriCloud