~ubuntu-branches/ubuntu/natty/clamav/natty-security

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/test/CodeGen/X86/subreg-to-reg-6.ll

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-12-02 21:04:10 UTC
  • mfrom: (0.35.17 sid)
  • Revision ID: james.westby@ubuntu.com-20101202210410-ppgyckmylngsfa8o
Tags: 0.96.5+dfsg-1ubuntu1
* Merge from debian unstable.  Remaining changes:
  - Drop initial signature definitions from clamav-base
  - Drop build-dep on electric-fence (in Universe)
  - Add apparmor profiles for clamd and freshclam along with maintainer
    script changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
; RUN: llc < %s -march=x86-64
2
 
 
3
 
define i64 @foo() nounwind {
4
 
entry:
5
 
        %t0 = load i32* null, align 8
6
 
        switch i32 %t0, label %bb65 [
7
 
                i32 16, label %bb
8
 
                i32 12, label %bb56
9
 
        ]
10
 
 
11
 
bb:
12
 
        br label %bb65
13
 
 
14
 
bb56:
15
 
        unreachable
16
 
 
17
 
bb65:
18
 
        %a = phi i64 [ 0, %bb ], [ 0, %entry ]
19
 
        tail call void asm "", "{cx}"(i64 %a) nounwind
20
 
        %t15 = and i64 %a, 4294967295
21
 
        ret i64 %t15
22
 
}
23
 
 
24
 
define i64 @bar(i64 %t0) nounwind {
25
 
        call void asm "", "{cx}"(i64 0) nounwind
26
 
        %t1 = sub i64 0, %t0
27
 
        %t2 = and i64 %t1, 4294967295
28
 
        ret i64 %t2
29
 
}