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

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/test/CodeGen/ARM/movt-movw-global.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 | FileCheck %s
 
2
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64"
 
3
target triple = "armv7-eabi"
 
4
 
 
5
@foo = common global i32 0                        ; <i32*> [#uses=1]
 
6
 
 
7
define arm_aapcs_vfpcc i32* @bar1() nounwind readnone {
 
8
entry:
 
9
; CHECK:      movw    r0, :lower16:foo
 
10
; CHECK-NEXT: movt    r0, :upper16:foo
 
11
  ret i32* @foo
 
12
}
 
13
 
 
14
define arm_aapcs_vfpcc void @bar2(i32 %baz) nounwind {
 
15
entry:
 
16
; CHECK:      movw    r1, :lower16:foo
 
17
; CHECK-NEXT: movt    r1, :upper16:foo
 
18
  store i32 %baz, i32* @foo, align 4
 
19
  ret void
 
20
}