Exclude known and bugzilled failures from UBSan bootstrap

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217979 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Alexey Samsonov 2014-09-17 20:17:52 +00:00
parent 46d6fd2908
commit dc4eb3d6dc
4 changed files with 14 additions and 0 deletions

View File

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

View File

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

View File

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

View File

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