projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Free the exception object. Should fix the vg bots.
[oota-llvm.git]
/
test
/
ExecutionEngine
/
MCJIT
/
test-data-align.ll
1
; RUN: %lli_mcjit -O0 %s
2
3
; Check that a variable is always aligned as specified.
4
5
@var = global i32 0, align 32
6
define i32 @main() {
7
%addr = ptrtoint i32* @var to i64
8
%mask = and i64 %addr, 31
9
%tst = icmp eq i64 %mask, 0
10
br i1 %tst, label %good, label %bad
11
good:
12
ret i32 0
13
bad:
14
ret i32 1
15
}