diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-04-25 10:12:01 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-04-25 10:12:01 +0000 |
commit | a42a757176df18c0c930f519ea597c42c8873650 (patch) | |
tree | 46dfa34fe3b1f8da341222fb3dde028c83d96097 /test/CodeGen/Thumb2 | |
parent | a4a2a03c311e7a7b64bfba1ae714ae85f74999fd (diff) | |
download | external_llvm-a42a757176df18c0c930f519ea597c42c8873650.zip external_llvm-a42a757176df18c0c930f519ea597c42c8873650.tar.gz external_llvm-a42a757176df18c0c930f519ea597c42c8873650.tar.bz2 |
Make tests more useful.
lit needs a linter ...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130126 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Thumb2')
-rw-r--r-- | test/CodeGen/Thumb2/bfi.ll | 2 | ||||
-rw-r--r-- | test/CodeGen/Thumb2/thumb2-lsr3.ll | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/Thumb2/bfi.ll b/test/CodeGen/Thumb2/bfi.ll index 0405d98..0e76770 100644 --- a/test/CodeGen/Thumb2/bfi.ll +++ b/test/CodeGen/Thumb2/bfi.ll @@ -53,7 +53,7 @@ define i32 @f4(i32 %a) nounwind { ; 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 diff --git a/test/CodeGen/Thumb2/thumb2-lsr3.ll b/test/CodeGen/Thumb2/thumb2-lsr3.ll index 5cfd3f5..e7ba782 100644 --- a/test/CodeGen/Thumb2/thumb2-lsr3.ll +++ b/test/CodeGen/Thumb2/thumb2-lsr3.ll @@ -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 @@ entry: 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 |