summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@mips.com>2012-11-02 21:26:03 +0000
committerAkira Hatanaka <ahatanaka@mips.com>2012-11-02 21:26:03 +0000
commit949f8d890d6127d91daecf5cfefdb85eef1b5673 (patch)
treef854442f4fd8cf480c2524ded65634f0146d8586 /llvm/test
parent2346fcf60cfa72918fbff089f1a91fa1c0284b1e (diff)
downloadbcm5719-llvm-949f8d890d6127d91daecf5cfefdb85eef1b5673.tar.gz
bcm5719-llvm-949f8d890d6127d91daecf5cfefdb85eef1b5673.zip
[mips] Use register number instead of name to print register $AT.
llvm-svn: 167315
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/Mips/largeimm1.ll4
-rw-r--r--llvm/test/CodeGen/Mips/largeimmprinting.ll6
-rw-r--r--llvm/test/CodeGen/Mips/longbranch.ll16
3 files changed, 13 insertions, 13 deletions
diff --git a/llvm/test/CodeGen/Mips/largeimm1.ll b/llvm/test/CodeGen/Mips/largeimm1.ll
index d65cc025d08..1c0f69c5901 100644
--- a/llvm/test/CodeGen/Mips/largeimm1.ll
+++ b/llvm/test/CodeGen/Mips/largeimm1.ll
@@ -1,7 +1,7 @@
; RUN: llc -march=mipsel < %s | FileCheck %s
-; CHECK: lui $at, 49152
-; CHECK: lui $at, 16384
+; CHECK: lui ${{[0-9]+}}, 49152
+; CHECK: lui ${{[0-9]+}}, 16384
define void @f() nounwind {
entry:
%a1 = alloca [1073741824 x i8], align 1
diff --git a/llvm/test/CodeGen/Mips/largeimmprinting.ll b/llvm/test/CodeGen/Mips/largeimmprinting.ll
index 2e548790cd3..5224570eb9a 100644
--- a/llvm/test/CodeGen/Mips/largeimmprinting.ll
+++ b/llvm/test/CodeGen/Mips/largeimmprinting.ll
@@ -6,9 +6,9 @@
define void @f() nounwind {
entry:
-; CHECK: lui $at, 65535
-; CHECK: addiu $at, $at, -16
-; CHECK: addu $sp, $sp, $at
+; CHECK: lui $[[R0:[0-9]+]], 65535
+; CHECK: addiu $[[R0]], $[[R0]], -16
+; CHECK: addu $sp, $sp, $[[R0]]
%agg.tmp = alloca %struct.S1, align 1
%tmp = getelementptr inbounds %struct.S1* %agg.tmp, i32 0, i32 0, i32 0
diff --git a/llvm/test/CodeGen/Mips/longbranch.ll b/llvm/test/CodeGen/Mips/longbranch.ll
index 873b9f14105..1a4f79c191e 100644
--- a/llvm/test/CodeGen/Mips/longbranch.ll
+++ b/llvm/test/CodeGen/Mips/longbranch.ll
@@ -6,15 +6,15 @@
define void @foo1(i32 %s) nounwind {
entry:
; O32: bal
-; O32: lui $at, 0
-; O32: addiu $at, $at, {{[0-9]+}}
-; N64: lui $at, 0
-; N64: daddiu $at, $at, 0
-; N64: dsll $at, $at, 16
-; N64: daddiu $at, $at, 0
+; O32: lui $1, 0
+; O32: addiu $1, $1, {{[0-9]+}}
+; N64: lui $1, 0
+; N64: daddiu $1, $1, 0
+; N64: dsll $1, $1, 16
+; N64: daddiu $1, $1, 0
; N64: bal
-; N64: dsll $at, $at, 16
-; N64: daddiu $at, $at, {{[0-9]+}}
+; N64: dsll $1, $1, 16
+; N64: daddiu $1, $1, {{[0-9]+}}
%tobool = icmp eq i32 %s, 0
br i1 %tobool, label %if.end, label %if.then
OpenPOWER on IntegriCloud