summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/divmod.ll
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2011-05-03 17:54:49 +0000
committerBob Wilson <bob.wilson@apple.com>2011-05-03 17:54:49 +0000
commitc5242b0e784ebe62799215ee2294aafe9863c3a2 (patch)
tree679ca82617e8589b08539eca47413712c303f3f0 /llvm/test/CodeGen/ARM/divmod.ll
parentb2a27481c178c101c7c843db30a814cff24cd6a6 (diff)
downloadbcm5719-llvm-c5242b0e784ebe62799215ee2294aafe9863c3a2.tar.gz
bcm5719-llvm-c5242b0e784ebe62799215ee2294aafe9863c3a2.zip
Remove test for iOS divmod function, since that is disabled for now.
llvm-svn: 130769
Diffstat (limited to 'llvm/test/CodeGen/ARM/divmod.ll')
-rw-r--r--llvm/test/CodeGen/ARM/divmod.ll58
1 files changed, 0 insertions, 58 deletions
diff --git a/llvm/test/CodeGen/ARM/divmod.ll b/llvm/test/CodeGen/ARM/divmod.ll
deleted file mode 100644
index 34313aa89aa..00000000000
--- a/llvm/test/CodeGen/ARM/divmod.ll
+++ /dev/null
@@ -1,58 +0,0 @@
-; RUN: llc < %s -mtriple=arm-apple-ios | FileCheck %s
-
-define void @foo(i32 %x, i32 %y, i32* nocapture %P) nounwind ssp {
-entry:
-; CHECK: foo:
-; CHECK: bl ___divmodsi4
-; CHECK-NOT: bl ___divmodsi4
- %div = sdiv i32 %x, %y
- store i32 %div, i32* %P, align 4
- %rem = srem i32 %x, %y
- %arrayidx6 = getelementptr inbounds i32* %P, i32 1
- store i32 %rem, i32* %arrayidx6, align 4
- ret void
-}
-
-define void @bar(i32 %x, i32 %y, i32* nocapture %P) nounwind ssp {
-entry:
-; CHECK: bar:
-; CHECK: bl ___udivmodsi4
-; CHECK-NOT: bl ___udivmodsi4
- %div = udiv i32 %x, %y
- store i32 %div, i32* %P, align 4
- %rem = urem i32 %x, %y
- %arrayidx6 = getelementptr inbounds i32* %P, i32 1
- store i32 %rem, i32* %arrayidx6, align 4
- ret void
-}
-
-; rdar://9280991
-@flags = external unnamed_addr global i32
-@tabsize = external unnamed_addr global i32
-
-define void @do_indent(i32 %cols) nounwind {
-entry:
-; CHECK: do_indent:
- %0 = load i32* @flags, align 4
- %1 = and i32 %0, 67108864
- %2 = icmp eq i32 %1, 0
- br i1 %2, label %bb1, label %bb
-
-bb:
-; CHECK: bl ___divmodsi4
- %3 = load i32* @tabsize, align 4
- %4 = srem i32 %cols, %3
- %5 = sdiv i32 %cols, %3
- %6 = tail call i32 @llvm.objectsize.i32(i8* null, i1 false)
- %7 = tail call i8* @__memset_chk(i8* null, i32 9, i32 %5, i32 %6) nounwind
- br label %bb1
-
-bb1:
- %line_indent_len.0 = phi i32 [ %4, %bb ], [ 0, %entry ]
- %8 = getelementptr inbounds i8* null, i32 %line_indent_len.0
- store i8 0, i8* %8, align 1
- ret void
-}
-
-declare i32 @llvm.objectsize.i32(i8*, i1) nounwind readnone
-declare i8* @__memset_chk(i8*, i32, i32, i32) nounwind
OpenPOWER on IntegriCloud