summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/test/CodeGen/R600/llvm.AMDGPU.bfe.i32.ll3
-rw-r--r--llvm/test/MC/SystemZ/lit.local.cfg3
-rw-r--r--llvm/test/lit.cfg4
-rw-r--r--llvm/test/tools/llvm-cov/lit.local.cfg4
4 files changed, 14 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/R600/llvm.AMDGPU.bfe.i32.ll b/llvm/test/CodeGen/R600/llvm.AMDGPU.bfe.i32.ll
index eb509423282..b23995d0473 100644
--- a/llvm/test/CodeGen/R600/llvm.AMDGPU.bfe.i32.ll
+++ b/llvm/test/CodeGen/R600/llvm.AMDGPU.bfe.i32.ll
@@ -1,6 +1,9 @@
; RUN: llc -march=r600 -mcpu=SI -verify-machineinstrs < %s | FileCheck -check-prefix=SI -check-prefix=FUNC %s
; RUN: llc -march=r600 -mcpu=redwood -show-mc-encoding -verify-machineinstrs < %s | FileCheck -check-prefix=EG -check-prefix=FUNC %s
+; http://llvm.org/bugs/show_bug.cgi?id=20982
+; REQUIRES: not_ubsan
+
declare i32 @llvm.AMDGPU.bfe.i32(i32, i32, i32) nounwind readnone
; FUNC-LABEL: @bfe_i32_arg_arg_arg
diff --git a/llvm/test/MC/SystemZ/lit.local.cfg b/llvm/test/MC/SystemZ/lit.local.cfg
index 5c02dd3614a..78c5738c7ac 100644
--- a/llvm/test/MC/SystemZ/lit.local.cfg
+++ b/llvm/test/MC/SystemZ/lit.local.cfg
@@ -1,3 +1,6 @@
if not 'SystemZ' in config.root.targets:
config.unsupported = True
+# http://llvm.org/bugs/show_bug.cgi?id=20980
+if 'ubsan' in config.available_features:
+ config.unsupported = True
diff --git a/llvm/test/lit.cfg b/llvm/test/lit.cfg
index 689f213bdb9..294d37bc391 100644
--- a/llvm/test/lit.cfg
+++ b/llvm/test/lit.cfg
@@ -268,6 +268,10 @@ if config.llvm_use_sanitizer == "Address":
if (config.llvm_use_sanitizer == "Memory" or
config.llvm_use_sanitizer == "MemoryWithOrigins"):
config.available_features.add("msan")
+if config.llvm_use_sanitizer == "Undefined":
+ config.available_features.add("ubsan")
+else:
+ config.available_features.add("not_ubsan")
# Direct object generation
if not 'hexagon' in config.target_triple:
diff --git a/llvm/test/tools/llvm-cov/lit.local.cfg b/llvm/test/tools/llvm-cov/lit.local.cfg
index 56c6f1f5fac..650bc02747b 100644
--- a/llvm/test/tools/llvm-cov/lit.local.cfg
+++ b/llvm/test/tools/llvm-cov/lit.local.cfg
@@ -1 +1,5 @@
config.suffixes = ['.test', '.m', '.cpp']
+
+# http://llvm.org/bugs/show_bug.cgi?id=20979
+if 'ubsan' in config.available_features:
+ config.unsupported = True
OpenPOWER on IntegriCloud