diff options
| author | Joerg Sonnenberger <joerg@bec.de> | 2017-05-29 22:52:17 +0000 |
|---|---|---|
| committer | Joerg Sonnenberger <joerg@bec.de> | 2017-05-29 22:52:17 +0000 |
| commit | 9375a253420d960589231daf0c0c5a3c38f4353e (patch) | |
| tree | 9582f2aa9aa3c22cafc39c41cdbf920c4106f2e3 /llvm/test/Transforms/LoopVectorize | |
| parent | 638b1021bf4afbf93cf26d181a9f84b7eb316831 (diff) | |
| download | bcm5719-llvm-9375a253420d960589231daf0c0c5a3c38f4353e.tar.gz bcm5719-llvm-9375a253420d960589231daf0c0c5a3c38f4353e.zip | |
Revert r303763, results in asserts i.e. while building Ruby.
llvm-svn: 304179
Diffstat (limited to 'llvm/test/Transforms/LoopVectorize')
| -rw-r--r-- | llvm/test/Transforms/LoopVectorize/AArch64/no_vector_instructions.ll | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/llvm/test/Transforms/LoopVectorize/AArch64/no_vector_instructions.ll b/llvm/test/Transforms/LoopVectorize/AArch64/no_vector_instructions.ll deleted file mode 100644 index a7f414b8694..00000000000 --- a/llvm/test/Transforms/LoopVectorize/AArch64/no_vector_instructions.ll +++ /dev/null @@ -1,26 +0,0 @@ -; REQUIRES: asserts -; RUN: opt < %s -loop-vectorize -force-vector-interleave=1 -S -debug-only=loop-vectorize 2>&1 | FileCheck %s - -target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128" -target triple = "aarch64--linux-gnu" - -; CHECK-LABEL: all_scalar -; CHECK: LV: Found scalar instruction: %i.next = add nuw nsw i64 %i, 2 -; CHECK: LV: Found an estimated cost of 2 for VF 2 For instruction: %i.next = add nuw nsw i64 %i, 2 -; CHECK: LV: Not considering vector loop of width 2 because it will not generate any vector instructions -; -define void @all_scalar(i64* %a, i64 %n) { -entry: - br label %for.body - -for.body: - %i = phi i64 [ 0, %entry ], [ %i.next, %for.body ] - %tmp0 = getelementptr i64, i64* %a, i64 %i - store i64 0, i64* %tmp0, align 1 - %i.next = add nuw nsw i64 %i, 2 - %cond = icmp eq i64 %i.next, %n - br i1 %cond, label %for.end, label %for.body - -for.end: - ret void -} |

