1; RUN: %lli -jit-kind=orc-mcjit -remote-mcjit -O0 -mcjit-remote-process=lli-child-target%exeext %s 2; XFAIL: mingw32,win32 3; UNSUPPORTED: powerpc64-unknown-linux-gnu 4; Remove UNSUPPORTED for powerpc64-unknown-linux-gnu if problem caused by r266663 is fixed 5 6; Check that a variable is always aligned as specified. 7 8@var = global i32 0, align 32 9define 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 14good: 15 ret i32 0 16bad: 17 ret i32 1 18} 19