From b9549baf7fa0edb118f049850c073177500121eb Mon Sep 17 00:00:00 2001 From: Bob Wilson Date: Sun, 4 Aug 2013 23:55:24 +0000 Subject: [PATCH] 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 --- llvm/test/BugPoint/crash-narrowfunctiontest.ll | 1 - llvm/test/BugPoint/metadata.ll | 1 - llvm/test/BugPoint/remove_arguments_test.ll | 1 - llvm/test/Feature/load_module.ll | 1 - llvm/test/lit.cfg | 4 ---- 5 files changed, 8 deletions(-) diff --git a/llvm/test/BugPoint/crash-narrowfunctiontest.ll b/llvm/test/BugPoint/crash-narrowfunctiontest.ll index c812836..d080d9d 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 6dc9574..0eda566 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 5a45f84..29a03b8 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 ea41edf..14c1153 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 ddb02ec..c018674 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") -- 2.7.4