~louis/ubuntu/trusty/clamav/lp799623_fix_logrotate

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/test/Analysis/BasicAA/2009-10-13-GEP-BaseNoAlias.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: opt < %s -aa-eval -print-all-alias-modref-info -disable-output |& grep {NoAlias:.*%P,.*@Z}
 
2
; If GEP base doesn't alias Z, then GEP doesn't alias Z.
 
3
; rdar://7282591
 
4
 
 
5
@Y = common global i32 0
 
6
@Z = common global i32 0
 
7
 
 
8
define void @foo(i32 %cond) nounwind ssp {
 
9
entry:
 
10
  %a = alloca i32
 
11
  %tmp = icmp ne i32 %cond, 0
 
12
  br i1 %tmp, label %bb, label %bb1
 
13
 
 
14
bb:
 
15
  %b = getelementptr i32* %a, i32 0
 
16
  br label %bb2
 
17
 
 
18
bb1:
 
19
  br label %bb2
 
20
 
 
21
bb2:
 
22
  %P = phi i32* [ %b, %bb ], [ @Y, %bb1 ]
 
23
  %tmp1 = load i32* @Z, align 4
 
24
  store i32 123, i32* %P, align 4
 
25
  %tmp2 = load i32* @Z, align 4
 
26
  br label %return
 
27
 
 
28
return:
 
29
  ret void
 
30
}