brintos

brintos / llvm-project-archived public Read only

0
0
Text · 680 B · 968337d Raw
18 lines · plain
1; RUN: llc -mtriple=s390x-ibm-zos -stop-after=systemz-isel --simplify-mir < %s | FileCheck %s2 3 4declare i64 @calc(i64 noundef, ptr noundef)5declare i64 @morework(i64 noundef)6 7@i = external local_unnamed_addr global i64, align 88 9define i64 @work() {10entry:11; CHECK:    %{{.*}}:addr64bit = ADA_ENTRY_VALUE target-flags(systemz-ada-datasymboladdr) @i,12; CHECK:    %{{.*}}:addr64bit = ADA_ENTRY_VALUE target-flags(systemz-ada-directfuncdesc) @calc,13; CHECK:    %{{.*}}:addr64bit = ADA_ENTRY_VALUE target-flags(systemz-ada-indirectfuncdesc) @morework,14  %0 = load i64, ptr @i, align 815  %call = tail call i64 @calc(i64 noundef %0, ptr noundef nonnull @morework) #216  ret i64 %call17}18