~louis/ubuntu/trusty/clamav/lp799623_fix_logrotate

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/test/CodeGen/X86/2009-09-21-NoSpillLoopCount.ll

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-03-12 11:30:04 UTC
  • mfrom: (0.41.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100312113004-b0fop4bkycszdd0z
Tags: 0.96~rc1+dfsg-0ubuntu1
* New upstream RC - FFE (LP: #537636):
  - Add OfficialDatabaseOnly option to clamav-base.postinst.in
  - Add LocalSocketGroup option to clamav-base.postinst.in
  - Add LocalSocketMode option to clamav-base.postinst.in
  - Add CrossFilesystems option to clamav-base.postinst.in
  - Add ClamukoScannerCount option to clamav-base.postinst.in
  - Add BytecodeSecurity opiton to clamav-base.postinst.in
  - Add DetectionStatsHostID option to clamav-freshclam.postinst.in
  - Add Bytecode option to clamav-freshclam.postinst.in
  - Add MilterSocketGroup option to clamav-milter.postinst.in
  - Add MilterSocketMode option to clamav-milter.postinst.in
  - Add ReportHostname option to clamav-milter.postinst.in
  - Bump libclamav SO version to 6.1.0 in libclamav6.install
  - Drop clamdmon from clamav.examples (no longer shipped by upstream)
  - Drop libclamav.a from libclamav-dev.install (not built by upstream)
  - Update SO version for lintian override for libclamav6
  - Add new Bytecode Testing Tool, usr/bin/clambc, to clamav.install
  - Add build-depends on python and python-setuptools for new test suite
  - Update debian/copyright for the embedded copy of llvm (using the system
    llvm is not currently feasible)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
; RUN: llc < %s -mtriple=i386-apple-darwin10.0 -relocation-model=pic | FileCheck %s
 
2
 
 
3
define void @dot(i16* nocapture %A, i32 %As, i16* nocapture %B, i32 %Bs, i16* nocapture %C, i32 %N) nounwind ssp {
 
4
; CHECK: dot:
 
5
; CHECK: decl %
 
6
; CHECK-NEXT: jne
 
7
entry:
 
8
        %0 = icmp sgt i32 %N, 0         ; <i1> [#uses=1]
 
9
        br i1 %0, label %bb, label %bb2
 
10
 
 
11
bb:             ; preds = %bb, %entry
 
12
        %i.03 = phi i32 [ 0, %entry ], [ %indvar.next, %bb ]            ; <i32> [#uses=3]
 
13
        %sum.04 = phi i32 [ 0, %entry ], [ %10, %bb ]           ; <i32> [#uses=1]
 
14
        %1 = mul i32 %i.03, %As         ; <i32> [#uses=1]
 
15
        %2 = getelementptr i16* %A, i32 %1              ; <i16*> [#uses=1]
 
16
        %3 = load i16* %2, align 2              ; <i16> [#uses=1]
 
17
        %4 = sext i16 %3 to i32         ; <i32> [#uses=1]
 
18
        %5 = mul i32 %i.03, %Bs         ; <i32> [#uses=1]
 
19
        %6 = getelementptr i16* %B, i32 %5              ; <i16*> [#uses=1]
 
20
        %7 = load i16* %6, align 2              ; <i16> [#uses=1]
 
21
        %8 = sext i16 %7 to i32         ; <i32> [#uses=1]
 
22
        %9 = mul i32 %8, %4             ; <i32> [#uses=1]
 
23
        %10 = add i32 %9, %sum.04               ; <i32> [#uses=2]
 
24
        %indvar.next = add i32 %i.03, 1         ; <i32> [#uses=2]
 
25
        %exitcond = icmp eq i32 %indvar.next, %N                ; <i1> [#uses=1]
 
26
        br i1 %exitcond, label %bb1.bb2_crit_edge, label %bb
 
27
 
 
28
bb1.bb2_crit_edge:              ; preds = %bb
 
29
        %phitmp = trunc i32 %10 to i16          ; <i16> [#uses=1]
 
30
        br label %bb2
 
31
 
 
32
bb2:            ; preds = %entry, %bb1.bb2_crit_edge
 
33
        %sum.0.lcssa = phi i16 [ %phitmp, %bb1.bb2_crit_edge ], [ 0, %entry ]           ; <i16> [#uses=1]
 
34
        store i16 %sum.0.lcssa, i16* %C, align 2
 
35
        ret void
 
36
}