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