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

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/test/CodeGen/X86/pr3241.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
2
 
; PR3241
3
 
 
4
 
@g_620 = external global i32
5
 
 
6
 
define void @func_18(i32 %p_21) nounwind {
7
 
entry:
8
 
        %t0 = call i32 @func_31(i32 %p_21) nounwind
9
 
        %t1 = call i32 @safe_add_macro_uint32_t_u_u() nounwind
10
 
        %t2 = icmp sgt i32 %t1, 0
11
 
        %t3 = zext i1 %t2 to i32
12
 
        %t4 = load i32* @g_620, align 4
13
 
        %t5 = icmp eq i32 %t3, %t4
14
 
        %t6 = xor i32 %p_21, 1
15
 
        %t7 = call i32 @func_55(i32 %t6) nounwind
16
 
        br i1 %t5, label %return, label %bb
17
 
 
18
 
bb:
19
 
        unreachable
20
 
 
21
 
return:
22
 
        unreachable
23
 
}
24
 
 
25
 
declare i32 @func_31(i32)
26
 
 
27
 
declare i32 @safe_add_macro_uint32_t_u_u()
28
 
 
29
 
declare i32 @func_55(i32)