]> granicus.if.org Git - llvm/commitdiff
Make test target-specific
authorMatthew Simpson <mssimpso@codeaurora.org>
Tue, 16 May 2017 15:33:22 +0000 (15:33 +0000)
committerMatthew Simpson <mssimpso@codeaurora.org>
Tue, 16 May 2017 15:33:22 +0000 (15:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@303178 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/LoopVectorize/AArch64/interleave_count.ll [moved from test/Transforms/LoopVectorize/interleave_count.ll with 92% similarity]

similarity index 92%
rename from test/Transforms/LoopVectorize/interleave_count.ll
rename to test/Transforms/LoopVectorize/AArch64/interleave_count.ll
index 2ca40f674a24f25a5ce874cc7aa793a4e4760117..275beb6d662e189b82b13b6576cf422405535f21 100644 (file)
@@ -1,5 +1,9 @@
+; REQUIRES: asserts
 ; RUN: opt < %s -loop-vectorize -force-target-instruction-cost=0 -force-vector-width=2 -force-vector-interleave=1 -instcombine -S | FileCheck %s
 
+target datalayout = "e-m:e-i64:64-i128:128-n32:64-S128"
+target triple = "aarch64--linux-gnu"
+
 ; CHECK-LABEL: @copy(
 ; CHECK:       vector.body:
 ; CHECK-NEXT:    [[INDEX:%.*]] = phi i64 [ 0, %vector.ph ], [ [[INDEX_NEXT:%.*]], %vector.body ]