brintos

brintos / llvm-project-archived public Read only

0
0
Text · 675 B · 4e8d895 Raw
19 lines · plain
1; RUN: %lli -jit-kind=mcjit -O0 -relocation-model=pic -code-model=small %s2; RUN: %lli -lljit-platform=Inactive -O0 -relocation-model=pic -code-model=small %s3; XFAIL: target={{(mips|mipsel)-.*}}, target={{(aarch64|arm).*}}, target={{(i686|i386).*}}4 5@.str = private unnamed_addr constant [6 x i8] c"data1\00", align 16@ptr = global ptr @.str, align 47@.str1 = private unnamed_addr constant [6 x i8] c"data2\00", align 18@ptr2 = global ptr @.str1, align 49 10define i32 @main(i32 %argc, ptr nocapture %argv) nounwind readonly {11entry:12  %0 = load ptr, ptr @ptr, align 413  %1 = load ptr, ptr @ptr2, align 414  %cmp = icmp eq ptr %0, %115  %. = zext i1 %cmp to i3216  ret i32 %.17}18 19