llvm.org GIT mirror llvm / 4fc5d07
Partially Merging r237790: ------------------------------------------------------------------------ r237790 | dsanders | 2015-05-20 14:19:19 +0100 (Wed, 20 May 2015) | 15 lines [mips] Fix ehframe-indirect.ll test. Summary: -check-prefix replaces the default CHECK prefix rather than adding to it and must be explicitly re-added. Also added the N32 cases. Reviewers: petarj Reviewed By: petarj Subscribers: tberghammer, llvm-commits Differential Revision: http://reviews.llvm.org/D9668 ------------------------------------------------------------------------ Merged all except the N32 cases which seem to require later patches that are fine on the trunk but don't seem to work on the branch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_36@240333 91177308-0d34-0410-b5e6-96231b3b80d8 Daniel Sanders 4 years ago
1 changed file(s) with 20 addition(s) and 20 deletion(s). Raw diff Collapse all Expand all
None ; RUN: llc -mtriple=mipsel-linux-gnu < %s | FileCheck -check-prefix=CHECK32 %s
1 ; RUN: llc -mtriple=mipsel-linux-android < %s | FileCheck -check-prefix=CHECK32 %s
2 ; RUN: llc -mtriple=mips64el-linux-gnu < %s | FileCheck -check-prefix=CHECK64 %s
3 ; RUN: llc -mtriple=mips64el-linux-android < %s | FileCheck -check-prefix=CHECK64 %s
0 ; RUN: llc -mtriple=mipsel-linux-gnu < %s | FileCheck -check-prefix=ALL -check-prefix=O32 %s
1 ; RUN: llc -mtriple=mipsel-linux-android < %s | FileCheck -check-prefix=ALL -check-prefix=O32 %s
2 ; RUN: llc -mtriple=mips64el-linux-gnu < %s | FileCheck -check-prefix=ALL -check-prefix=N64 %s
3 ; RUN: llc -mtriple=mips64el-linux-android < %s | FileCheck -check-prefix=ALL -check-prefix=N64 %s
44
55 define i32 @main() {
6 ; CHECK: .cfi_startproc
7 ; CHECK: .cfi_personality 128, DW.ref.__gxx_personality_v0
6 ; ALL: .cfi_startproc
7 ; ALL: .cfi_personality 128, DW.ref.__gxx_personality_v0
88
99 entry:
1010 invoke void @foo() to label %cont unwind label %lpad
11 ; CHECK: foo
12 ; CHECK: jalr
11 ; ALL: foo
12 ; ALL: jalr
1313
1414 lpad:
1515 %0 = landingpad { i8*, i32 } personality i8*
1919 cont:
2020 ret i32 0
2121 }
22 ; CHECK: .cfi_endproc
22 ; ALL: .cfi_endproc
2323
2424 declare i32 @__gxx_personality_v0(...)
2525
2626 declare void @foo()
2727
28 ; CHECK: .hidden DW.ref.__gxx_personality_v0
29 ; CHECK: .weak DW.ref.__gxx_personality_v0
30 ; CHECK: .section .data.DW.ref.__gxx_personality_v0,"aGw",@progbits,DW.ref.__gxx_personality_v0,comdat
31 ; CHECK32: .align 2
32 ; CHECK64: .align 3
33 ; CHECK: .type DW.ref.__gxx_personality_v0,@object
34 ; CHECK32: .size DW.ref.__gxx_personality_v0, 4
35 ; CHECK64: .size DW.ref.__gxx_personality_v0, 8
36 ; CHECK: DW.ref.__gxx_personality_v0:
37 ; CHECK32: .4byte __gxx_personality_v0
38 ; CHECK64: .8byte __gxx_personality_v0
28 ; ALL: .hidden DW.ref.__gxx_personality_v0
29 ; ALL: .weak DW.ref.__gxx_personality_v0
30 ; ALL: .section .data.DW.ref.__gxx_personality_v0,"aGw",@progbits,DW.ref.__gxx_personality_v0,comdat
31 ; O32: .align 2
32 ; N64: .align 3
33 ; ALL: .type DW.ref.__gxx_personality_v0,@object
34 ; O32: .size DW.ref.__gxx_personality_v0, 4
35 ; N64: .size DW.ref.__gxx_personality_v0, 8
36 ; ALL: DW.ref.__gxx_personality_v0:
37 ; O32: .4byte __gxx_personality_v0
38 ; N64: .8byte __gxx_personality_v0