~ubuntu-branches/ubuntu/maverick/clamav/maverick-updates

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/test/CodeGen/Generic/call2-ret0.ll

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-12-17 12:30:20 UTC
  • mfrom: (97.1.1 maverick-proposed)
  • Revision ID: james.westby@ubuntu.com-20101217123020-o02fhyzykv5z98ri
Tags: 0.96.5+dfsg-1ubuntu1.10.10.1
* Microversion update for Maverick (LP: #691414)
  - Improved database login times
  - Expanded use of new bytecode signatures
  - Other bugfixes/improvements

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
; RUN: llc < %s
2
 
 
3
 
define i32 @bar(i32 %x) {
4
 
        ret i32 0
5
 
}
6
 
 
7
 
define i32 @foo(i32 %x) {
8
 
        %q = call i32 @bar( i32 1 )             ; <i32> [#uses=1]
9
 
        ret i32 %q
10
 
}
11
 
 
12
 
define i32 @main() {
13
 
        %r = call i32 @foo( i32 2 )             ; <i32> [#uses=1]
14
 
        ret i32 %r
15
 
}
16