~louis/ubuntu/trusty/clamav/lp799623_fix_logrotate

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/test/Other/2003-02-19-LoopInfoNestingBug.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
; LoopInfo is incorrectly calculating loop nesting!  In this case it doesn't 
 
2
; figure out that loop "Inner" should be nested inside of leep "LoopHeader", 
 
3
; and instead nests it just inside loop "Top"
 
4
;
 
5
; RUN: opt < %s -analyze -loops | \
 
6
; RUN:   grep {     Loop at depth 3 containing: %Inner<header><latch><exiting>}
 
7
;
 
8
define void @test() {
 
9
        br label %Top
 
10
 
 
11
Top:            ; preds = %Out, %0
 
12
        br label %LoopHeader
 
13
 
 
14
Next:           ; preds = %LoopHeader
 
15
        br i1 false, label %Inner, label %Out
 
16
 
 
17
Inner:          ; preds = %Inner, %Next
 
18
        br i1 false, label %Inner, label %LoopHeader
 
19
 
 
20
LoopHeader:             ; preds = %Inner, %Top
 
21
        br label %Next
 
22
 
 
23
Out:            ; preds = %Next
 
24
        br i1 false, label %Top, label %Done
 
25
 
 
26
Done:           ; preds = %Out
 
27
        ret void
 
28
}
 
29