You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.179
Former-commit-id: 67aa10e65b237e1c4537630979ee99ebe1374215
This commit is contained in:
parent
d6bde52373
commit
8625704ad8
16
external/llvm/test/ExecutionEngine/MCJIT/test-ptr-reloc.ll
vendored
Normal file
16
external/llvm/test/ExecutionEngine/MCJIT/test-ptr-reloc.ll
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
; RUN: %lli -O0 %s
|
||||
|
||||
@.str = private unnamed_addr constant [6 x i8] c"data1\00", align 1
|
||||
@ptr = global i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i32 0, i32 0), align 4
|
||||
@.str1 = private unnamed_addr constant [6 x i8] c"data2\00", align 1
|
||||
@ptr2 = global i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str1, i32 0, i32 0), align 4
|
||||
|
||||
define i32 @main(i32 %argc, i8** nocapture %argv) nounwind readonly {
|
||||
entry:
|
||||
%0 = load i8*, i8** @ptr, align 4
|
||||
%1 = load i8*, i8** @ptr2, align 4
|
||||
%cmp = icmp eq i8* %0, %1
|
||||
%. = zext i1 %cmp to i32
|
||||
ret i32 %.
|
||||
}
|
||||
|
Reference in New Issue
Block a user