summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2016-05-20 12:00:52 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2016-05-20 12:00:52 +0000
commit8571aa3d5d9302c119541f0b56205f6a4ad33ca2 (patch)
tree06d21a8d67c2f8eba8922d7273b289f0886b8cf4 /llvm/test/CodeGen
parented28d41b1aac254436bd6fa7577fcf9e7e36ea19 (diff)
downloadbcm5719-llvm-8571aa3d5d9302c119541f0b56205f6a4ad33ca2.tar.gz
bcm5719-llvm-8571aa3d5d9302c119541f0b56205f6a4ad33ca2.zip
Simplify handling of hidden stubs on PowerPC.
We now handle them just like non hidden ones. This was already the case on x86 (r207518) and arm (r207517). llvm-svn: 270205
Diffstat (limited to 'llvm/test/CodeGen')
-rw-r--r--llvm/test/CodeGen/PowerPC/indirect-hidden.ll8
1 files changed, 3 insertions, 5 deletions
diff --git a/llvm/test/CodeGen/PowerPC/indirect-hidden.ll b/llvm/test/CodeGen/PowerPC/indirect-hidden.ll
index eba46c2fa7f..5ef8b6df4b0 100644
--- a/llvm/test/CodeGen/PowerPC/indirect-hidden.ll
+++ b/llvm/test/CodeGen/PowerPC/indirect-hidden.ll
@@ -13,11 +13,9 @@ define i32* @get_b() {
; CHECK: .section __DATA,__nl_symbol_ptr,non_lazy_symbol_pointers
; CHECK-NEXT: .p2align 2
+; CHECK-NEXT: L_a$non_lazy_ptr:
+; CHECK-NEXT: .indirect_symbol _a
+; CHECK-NEXT: .long 0
; CHECK-NEXT: L_b$non_lazy_ptr:
; CHECK-NEXT: .indirect_symbol _b
; CHECK-NEXT: .long 0
-
-; CHECK: .section __DATA,__data
-; CHECK-NEXT: .p2align 2
-; CHECK-NEXT: L_a$non_lazy_ptr:
-; CHECK-NEXT: .long _a
OpenPOWER on IntegriCloud