diff options
author | Jim Grosbach <grosbach@apple.com> | 2010-05-05 19:41:11 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2010-05-05 19:41:11 +0000 |
commit | ab42ec3e51c5ff490eeeb7cab3400085df437db1 (patch) | |
tree | 7cb1ec22bdb07da76c72d0dd41602c606452c452 /test | |
parent | 2d7fd61e94e2db0586ad9d5d26c1e7c5510a006d (diff) | |
download | external_llvm-ab42ec3e51c5ff490eeeb7cab3400085df437db1.zip external_llvm-ab42ec3e51c5ff490eeeb7cab3400085df437db1.tar.gz external_llvm-ab42ec3e51c5ff490eeeb7cab3400085df437db1.tar.bz2 |
Convert to filecheck
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103113 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/ARM/div.ll | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/test/CodeGen/ARM/div.ll b/test/CodeGen/ARM/div.ll index 2f724e7..160e252 100644 --- a/test/CodeGen/ARM/div.ll +++ b/test/CodeGen/ARM/div.ll @@ -1,29 +1,33 @@ -; RUN: llc < %s -march=arm > %t -; RUN: grep __divsi3 %t -; RUN: grep __udivsi3 %t -; RUN: grep __modsi3 %t -; RUN: grep __umodsi3 %t +; RUN: llc < %s -march=arm | FileCheck %s define i32 @f1(i32 %a, i32 %b) { entry: +; CHECK: _f1 +; CHECK: __divsi3 %tmp1 = sdiv i32 %a, %b ; <i32> [#uses=1] ret i32 %tmp1 } define i32 @f2(i32 %a, i32 %b) { entry: +; CHECK: _f2 +; CHECK: __udivsi3 %tmp1 = udiv i32 %a, %b ; <i32> [#uses=1] ret i32 %tmp1 } define i32 @f3(i32 %a, i32 %b) { entry: +; CHECK: _f3 +; CHECK: __modsi3 %tmp1 = srem i32 %a, %b ; <i32> [#uses=1] ret i32 %tmp1 } define i32 @f4(i32 %a, i32 %b) { entry: +; CHECK: _f4 +; CHECK: __umodsi3 %tmp1 = urem i32 %a, %b ; <i32> [#uses=1] ret i32 %tmp1 } |