~ubuntu-branches/ubuntu/maverick/clamav/maverick-backports

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/test/CodeGen/X86/hidden-vis-3.ll

  • Committer: Bazaar Package Importer
  • Author(s): Stephen Gran, Stephen Gran, Michael Tautschnig
  • Date: 2010-04-26 21:41:18 UTC
  • mfrom: (2.1.6 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100426214118-i6lo606wnh7ywfj6
Tags: 0.96+dfsg-4
[ Stephen Gran ]
* Fixed typo in clamav-milter's postinst

[ Michael Tautschnig ]
* Fixed typo in clamav-freshclam's postinst (closes: #579271)
* Debconf translation updates
  - Portuguese (closes: #579068)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
; RUN: llc < %s -mtriple=i386-apple-darwin9   | FileCheck %s -check-prefix=X32
 
2
; RUN: llc < %s -mtriple=x86_64-apple-darwin9 | FileCheck %s -check-prefix=X64
 
3
 
 
4
@x = external hidden global i32         ; <i32*> [#uses=1]
 
5
@y = extern_weak hidden global i32      ; <i32*> [#uses=1]
 
6
 
 
7
define i32 @t() nounwind readonly {
 
8
entry:
 
9
; X32: _t:
 
10
; X32: movl _y, %eax
 
11
 
 
12
; X64: _t:
 
13
; X64: movl _y(%rip), %eax
 
14
 
 
15
        %0 = load i32* @x, align 4              ; <i32> [#uses=1]
 
16
        %1 = load i32* @y, align 4              ; <i32> [#uses=1]
 
17
        %2 = add i32 %1, %0             ; <i32> [#uses=1]
 
18
        ret i32 %2
 
19
}