[llvm-commits] [llvm] r130126 - in /llvm/trunk/test: Analysis/RegionInfo/next.ll CodeGen/ARM/crash-greedy.ll CodeGen/PTX/ld.ll CodeGen/Thumb2/bfi.ll CodeGen/Thumb2/thumb2-lsr3.ll CodeGen/X86/fast-isel-x86.ll CodeGen/X86/fp-trunc.ll CodeGen/X86/lsr-interesting-step.ll
Benjamin Kramer
benny.kra at googlemail.com
Mon Apr 25 03:12:01 PDT 2011
Author: d0k
Date: Mon Apr 25 05:12:01 2011
New Revision: 130126
URL: http://llvm.org/viewvc/llvm-project?rev=130126&view=rev
Log:
Make tests more useful.
lit needs a linter ...
Modified:
llvm/trunk/test/Analysis/RegionInfo/next.ll
llvm/trunk/test/CodeGen/ARM/crash-greedy.ll
llvm/trunk/test/CodeGen/PTX/ld.ll
llvm/trunk/test/CodeGen/Thumb2/bfi.ll
llvm/trunk/test/CodeGen/Thumb2/thumb2-lsr3.ll
llvm/trunk/test/CodeGen/X86/fast-isel-x86.ll
llvm/trunk/test/CodeGen/X86/fp-trunc.ll
llvm/trunk/test/CodeGen/X86/lsr-interesting-step.ll
Modified: llvm/trunk/test/Analysis/RegionInfo/next.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Analysis/RegionInfo/next.ll?rev=130126&r1=130125&r2=130126&view=diff
==============================================================================
--- llvm/trunk/test/Analysis/RegionInfo/next.ll (original)
+++ llvm/trunk/test/Analysis/RegionInfo/next.ll Mon Apr 25 05:12:01 2011
@@ -32,8 +32,8 @@
; CHECK-NOT: =>
; CHECK: [0] entry => <Function Return>
; CHECK-NEXT: [1] __label_002001.outer => __label_000020
-; CHECK-NEXT; [2] bb197 => bb229
-; CHECK-NEXT; [3] bb224 => bb229
+; CHECK-NEXT: [2] bb197 => bb229
+; CHECK-NEXT: [3] bb224 => bb229
; STAT: 4 region - The # of regions
; STAT: 1 region - The # of simple regions
Modified: llvm/trunk/test/CodeGen/ARM/crash-greedy.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/crash-greedy.ll?rev=130126&r1=130125&r2=130126&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/ARM/crash-greedy.ll (original)
+++ llvm/trunk/test/CodeGen/ARM/crash-greedy.ll Mon Apr 25 05:12:01 2011
@@ -6,7 +6,7 @@
declare double @exp(double)
-; CHECK remat_subreg
+; CHECK: remat_subreg
define void @remat_subreg(float* nocapture %x, i32* %y, i32 %n, i32 %z, float %c, float %lambda, float* nocapture %ret_f, float* nocapture %ret_df) nounwind {
entry:
%conv16 = fpext float %lambda to double
Modified: llvm/trunk/test/CodeGen/PTX/ld.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PTX/ld.ll?rev=130126&r1=130125&r2=130126&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PTX/ld.ll (original)
+++ llvm/trunk/test/CodeGen/PTX/ld.ll Mon Apr 25 05:12:01 2011
@@ -64,7 +64,7 @@
define ptx_device i16 @t1_u16(i16* %p) {
entry:
;CHECK: ld.global.u16 rh0, [r1];
-;CHECK-NEXT; ret;
+;CHECK-NEXT: ret;
%x = load i16* %p
ret i16 %x
}
Modified: llvm/trunk/test/CodeGen/Thumb2/bfi.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Thumb2/bfi.ll?rev=130126&r1=130125&r2=130126&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Thumb2/bfi.ll (original)
+++ llvm/trunk/test/CodeGen/Thumb2/bfi.ll Mon Apr 25 05:12:01 2011
@@ -53,7 +53,7 @@
; rdar://9177502
define i32 @f5(i32 %a, i32 %b) nounwind readnone {
entry:
-; CHECK f5
+; CHECK: f5
; CHECK-NOT: bfi r0, r2, #0, #1
%and = and i32 %a, 2
%b.masked = and i32 %b, -2
Modified: llvm/trunk/test/CodeGen/Thumb2/thumb2-lsr3.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Thumb2/thumb2-lsr3.ll?rev=130126&r1=130125&r2=130126&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Thumb2/thumb2-lsr3.ll (original)
+++ llvm/trunk/test/CodeGen/Thumb2/thumb2-lsr3.ll Mon Apr 25 05:12:01 2011
@@ -1,9 +1,9 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2
+; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
define i1 @test1(i64 %poscnt, i32 %work) {
entry:
-; CHECK: rrx r0, r0
; CHECK: lsrs.w r1, r1, #1
+; CHECK: rrx r0, r0
%0 = lshr i64 %poscnt, 1
%1 = icmp eq i64 %0, 0
ret i1 %1
@@ -11,8 +11,8 @@
define i1 @test2(i64 %poscnt, i32 %work) {
entry:
-; CHECK: rrx r0, r0
; CHECK: asrs.w r1, r1, #1
+; CHECK: rrx r0, r0
%0 = ashr i64 %poscnt, 1
%1 = icmp eq i64 %0, 0
ret i1 %1
Modified: llvm/trunk/test/CodeGen/X86/fast-isel-x86.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/fast-isel-x86.ll?rev=130126&r1=130125&r2=130126&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/fast-isel-x86.ll (original)
+++ llvm/trunk/test/CodeGen/X86/fast-isel-x86.ll Mon Apr 25 05:12:01 2011
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86 -relocation-model=pic < %s
+; RUN: llc -fast-isel -O0 -march=x86 -relocation-model=pic < %s | FileCheck %s
; This should use flds to set the return value.
; CHECK: test0:
Modified: llvm/trunk/test/CodeGen/X86/fp-trunc.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/fp-trunc.ll?rev=130126&r1=130125&r2=130126&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/fp-trunc.ll (original)
+++ llvm/trunk/test/CodeGen/X86/fp-trunc.ll Mon Apr 25 05:12:01 2011
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2,-avx
+; RUN: llc < %s -march=x86 -mattr=+sse2,-avx | FileCheck %s
define <1 x float> @test1(<1 x double> %x) nounwind {
; CHECK: cvtsd2ss
Modified: llvm/trunk/test/CodeGen/X86/lsr-interesting-step.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/lsr-interesting-step.ll?rev=130126&r1=130125&r2=130126&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/lsr-interesting-step.ll (original)
+++ llvm/trunk/test/CodeGen/X86/lsr-interesting-step.ll Mon Apr 25 05:12:01 2011
@@ -1,9 +1,9 @@
-; RUN: llc < %s -march=x86-64 -relocation-model=static -mtriple=x86_64-unknown-linux-gnu
+; RUN: llc < %s -march=x86-64 -relocation-model=static -mtriple=x86_64-unknown-linux-gnu -asm-verbose=0 | FileCheck %s
; The inner loop should require only one add (and no leas either).
; rdar://8100380
-; CHECK: BB0_4:
+; CHECK: BB0_3:
; CHECK-NEXT: movb $0, flags(%rdx)
; CHECK-NEXT: addq %rcx, %rdx
; CHECK-NEXT: cmpq $8192, %rdx
More information about the llvm-commits
mailing list