summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Mips/2010-07-20-Switch.ll
diff options
context:
space:
mode:
authorDaniel Sanders <daniel.sanders@imgtec.com>2016-07-19 10:49:03 +0000
committerDaniel Sanders <daniel.sanders@imgtec.com>2016-07-19 10:49:03 +0000
commit6a73883c48fbeb43009f3373bbf82e1c70ff96eb (patch)
treeafeb74dee72aed1a8c87b7f91c4123d6bfd4d086 /llvm/test/CodeGen/Mips/2010-07-20-Switch.ll
parent2cb55d7dfdfbc92ce77705f5c31e629bb09b45bb (diff)
downloadbcm5719-llvm-6a73883c48fbeb43009f3373bbf82e1c70ff96eb.tar.gz
bcm5719-llvm-6a73883c48fbeb43009f3373bbf82e1c70ff96eb.zip
[mips] Correct label prefixes for N32 and N64.
Summary: N32 and N64 follow the standard ELF conventions (.L) whereas O32 uses its own ($). This fixes the majority of object differences between -fintegrated-as and -fno-integrated-as. Reviewers: sdardis Subscribers: dsanders, sdardis, llvm-commits Differential Revision: https://reviews.llvm.org/D22412 llvm-svn: 275967
Diffstat (limited to 'llvm/test/CodeGen/Mips/2010-07-20-Switch.ll')
-rw-r--r--llvm/test/CodeGen/Mips/2010-07-20-Switch.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/Mips/2010-07-20-Switch.ll b/llvm/test/CodeGen/Mips/2010-07-20-Switch.ll
index 7d66d1a1a20..5f0a0a5a492 100644
--- a/llvm/test/CodeGen/Mips/2010-07-20-Switch.ll
+++ b/llvm/test/CodeGen/Mips/2010-07-20-Switch.ll
@@ -27,9 +27,9 @@ entry:
; PIC-O32: addu $[[R5:[0-9]+]], $[[R4:[0-9]+]]
; PIC-O32: jr $[[R5]]
; N64: dsll $[[R0:[0-9]+]], ${{[0-9]+}}, 3
-; N64: ld $[[R1:[0-9]+]], %got_page($JTI0_0)
+; N64: ld $[[R1:[0-9]+]], %got_page(.LJTI0_0)
; N64: daddu $[[R2:[0-9]+]], $[[R0:[0-9]+]], $[[R1]]
-; N64: ld $[[R4:[0-9]+]], %got_ofst($JTI0_0)($[[R2]])
+; N64: ld $[[R4:[0-9]+]], %got_ofst(.LJTI0_0)($[[R2]])
; N64: daddu $[[R5:[0-9]+]], $[[R4:[0-9]+]]
; N64: jr $[[R5]]
switch i32 %0, label %bb4 [
@@ -68,7 +68,7 @@ bb5: ; preds = %entry
; PIC-O32: .gpword
; PIC-O32: .gpword
; N64: .p2align 3
-; N64: $JTI0_0:
+; N64: .LJTI0_0:
; N64: .gpdword
; N64: .gpdword
; N64: .gpdword
OpenPOWER on IntegriCloud