[llvm] r304682 - [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.

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 4 01:21:59 PDT 2017


Author: ctopper
Date: Sun Jun  4 03:21:58 2017
New Revision: 304682

URL: http://llvm.org/viewvc/llvm-project?rev=304682&view=rev
Log:
[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.

Modified:
    llvm/trunk/test/Bitcode/ptest-old.ll
    llvm/trunk/test/Instrumentation/MemorySanitizer/csr.ll
    llvm/trunk/test/Instrumentation/MemorySanitizer/msan_x86intrinsics.ll
    llvm/trunk/test/Instrumentation/MemorySanitizer/vector_arith.ll
    llvm/trunk/test/Instrumentation/MemorySanitizer/vector_cmp.ll
    llvm/trunk/test/Instrumentation/MemorySanitizer/vector_cvt.ll
    llvm/trunk/test/Instrumentation/MemorySanitizer/vector_pack.ll
    llvm/trunk/test/Instrumentation/MemorySanitizer/vector_shift.ll
    llvm/trunk/test/Transforms/ConstProp/sse.ll
    llvm/trunk/test/Transforms/LoopStrengthReduce/X86/lsr-expand-quadratic.ll

Modified: llvm/trunk/test/Bitcode/ptest-old.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Bitcode/ptest-old.ll?rev=304682&r1=304681&r2=304682&view=diff
==============================================================================
--- llvm/trunk/test/Bitcode/ptest-old.ll (original)
+++ llvm/trunk/test/Bitcode/ptest-old.ll Sun Jun  4 03:21:58 2017
@@ -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:

Modified: llvm/trunk/test/Instrumentation/MemorySanitizer/csr.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Instrumentation/MemorySanitizer/csr.ll?rev=304682&r1=304681&r2=304682&view=diff
==============================================================================
--- llvm/trunk/test/Instrumentation/MemorySanitizer/csr.ll (original)
+++ llvm/trunk/test/Instrumentation/MemorySanitizer/csr.ll Sun Jun  4 03:21:58 2017
@@ -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"

Modified: llvm/trunk/test/Instrumentation/MemorySanitizer/msan_x86intrinsics.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Instrumentation/MemorySanitizer/msan_x86intrinsics.ll?rev=304682&r1=304681&r2=304682&view=diff
==============================================================================
--- llvm/trunk/test/Instrumentation/MemorySanitizer/msan_x86intrinsics.ll (original)
+++ llvm/trunk/test/Instrumentation/MemorySanitizer/msan_x86intrinsics.ll Sun Jun  4 03:21:58 2017
@@ -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"

Modified: llvm/trunk/test/Instrumentation/MemorySanitizer/vector_arith.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Instrumentation/MemorySanitizer/vector_arith.ll?rev=304682&r1=304681&r2=304682&view=diff
==============================================================================
--- llvm/trunk/test/Instrumentation/MemorySanitizer/vector_arith.ll (original)
+++ llvm/trunk/test/Instrumentation/MemorySanitizer/vector_arith.ll Sun Jun  4 03:21:58 2017
@@ -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"

Modified: llvm/trunk/test/Instrumentation/MemorySanitizer/vector_cmp.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Instrumentation/MemorySanitizer/vector_cmp.ll?rev=304682&r1=304681&r2=304682&view=diff
==============================================================================
--- llvm/trunk/test/Instrumentation/MemorySanitizer/vector_cmp.ll (original)
+++ llvm/trunk/test/Instrumentation/MemorySanitizer/vector_cmp.ll Sun Jun  4 03:21:58 2017
@@ -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"

Modified: llvm/trunk/test/Instrumentation/MemorySanitizer/vector_cvt.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Instrumentation/MemorySanitizer/vector_cvt.ll?rev=304682&r1=304681&r2=304682&view=diff
==============================================================================
--- llvm/trunk/test/Instrumentation/MemorySanitizer/vector_cvt.ll (original)
+++ llvm/trunk/test/Instrumentation/MemorySanitizer/vector_cvt.ll Sun Jun  4 03:21:58 2017
@@ -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"

Modified: llvm/trunk/test/Instrumentation/MemorySanitizer/vector_pack.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Instrumentation/MemorySanitizer/vector_pack.ll?rev=304682&r1=304681&r2=304682&view=diff
==============================================================================
--- llvm/trunk/test/Instrumentation/MemorySanitizer/vector_pack.ll (original)
+++ llvm/trunk/test/Instrumentation/MemorySanitizer/vector_pack.ll Sun Jun  4 03:21:58 2017
@@ -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"

Modified: llvm/trunk/test/Instrumentation/MemorySanitizer/vector_shift.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Instrumentation/MemorySanitizer/vector_shift.ll?rev=304682&r1=304681&r2=304682&view=diff
==============================================================================
--- llvm/trunk/test/Instrumentation/MemorySanitizer/vector_shift.ll (original)
+++ llvm/trunk/test/Instrumentation/MemorySanitizer/vector_shift.ll Sun Jun  4 03:21:58 2017
@@ -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.
 

Modified: llvm/trunk/test/Transforms/ConstProp/sse.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/ConstProp/sse.ll?rev=304682&r1=304681&r2=304682&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/ConstProp/sse.ll (original)
+++ llvm/trunk/test/Transforms/ConstProp/sse.ll Sun Jun  4 03:21:58 2017
@@ -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(

Modified: llvm/trunk/test/Transforms/LoopStrengthReduce/X86/lsr-expand-quadratic.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/LoopStrengthReduce/X86/lsr-expand-quadratic.ll?rev=304682&r1=304681&r2=304682&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/LoopStrengthReduce/X86/lsr-expand-quadratic.ll (original)
+++ llvm/trunk/test/Transforms/LoopStrengthReduce/X86/lsr-expand-quadratic.ll Sun Jun  4 03:21:58 2017
@@ -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




More information about the llvm-commits mailing list