summaryrefslogtreecommitdiff
path: root/test/BugPoint
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2012-10-26 02:19:02 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2012-10-26 02:19:02 +0000
commitd2930d364adcaef1eac0e1d5d8dc0fa4b7616f45 (patch)
treed1e7eaf52187f983810b89ae6af05e69563ac838 /test/BugPoint
parent30675b12fde1eac924dfe4a790aa13488de4057b (diff)
downloadllvm-d2930d364adcaef1eac0e1d5d8dc0fa4b7616f45.tar.gz
llvm-d2930d364adcaef1eac0e1d5d8dc0fa4b7616f45.tar.bz2
llvm-d2930d364adcaef1eac0e1d5d8dc0fa4b7616f45.tar.xz
Fix unexpected passes. These test do work with LTO on linux. I tested both
a cmake and an autoconf build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166748 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/BugPoint')
-rw-r--r--test/BugPoint/crash-narrowfunctiontest.ll2
-rw-r--r--test/BugPoint/metadata.ll2
-rw-r--r--test/BugPoint/remove_arguments_test.ll2
3 files changed, 3 insertions, 3 deletions
diff --git a/test/BugPoint/crash-narrowfunctiontest.ll b/test/BugPoint/crash-narrowfunctiontest.ll
index 9df823ab97..c812836957 100644
--- a/test/BugPoint/crash-narrowfunctiontest.ll
+++ b/test/BugPoint/crash-narrowfunctiontest.ll
@@ -2,7 +2,7 @@
;
; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes > /dev/null
; REQUIRES: loadable_module
-; XFAIL: lto
+; XFAIL: lto_on_osx
define i32 @foo() { ret i32 1 }
diff --git a/test/BugPoint/metadata.ll b/test/BugPoint/metadata.ll
index 98c79ee03a..6dc9574bbe 100644
--- a/test/BugPoint/metadata.ll
+++ b/test/BugPoint/metadata.ll
@@ -1,7 +1,7 @@
; 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
+; XFAIL: lto_on_osx
; Bugpoint should keep the call's metadata attached to the call.
diff --git a/test/BugPoint/remove_arguments_test.ll b/test/BugPoint/remove_arguments_test.ll
index 13aa9c5a65..5a45f846e1 100644
--- a/test/BugPoint/remove_arguments_test.ll
+++ b/test/BugPoint/remove_arguments_test.ll
@@ -1,7 +1,7 @@
; 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
+; 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.