1 ; RUN: %lli -jit-kind=mcjit -remote-mcjit -O0 -mcjit-remote-process=lli-child-target%exeext %s
2 ; XFAIL: target={{.*-windows-(gnu|msvc)}}
3 ; REQUIRES: thread_support
4 ; UNSUPPORTED: target=powerpc64-unknown-linux-gnu
5 ; Remove UNSUPPORTED for powerpc64-unknown-linux-gnu if problem caused by r266663 is fixed
7 ; Check that a variable is always aligned as specified.
9 @var = global i32 0, align 32
10 define i32 @main() nounwind {
11 %addr = ptrtoint ptr @var to i64
12 %mask = and i64 %addr, 31
13 %tst = icmp eq i64 %mask, 0
14 br i1 %tst, label %good, label %bad