brintos

brintos / llvm-project-archived public Read only

0
0
Text · 498 B · 56f1569 Raw
24 lines · plain
1; RUN: llc -mtriple=mips -relocation-model=static  < %s | FileCheck %s2 3@.str = internal unnamed_addr constant [10 x i8] c"AAAAAAAAA\00"4@i0 = internal unnamed_addr constant [5 x i32] [ i32 0, i32 1, i32 2, i32 3, i32 4 ]5 6define ptr @foo() nounwind {7entry:8; CHECK: foo9; CHECK: %hi(.str)10; CHECK: %lo(.str)11	ret ptr @.str12}13 14define ptr @bar() nounwind  {15entry:16; CHECK: bar17; CHECK: %hi(i0)18; CHECK: %lo(i0)19  ret ptr @i020}21 22; CHECK: rodata.str1.4,"aMS",@progbits23; CHECK: rodata,"a",@progbits24