diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2015-03-05 18:55:50 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2015-03-05 18:55:50 +0000 |
commit | 2e2dbc35dafda95c2cfff335d3d02556742c848d (patch) | |
tree | 75615c72cbe580761bd51dd8f981c87fda667dde /test/CodeGen/PowerPC/ppc64le-localentry.ll | |
parent | 42fcf79f36c07f30827087bcbf3f04d0a45ac2f8 (diff) |
Use the generic Lfunc_begin label on ppc.
This removes yet another custom label to mark the start of a function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231390 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC/ppc64le-localentry.ll')
-rw-r--r-- | test/CodeGen/PowerPC/ppc64le-localentry.ll | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CodeGen/PowerPC/ppc64le-localentry.ll b/test/CodeGen/PowerPC/ppc64le-localentry.ll index 73697b24ace..be64f115176 100644 --- a/test/CodeGen/PowerPC/ppc64le-localentry.ll +++ b/test/CodeGen/PowerPC/ppc64le-localentry.ll @@ -16,6 +16,7 @@ target triple = "powerpc64le-unknown-linux-gnu" define i64 @use_toc(i64 %a) nounwind { entry: ; CHECK-LABEL: @use_toc +; CHECK-NEXT: .L{{.*}}: ; CHECK-NEXT: .Ltmp[[TMP1:[0-9]+]]: ; CHECK-NEXT: addis 2, 12, .TOC.-.Ltmp[[TMP1]]@ha ; CHECK-NEXT: addi 2, 2, .TOC.-.Ltmp[[TMP1]]@l @@ -32,6 +33,7 @@ declare void @callee() define void @use_toc_implicit() nounwind { entry: ; CHECK-LABEL: @use_toc_implicit +; CHECK-NEXT: .L{{.*}}: ; CHECK-NEXT: .Ltmp[[TMP1:[0-9]+]]: ; CHECK-NEXT: addis 2, 12, .TOC.-.Ltmp[[TMP1]]@ha ; CHECK-NEXT: addi 2, 2, .TOC.-.Ltmp[[TMP1]]@l @@ -45,6 +47,7 @@ entry: define i64 @no_toc(i64 %a) nounwind { entry: ; CHECK-LABEL: @no_toc +; CHECK-NEXT: .L{{.*}}: ; CHECK-NEXT: %entry ret i64 %a } |