~louis/ubuntu/trusty/clamav/lp799623_fix_logrotate

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/test/CodeGen/Generic/2003-05-30-BadPreselectPhi.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
 
2
 
 
3
;; Date:     May 28, 2003.
 
4
;; From:     test/Programs/SingleSource/richards_benchmark.c
 
5
;; Function: struct task *handlerfn(struct packet *pkt)
 
6
;;
 
7
;; Error:    PreSelection puts the arguments of the Phi just before
 
8
;;           the Phi instead of in predecessor blocks.  This later
 
9
;;           causes llc to produces an invalid register <NULL VALUE>
 
10
;;           for the phi arguments.
 
11
 
 
12
        %struct..packet = type { %struct..packet*, i32, i32, i32, [4 x i8] }
 
13
        %struct..task = type { %struct..task*, i32, i32, %struct..packet*, i32, %struct..task* (%struct..packet*)*, i32, i32 }
 
14
@v1 = external global i32               ; <i32*> [#uses=1]
 
15
@v2 = external global i32               ; <i32*> [#uses=1]
 
16
 
 
17
define %struct..task* @handlerfn(%struct..packet* %pkt.2) {
 
18
entry:
 
19
        %tmp.1 = icmp ne %struct..packet* %pkt.2, null          ; <i1> [#uses=1]
 
20
        br i1 %tmp.1, label %cond_false, label %cond_continue
 
21
 
 
22
cond_false:             ; preds = %entry
 
23
        br label %cond_continue
 
24
 
 
25
cond_continue:          ; preds = %cond_false, %entry
 
26
        %mem_tmp.0 = phi i32* [ @v2, %cond_false ], [ @v1, %entry ]             ; <i32*> [#uses=1]
 
27
        %tmp.12 = bitcast i32* %mem_tmp.0 to %struct..packet*           ; <%struct..packet*> [#uses=1]
 
28
        call void @append( %struct..packet* %pkt.2, %struct..packet* %tmp.12 )
 
29
        ret %struct..task* null
 
30
}
 
31
 
 
32
declare void @append(%struct..packet*, %struct..packet*)
 
33