From: Craig Topper Date: Sun, 4 Jun 2017 08:21:58 +0000 (+0000) Subject: [X86] Replace 'REQUIRES: x86' in tests with 'REQUIRES: x86-registered-target' which... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=be3f63f462a0f7fcb1059b7f8cc54892107640dd;p=llvm [X86] Replace 'REQUIRES: x86' in tests with 'REQUIRES: x86-registered-target' which seems to be the correct way to make them run on an x86 build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304682 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Bitcode/ptest-old.ll b/test/Bitcode/ptest-old.ll index 53ffef900b5..184f72e9856 100644 --- a/test/Bitcode/ptest-old.ll +++ b/test/Bitcode/ptest-old.ll @@ -1,6 +1,6 @@ ; RUN: llvm-as < %s | llvm-dis | FileCheck %s ; RUN: verify-uselistorder < %s -; REQUIRES: x86 +; REQUIRES: x86-registered-target define i32 @foo(<4 x float> %bar) nounwind { entry: diff --git a/test/Instrumentation/MemorySanitizer/csr.ll b/test/Instrumentation/MemorySanitizer/csr.ll index c288f93241b..a7664d45636 100644 --- a/test/Instrumentation/MemorySanitizer/csr.ll +++ b/test/Instrumentation/MemorySanitizer/csr.ll @@ -1,6 +1,6 @@ ; RUN: opt < %s -msan -msan-check-access-address=0 -S | FileCheck %s ; RUN: opt < %s -msan -msan-check-access-address=1 -S | FileCheck %s --check-prefix=ADDR -; REQUIRES: x86 +; REQUIRES: x86-registered-target target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" diff --git a/test/Instrumentation/MemorySanitizer/msan_x86intrinsics.ll b/test/Instrumentation/MemorySanitizer/msan_x86intrinsics.ll index be3f1976daa..c4ec7fa2919 100644 --- a/test/Instrumentation/MemorySanitizer/msan_x86intrinsics.ll +++ b/test/Instrumentation/MemorySanitizer/msan_x86intrinsics.ll @@ -1,6 +1,6 @@ ; RUN: opt < %s -msan -msan-check-access-address=0 -S | FileCheck %s ; RUN: opt < %s -msan -msan-check-access-address=0 -msan-track-origins=1 -S | FileCheck -check-prefix=CHECK -check-prefix=CHECK-ORIGINS %s -; REQUIRES: x86 +; REQUIRES: x86-registered-target target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" diff --git a/test/Instrumentation/MemorySanitizer/vector_arith.ll b/test/Instrumentation/MemorySanitizer/vector_arith.ll index 8be085cff33..6652fdff89b 100644 --- a/test/Instrumentation/MemorySanitizer/vector_arith.ll +++ b/test/Instrumentation/MemorySanitizer/vector_arith.ll @@ -1,5 +1,5 @@ ; RUN: opt < %s -msan -msan-check-access-address=0 -S | FileCheck %s -; REQUIRES: x86 +; REQUIRES: x86-registered-target target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" diff --git a/test/Instrumentation/MemorySanitizer/vector_cmp.ll b/test/Instrumentation/MemorySanitizer/vector_cmp.ll index 62a5f573064..910b1351330 100644 --- a/test/Instrumentation/MemorySanitizer/vector_cmp.ll +++ b/test/Instrumentation/MemorySanitizer/vector_cmp.ll @@ -1,5 +1,5 @@ ; RUN: opt < %s -msan -msan-check-access-address=0 -S | FileCheck %s -; REQUIRES: x86 +; REQUIRES: x86-registered-target target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" diff --git a/test/Instrumentation/MemorySanitizer/vector_cvt.ll b/test/Instrumentation/MemorySanitizer/vector_cvt.ll index beedb0e63e5..1dd3d7d9c68 100644 --- a/test/Instrumentation/MemorySanitizer/vector_cvt.ll +++ b/test/Instrumentation/MemorySanitizer/vector_cvt.ll @@ -1,5 +1,5 @@ ; RUN: opt < %s -msan -msan-check-access-address=0 -S | FileCheck %s -; REQUIRES: x86 +; REQUIRES: x86-registered-target target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" diff --git a/test/Instrumentation/MemorySanitizer/vector_pack.ll b/test/Instrumentation/MemorySanitizer/vector_pack.ll index deb03d84802..574e7b89003 100644 --- a/test/Instrumentation/MemorySanitizer/vector_pack.ll +++ b/test/Instrumentation/MemorySanitizer/vector_pack.ll @@ -1,5 +1,5 @@ ; RUN: opt < %s -msan -msan-check-access-address=0 -S | FileCheck %s -; REQUIRES: x86 +; REQUIRES: x86-registered-target target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" diff --git a/test/Instrumentation/MemorySanitizer/vector_shift.ll b/test/Instrumentation/MemorySanitizer/vector_shift.ll index a4b8fdbd603..c605c97bba1 100644 --- a/test/Instrumentation/MemorySanitizer/vector_shift.ll +++ b/test/Instrumentation/MemorySanitizer/vector_shift.ll @@ -1,5 +1,5 @@ ; RUN: opt < %s -msan -msan-check-access-address=0 -S | FileCheck %s -; REQUIRES: x86 +; REQUIRES: x86-registered-target ; Test instrumentation of vector shift instructions. diff --git a/test/Transforms/ConstProp/sse.ll b/test/Transforms/ConstProp/sse.ll index cc37c96c1ff..ad0a62e4206 100644 --- a/test/Transforms/ConstProp/sse.ll +++ b/test/Transforms/ConstProp/sse.ll @@ -1,5 +1,5 @@ ; RUN: opt < %s -constprop -S | FileCheck %s -; REQUIRES: x86 +; REQUIRES: x86-registered-target define i1 @test_sse_cvts_exact() nounwind readnone { ; CHECK-LABEL: @test_sse_cvts_exact( diff --git a/test/Transforms/LoopStrengthReduce/X86/lsr-expand-quadratic.ll b/test/Transforms/LoopStrengthReduce/X86/lsr-expand-quadratic.ll index a7731bfcec5..c5ce3bc2b6b 100644 --- a/test/Transforms/LoopStrengthReduce/X86/lsr-expand-quadratic.ll +++ b/test/Transforms/LoopStrengthReduce/X86/lsr-expand-quadratic.ll @@ -1,4 +1,4 @@ -; REQUIRES: x86 +; REQUIRES: x86-registered-target ; RUN: opt -loop-reduce -S < %s | FileCheck %s ; Strength reduction analysis here relies on IV Users analysis, that