From: Benjamin Kramer Date: Thu, 4 Feb 2016 16:21:38 +0000 (+0000) Subject: The canonical way to XFAIL a test for all targets is XFAIL: *, not XFAIL: X-Git-Tag: llvmorg-3.9.0-rc1~15098 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e4dff62f64082770ac35bf556142b89e8d00d500;p=platform%2Fupstream%2Fllvm.git The canonical way to XFAIL a test for all targets is XFAIL: *, not XFAIL: Fix the lit bug that enabled this "feature" (empty triple is substring of all possible target triples) and change the two outliers to use the documented * syntax. llvm-svn: 259799 --- diff --git a/llvm/test/CodeGen/Hexagon/struct_args_large.ll b/llvm/test/CodeGen/Hexagon/struct_args_large.ll index 1438d73..fb4780b 100644 --- a/llvm/test/CodeGen/Hexagon/struct_args_large.ll +++ b/llvm/test/CodeGen/Hexagon/struct_args_large.ll @@ -1,4 +1,4 @@ -; XFAIL: +; XFAIL: * ; RUN: llc -march=hexagon < %s | FileCheck %s ; CHECK: r[[T0:[0-9]+]] = CONST32(#s2) ; CHECK: memw(r29+#0) = r{{.}} diff --git a/llvm/test/Transforms/Util/MemorySSA/load-invariant.ll b/llvm/test/Transforms/Util/MemorySSA/load-invariant.ll index 2350346..188a4c4 100644 --- a/llvm/test/Transforms/Util/MemorySSA/load-invariant.ll +++ b/llvm/test/Transforms/Util/MemorySSA/load-invariant.ll @@ -1,4 +1,4 @@ -; XFAIL: +; XFAIL: * ; RUN: opt -basicaa -print-memoryssa -verify-memoryssa -analyze < %s 2>&1 | FileCheck %s ; ; Invariant loads should be considered live on entry, because, once the diff --git a/llvm/utils/lit/lit/Test.py b/llvm/utils/lit/lit/Test.py index ef0e7bf..fd02a54 100644 --- a/llvm/utils/lit/lit/Test.py +++ b/llvm/utils/lit/lit/Test.py @@ -230,7 +230,7 @@ class Test: return True # If this is a part of the target triple, it fails. - if item in self.suite.config.target_triple: + if item and item in self.suite.config.target_triple: return True return False