~louis/ubuntu/trusty/clamav/lp799623_fix_logrotate

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/test/CodeGen/X86/2008-08-05-SpillerBug.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-darwin -disable-fp-elim -stats |& grep asm-printer | grep 55
 
2
; PR2568
 
3
 
 
4
@g_3 = external global i16              ; <i16*> [#uses=1]
 
5
@g_5 = external global i32              ; <i32*> [#uses=3]
 
6
 
 
7
declare i32 @func_15(i16 signext , i16 signext , i32) nounwind 
 
8
 
 
9
define void @func_9_entry_2E_ce(i8 %p_11) nounwind {
 
10
newFuncRoot:
 
11
        br label %entry.ce
 
12
 
 
13
entry.ce.ret.exitStub:          ; preds = %entry.ce
 
14
        ret void
 
15
 
 
16
entry.ce:               ; preds = %newFuncRoot
 
17
        load i16* @g_3, align 2         ; <i16>:0 [#uses=1]
 
18
        icmp sgt i16 %0, 0              ; <i1>:1 [#uses=1]
 
19
        zext i1 %1 to i32               ; <i32>:2 [#uses=1]
 
20
        load i32* @g_5, align 4         ; <i32>:3 [#uses=4]
 
21
        icmp ugt i32 %2, %3             ; <i1>:4 [#uses=1]
 
22
        zext i1 %4 to i32               ; <i32>:5 [#uses=1]
 
23
        icmp eq i32 %3, 0               ; <i1>:6 [#uses=1]
 
24
        %.0 = select i1 %6, i32 1, i32 %3               ; <i32> [#uses=1]
 
25
        urem i32 1, %.0         ; <i32>:7 [#uses=2]
 
26
        sext i8 %p_11 to i16            ; <i16>:8 [#uses=1]
 
27
        trunc i32 %3 to i16             ; <i16>:9 [#uses=1]
 
28
        tail call i32 @func_15( i16 signext  %8, i16 signext  %9, i32 1 ) nounwind              ; <i32>:10 [#uses=0]
 
29
        load i32* @g_5, align 4         ; <i32>:11 [#uses=1]
 
30
        trunc i32 %11 to i16            ; <i16>:12 [#uses=1]
 
31
        tail call i32 @func_15( i16 signext  %12, i16 signext  1, i32 %7 ) nounwind             ; <i32>:13 [#uses=0]
 
32
        sext i8 %p_11 to i32            ; <i32>:14 [#uses=1]
 
33
        %p_11.lobit = lshr i8 %p_11, 7          ; <i8> [#uses=1]
 
34
        %tmp = zext i8 %p_11.lobit to i32               ; <i32> [#uses=1]
 
35
        %tmp.not = xor i32 %tmp, 1              ; <i32> [#uses=1]
 
36
        %.015 = ashr i32 %14, %tmp.not          ; <i32> [#uses=2]
 
37
        icmp eq i32 %.015, 0            ; <i1>:15 [#uses=1]
 
38
        %.016 = select i1 %15, i32 1, i32 %.015         ; <i32> [#uses=1]
 
39
        udiv i32 %7, %.016              ; <i32>:16 [#uses=1]
 
40
        icmp ult i32 %5, %16            ; <i1>:17 [#uses=1]
 
41
        zext i1 %17 to i32              ; <i32>:18 [#uses=1]
 
42
        store i32 %18, i32* @g_5, align 4
 
43
        br label %entry.ce.ret.exitStub
 
44
}