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

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/test/Integer/simplecalltest_bt.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: llvm-as %s -o - | llvm-dis > %t1.ll
2
 
; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
3
 
; RUN: diff %t1.ll %t2.ll
4
 
 
5
 
%FunTy = type i31(i31)
6
 
 
7
 
 
8
 
define void @"invoke"(%FunTy *%x)
9
 
begin
10
 
        %foo = call %FunTy* %x(i31 123)
11
 
        ret void
12
 
end
13
 
 
14
 
define i31 @"main"(i31 %argc, i8 **%argv, i8 **%envp)
15
 
begin
16
 
        %retval = call i31 (i31) *@test(i31 %argc)
17
 
        %two    = add i31 %retval, %retval
18
 
        %retval2 = call i31 @test(i31 %argc)
19
 
 
20
 
        %two2 = add i31 %two, %retval2
21
 
        call void @invoke (%FunTy* @test)
22
 
        ret i31 %two2
23
 
end
24
 
 
25
 
define i31 @"test"(i31 %i0)
26
 
begin
27
 
    ret i31 %i0
28
 
end