Temporarily Revert "Nuke the old JIT." as it's not quite ready to
[oota-llvm.git] / test / ExecutionEngine / MCJIT / remote / test-data-align-remote.ll
1 ; RUN:  %lli_mcjit -remote-mcjit -O0 -mcjit-remote-process=lli-child-target%exeext %s
2
3 ; Check that a variable is always aligned as specified.
4
5 @var = global i32 0, align 32
6 define i32 @main() nounwind {
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 }