1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

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
This commit is contained in:
Benjamin Kramer 2016-02-04 16:21:38 +00:00
parent 42a51db8af
commit 57b36f1497
3 changed files with 3 additions and 3 deletions

View File

@ -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{{.}}

View File

@ -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

View File

@ -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