~louis/ubuntu/trusty/clamav/lp799623_fix_logrotate

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/test/CodeGen/ARM/2007-05-07-jumptoentry.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 | not grep 1_0
 
2
; This used to create an extra branch to 'entry', LBB1_0.
 
3
 
 
4
; ModuleID = 'bug.bc'
 
5
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:64:64-v128:128:128-a0:0:64"
 
6
target triple = "arm-apple-darwin8"
 
7
        %struct.HexxagonMove = type { i8, i8, i32 }
 
8
        %struct.HexxagonMoveList = type { i32, %struct.HexxagonMove* }
 
9
 
 
10
define void @_ZN16HexxagonMoveList8sortListEv(%struct.HexxagonMoveList* %this) {
 
11
entry:
 
12
        %tmp51 = getelementptr %struct.HexxagonMoveList* %this, i32 0, i32 0            ; <i32*> [#uses=1]
 
13
        %tmp2 = getelementptr %struct.HexxagonMoveList* %this, i32 0, i32 1             ; <%struct.HexxagonMove**> [#uses=2]
 
14
        br label %bb49
 
15
 
 
16
bb1:            ; preds = %bb49
 
17
        %tmp3 = load %struct.HexxagonMove** %tmp2               ; <%struct.HexxagonMove*> [#uses=5]
 
18
        %tmp6 = getelementptr %struct.HexxagonMove* %tmp3, i32 %i.1, i32 2              ; <i32*> [#uses=1]
 
19
        %tmp7 = load i32* %tmp6         ; <i32> [#uses=2]
 
20
        %tmp12 = add i32 %i.1, 1                ; <i32> [#uses=7]
 
21
        %tmp14 = getelementptr %struct.HexxagonMove* %tmp3, i32 %tmp12, i32 2           ; <i32*> [#uses=1]
 
22
        %tmp15 = load i32* %tmp14               ; <i32> [#uses=1]
 
23
        %tmp16 = icmp slt i32 %tmp7, %tmp15             ; <i1> [#uses=1]
 
24
        br i1 %tmp16, label %cond_true, label %bb49
 
25
 
 
26
cond_true:              ; preds = %bb1
 
27
        %tmp23.0 = getelementptr %struct.HexxagonMove* %tmp3, i32 %i.1, i32 0           ; <i8*> [#uses=2]
 
28
        %tmp67 = load i8* %tmp23.0              ; <i8> [#uses=1]
 
29
        %tmp23.1 = getelementptr %struct.HexxagonMove* %tmp3, i32 %i.1, i32 1           ; <i8*> [#uses=1]
 
30
        %tmp68 = load i8* %tmp23.1              ; <i8> [#uses=1]
 
31
        %tmp3638 = getelementptr %struct.HexxagonMove* %tmp3, i32 %tmp12, i32 0         ; <i8*> [#uses=1]
 
32
        tail call void @llvm.memcpy.i32( i8* %tmp23.0, i8* %tmp3638, i32 8, i32 4 )
 
33
        %tmp41 = load %struct.HexxagonMove** %tmp2              ; <%struct.HexxagonMove*> [#uses=3]
 
34
        %tmp44.0 = getelementptr %struct.HexxagonMove* %tmp41, i32 %tmp12, i32 0                ; <i8*> [#uses=1]
 
35
        store i8 %tmp67, i8* %tmp44.0
 
36
        %tmp44.1 = getelementptr %struct.HexxagonMove* %tmp41, i32 %tmp12, i32 1                ; <i8*> [#uses=1]
 
37
        store i8 %tmp68, i8* %tmp44.1
 
38
        %tmp44.2 = getelementptr %struct.HexxagonMove* %tmp41, i32 %tmp12, i32 2                ; <i32*> [#uses=1]
 
39
        store i32 %tmp7, i32* %tmp44.2
 
40
        br label %bb49
 
41
 
 
42
bb49:           ; preds = %bb59, %cond_true, %bb1, %entry
 
43
        %i.1 = phi i32 [ 0, %entry ], [ %tmp12, %bb1 ], [ %tmp12, %cond_true ], [ 0, %bb59 ]            ; <i32> [#uses=5]
 
44
        %move.2 = phi i32 [ 0, %entry ], [ 1, %cond_true ], [ %move.2, %bb1 ], [ 0, %bb59 ]             ; <i32> [#uses=2]
 
45
        %tmp52 = load i32* %tmp51               ; <i32> [#uses=1]
 
46
        %tmp53 = add i32 %tmp52, -1             ; <i32> [#uses=1]
 
47
        %tmp55 = icmp sgt i32 %tmp53, %i.1              ; <i1> [#uses=1]
 
48
        br i1 %tmp55, label %bb1, label %bb59
 
49
 
 
50
bb59:           ; preds = %bb49
 
51
        %tmp61 = icmp eq i32 %move.2, 0         ; <i1> [#uses=1]
 
52
        br i1 %tmp61, label %return, label %bb49
 
53
 
 
54
return:         ; preds = %bb59
 
55
        ret void
 
56
}
 
57
 
 
58
declare void @llvm.memcpy.i32(i8*, i8*, i32, i32)