projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ARM: Only enforce 4-byte alignment on Thumb-2 functions with constant pools.
[oota-llvm.git]
/
test
/
CodeGen
/
ARM
/
thumb-alignment.ll
1
; RUN: llc -relocation-model=pic -mtriple=thumbv7-unknown-linux -o - %s | FileCheck %s
2
3
@x = external global i32
4
5
; CHECK: .globl foo
6
; CHECK-NEXT: .align 2
7
define i32* @foo() {
8
ret i32* @x
9
}
10
11
; CHECK: .globl bar
12
; CHECK-NEXT: .align 1
13
define i32* @bar() {
14
ret i32* zeroinitializer
15
}