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 @.str = private unnamed_addr constant [6 x i8] c"data1\00", align 1 7 @ptr = global i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i32 0, i32 0), align 4 8 @.str1 = private unnamed_addr constant [6 x i8] c"data2\00", align 1 9 @ptr2 = global i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str1, i32 0, i32 0), align 4 10 11 define i32 @main(i32 %argc, i8** nocapture %argv) nounwind readonly { 12 entry: 13 %0 = load i8*, i8** @ptr, align 4 14 %1 = load i8*, i8** @ptr2, align 4 15 %cmp = icmp eq i8* %0, %1 16 %. = zext i1 %cmp to i32 17 ret i32 %. 18 } 19