~louis/ubuntu/trusty/clamav/lp799623_fix_logrotate

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/test/CodeGen/X86/2007-11-14-Coalescer-Bug.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 -march=x86 -x86-asm-syntax=att | grep movl | count 2
 
2
; RUN: llc < %s -march=x86 -x86-asm-syntax=att | not grep movb
 
3
 
 
4
        %struct.double_int = type { i64, i64 }
 
5
        %struct.tree_common = type <{ i8, [3 x i8] }>
 
6
        %struct.tree_int_cst = type { %struct.tree_common, %struct.double_int }
 
7
        %struct.tree_node = type { %struct.tree_int_cst }
 
8
@tree_code_type = external constant [0 x i32]           ; <[0 x i32]*> [#uses=1]
 
9
 
 
10
define i32 @simple_cst_equal(%struct.tree_node* %t1, %struct.tree_node* %t2) nounwind {
 
11
entry:
 
12
        %tmp2526 = bitcast %struct.tree_node* %t1 to i32*               ; <i32*> [#uses=1]
 
13
        br i1 false, label %UnifiedReturnBlock, label %bb21
 
14
 
 
15
bb21:           ; preds = %entry
 
16
        %tmp27 = load i32* %tmp2526, align 4            ; <i32> [#uses=1]
 
17
        %tmp29 = and i32 %tmp27, 255            ; <i32> [#uses=3]
 
18
        %tmp2930 = trunc i32 %tmp29 to i8               ; <i8> [#uses=1]
 
19
        %tmp37 = load i32* null, align 4                ; <i32> [#uses=1]
 
20
        %tmp39 = and i32 %tmp37, 255            ; <i32> [#uses=2]
 
21
        %tmp3940 = trunc i32 %tmp39 to i8               ; <i8> [#uses=1]
 
22
        %tmp43 = add i32 %tmp29, -3             ; <i32> [#uses=1]
 
23
        %tmp44 = icmp ult i32 %tmp43, 3         ; <i1> [#uses=1]
 
24
        br i1 %tmp44, label %bb47.split, label %bb76
 
25
 
 
26
bb47.split:             ; preds = %bb21
 
27
        ret i32 0
 
28
 
 
29
bb76:           ; preds = %bb21
 
30
        br i1 false, label %bb82, label %bb146.split
 
31
 
 
32
bb82:           ; preds = %bb76
 
33
        %tmp94 = getelementptr [0 x i32]* @tree_code_type, i32 0, i32 %tmp39            ; <i32*> [#uses=1]
 
34
        %tmp95 = load i32* %tmp94, align 4              ; <i32> [#uses=1]
 
35
        %tmp9596 = trunc i32 %tmp95 to i8               ; <i8> [#uses=1]
 
36
        %tmp98 = add i8 %tmp9596, -4            ; <i8> [#uses=1]
 
37
        %tmp99 = icmp ugt i8 %tmp98, 5          ; <i1> [#uses=1]
 
38
        br i1 %tmp99, label %bb102, label %bb106
 
39
 
 
40
bb102:          ; preds = %bb82
 
41
        ret i32 0
 
42
 
 
43
bb106:          ; preds = %bb82
 
44
        ret i32 0
 
45
 
 
46
bb146.split:            ; preds = %bb76
 
47
        %tmp149 = icmp eq i8 %tmp2930, %tmp3940         ; <i1> [#uses=1]
 
48
        br i1 %tmp149, label %bb153, label %UnifiedReturnBlock
 
49
 
 
50
bb153:          ; preds = %bb146.split
 
51
        switch i32 %tmp29, label %UnifiedReturnBlock [
 
52
                 i32 0, label %bb155
 
53
                 i32 1, label %bb187
 
54
        ]
 
55
 
 
56
bb155:          ; preds = %bb153
 
57
        ret i32 0
 
58
 
 
59
bb187:          ; preds = %bb153
 
60
        %tmp198 = icmp eq %struct.tree_node* %t1, %t2           ; <i1> [#uses=1]
 
61
        br i1 %tmp198, label %bb201, label %UnifiedReturnBlock
 
62
 
 
63
bb201:          ; preds = %bb187
 
64
        ret i32 0
 
65
 
 
66
UnifiedReturnBlock:             ; preds = %bb187, %bb153, %bb146.split, %entry
 
67
        ret i32 0
 
68
}