You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.246
Former-commit-id: 0c7ce5b1a7851e13f22acfd379b7f9fb304e4833
This commit is contained in:
parent
a7724cd563
commit
279aa8f685
23
external/llvm/test/CodeGen/Mips/2008-07-15-InternalConstant.ll
vendored
Normal file
23
external/llvm/test/CodeGen/Mips/2008-07-15-InternalConstant.ll
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
; RUN: llc -march=mips -relocation-model=static < %s | FileCheck %s
|
||||
|
||||
@.str = internal unnamed_addr constant [10 x i8] c"AAAAAAAAA\00"
|
||||
@i0 = internal unnamed_addr constant [5 x i32] [ i32 0, i32 1, i32 2, i32 3, i32 4 ]
|
||||
|
||||
define i8* @foo() nounwind {
|
||||
entry:
|
||||
; CHECK: foo
|
||||
; CHECK: %hi(.str)
|
||||
; CHECK: %lo(.str)
|
||||
ret i8* getelementptr ([10 x i8], [10 x i8]* @.str, i32 0, i32 0)
|
||||
}
|
||||
|
||||
define i32* @bar() nounwind {
|
||||
entry:
|
||||
; CHECK: bar
|
||||
; CHECK: %hi(i0)
|
||||
; CHECK: %lo(i0)
|
||||
ret i32* getelementptr ([5 x i32], [5 x i32]* @i0, i32 0, i32 0)
|
||||
}
|
||||
|
||||
; CHECK: rodata.str1.4,"aMS",@progbits
|
||||
; CHECK: rodata,"a",@progbits
|
Reference in New Issue
Block a user