20 lines · plain
1; RUN: %lli -jit-kind=mcjit -remote-mcjit -O0 -mcjit-remote-process=lli-child-target %s2; XFAIL: target={{.*-windows-(gnu|msvc)}}3; REQUIRES: thread_support4; UNSUPPORTED: target=powerpc64-unknown-linux-gnu5; Remove UNSUPPORTED for powerpc64-unknown-linux-gnu if problem caused by r266663 is fixed6 7; Check that a variable is always aligned as specified.8 9@var = global i32 0, align 3210define i32 @main() nounwind {11 %addr = ptrtoint ptr @var to i6412 %mask = and i64 %addr, 3113 %tst = icmp eq i64 %mask, 014 br i1 %tst, label %good, label %bad15good:16 ret i32 017bad:18 ret i32 119}20